lkml.org 
[lkml]   [2000]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectISAPnP and most of drivers should be locking up.
Again,
There is a problem with most of drivers and isapnp -
if card is up and working before isapnp is loaded and then
if isapnp is loaded without isapnp_disable, it changes for example
3c509 card io/irq parameters(3c509 works both ways as large number of
old ISA cards do without jumpering or eeprom setting ) and
then 2.4.0-test5 locks up...

this is a isapnp problem, but otherwise it would be
very nice if all drivers would have check in interrupt handler
like following pseudocode :

if (interruptStatus = 0xffff ) { // for most of IOport drivers it should do the
trick
printk("%s card ejected \n",dev->name ); // most of use is in pcmcia
doWhateverToPreventThisHappeningAgain
disable device hardware interface
disable device software interface
if can reconfigure driver
reconfigure and enable
else goto failure or exit;
}

Even more nice would be to have BUS type ISA and then
isapnp consulting with that and all drivers registering there
and ISA/ISAPNP card identifier database, all like we have
on PCI.



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

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