2.4.x APM interferes with FA311TX/natsemi.o

Paul Komarek (komarek@andrew.cmu.edu)
Thu, 26 Apr 2001 00:51:53 -0400 (EDT)


SUMMARY: the APM call
apm_bios_call_simple(APM_FUNC_SET_STATE, 0x100, APM_STATE_READY, &eax)
causes my Netgear FA311TX to enter a sleep mode.

DESCRIPTION:
I am having difficulties with the natsemi.o driver with a Netgear FA311TX.
When the call
apm_bios_call_simple(APM_FUNC_SET_STATE, 0x100, APM_STATE_READY, &eax)
is made, the PMEEN (PME enable) bit in the CCSR register on my FA311
mysteriously changes from 0 to 1, causing the card to stop processing
received packets. This APM call is made when unblanking the screen, for
instance when switching from KD_GRAPHICS to KD_TEXT with the KDSETMODE
ioctl on a virtual terminal.

I've modified this APM call to report the status of the PMEEN bit before
and after the short sequence of assembly statement in
apm_bios_call_simple() is executed. I'm guessing there isn't any
interrupt activity between my "before" and "after" checks. At least the
natsemi.o driver's interrupt handler isn't being called, but I can't vouch
for other interrupt handlers.

I'm more-or-less stuck for what to do next. I'm a complete novice with
the kernel, the PCI bus, APM, or network cards, and this is my first
project. I'd appreciate pointers for what to try next, since I've
received no responses from the driver maintainers Donald Becker, Tjeerd
Mulder, and Jeff Garzik yet.

Please cc me in any responses, as I'm not currently subscribed to the
kernel mailing list. Thanks in advance.

-Paul Komarek

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/