Re: [PATCH] AHA152x driver hangs on PCMCIA card eject, kernel2.4.22-pre6

From: David Hinds (
Date: Thu Jul 17 2003 - 12:55:40 EST

On Thu, Jul 17, 2003 at 08:15:39AM -0600, Bhavesh P. Davda wrote:

> > Right - scsi_unregister should not be called on a timer event, instead
> > it needs to kick off a task queue

The removal timers need to be taken out from most *_cs drivers; they
are a holdover from when card removal events were delivered in
interrupt context, and when that was changed to an event handler
thread, drivers were not changed accordingly. The removal routine
should now just be called in-line instead of firing up a timer.

> 2. What happens if there is no physical device hanging off an I/O port
> address? I am guessing, that on an i386 host, the inb returns 0xFF, but am
> not sure what happens on other architectures. I have a question outstanding
> to Intel for this.

On most but not all x86 systems floating ports return 0xff. Checking
for that or other "impossible" register values should be at least
harmless on other architectures.

-- Dave
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

This archive was generated by hypermail 2b29 : Wed Jul 23 2003 - 22:00:30 EST