[lkml]   [2001]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject2.4.x APM interferes with FA311TX/natsemi.o

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.

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
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:52    [W:0.213 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site