On 31-12-07 13:23, Alan Cox wrote: > I dug out the reference drivers. The reference drivers use the delay and > the 8390 datasheet confirms it is neccessary. Great, thanks for that. > The Crynwr driver has some interesting things to say > > | The National 8390 Chip (NIC) requires 4 bus clocks between successive > | chip selects (National DP8390 Data Sheet Addendum, June 1990) Okay, that's pretty specific. Given that these things exist on actual ISA cards and "I/O recovery time" BIOS settings that are availabe also on these old 386s already it's probably still at least somewhat debatable how much linux drivers really need to care even in this case -- but let's ignore that. > Also " To establish a minimum delay, an I/O instruction must be used. A > good rule of ; thumb is that ISA I/O instructions take ~1.0 microseconds > and MCA I/O ; instructions take ~0.5 microseconds. Reading the NMI Status > Register (0x61) ; is a good way to pause on all machines." > > But all the official drivers use pauses and the manual says they are > needed for correct, reliable behaviour - at least with a genuine 8390. Okay. Am about to go stuff my face with new years celebrations but will definitely try to make that old WD8003 hickup. By the way, expected, but before anyone else mentions it -- no, reading from port 0x61 is not a reliable delay today. Duron 1300 / AMD756: rene@7ixe4:~/src/port80$ su -c ./portime out 0x80: 2400 cycles in 0x80: 2400 cycles in 0x61: 2400 cycles But PII 400 / Intel 440BX: rene@6bap:~/port80$ su -c ./portime out 0x80: 545 cycles in 0x80: 254 cycles in 0x61: 254 cycles Rene.