Simplify probe. Removed the DELAY() as it's not needed.
This commit is contained in:
parent
0e76201114
commit
757dab8dcb
|
@ -195,11 +195,9 @@ psmprobe(struct isa_device *dvp)
|
||||||
#endif
|
#endif
|
||||||
psm_poll_status(ioport);
|
psm_poll_status(ioport);
|
||||||
outb(ioport+PSM_CNTRL, PSM_AUX_TEST);
|
outb(ioport+PSM_CNTRL, PSM_AUX_TEST);
|
||||||
#if 0
|
|
||||||
psm_poll_status(ioport);
|
psm_poll_status(ioport);
|
||||||
|
#if 0
|
||||||
outb(ioport+PSM_CNTRL, 0xaa);
|
outb(ioport+PSM_CNTRL, 0xaa);
|
||||||
#else
|
|
||||||
DELAY(1000);
|
|
||||||
#endif
|
#endif
|
||||||
c = inb(ioport+PSM_DATA);
|
c = inb(ioport+PSM_DATA);
|
||||||
if(c & 0x04) {
|
if(c & 0x04) {
|
||||||
|
|
Loading…
Reference in New Issue