Re: Kernel 2.4.3 and new aic7xxx

From: Justin T. Gibbs (gibbs@scsiguy.com)
Date: Tue Mar 06 2001 - 15:40:43 EST


>> Can you provide me with a dmesg from a boot with aic7xxx=verbose?
>> I just tested this on a 3940AUW and the behavior was as expected.
>> Perhaps you have a motherboard based controller that has no seeprom?
>> I don't know how to detect flipped channels in that configuration
>> but I'll see what I can find out.
>
>Your driver uses the new PCI probe code, so there is no gaurantee that you'll
>see channel A before channel B.

Unless he's actually hot-plugging the card, I am guarnateed to see both
the A and the B channel prior to actually registering with the SCSI subsystem
and from looking at the PCI probe code, function 0 is always added to the
pci device list before function 1. It is true that my adapter sorting
code assumes that function 0 is seen prior to function 1, but I don't see
(yet) how that assumption is violated. Since getting rid of the assumption
is easy enough, I'll do that. All of the sorting stuff only works for devices
in the system at driver initialization. In the hot plug case, you don't know
that more adapters will show up, so there is no way to defer registration like
you can on initial driver startup.

--
Justin
-
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/



This archive was generated by hypermail 2b29 : Wed Mar 07 2001 - 21:00:20 EST