2.5.32 floppy init and misc fixes
Quoted 3 lines · Randy.Dunlap
On Thu, 29 Aug 2002, Mikael Pettersson wrote:
| Floppy has many more problems.
...
Quoted 4 lines
I would add one more: select delay timings are same as in 2.4:
#defineSEL_DLY(2*HZ/100)
but HZ is not the same as in 2.4...
I took a quick glance through floppy.c, and all HZ-dependent delays seem to be in jiffies, so I think they are Ok.
/Mikael
On Sat, 31 Aug 2002, Mikael Pettersson wrote:
| On Thu, 29 Aug 2002 10:30:14 -0700 (PDT), Randy.Dunlap wrote: | >On Thu, 29 Aug 2002, Mikael Pettersson wrote: | > | >| Floppy has many more problems. | ... | > | >I would add one more: select delay timings are same as in 2.4: | >#define SEL_DLY (2*HZ/100) | >but HZ is not the same as in 2.4... | | I took a quick glance through floppy.c, and all HZ-dependent | delays seem to be in jiffies, so I think they are Ok.
I agree except for SEL_DLY as listed above. It divides by 100 (assuming HZ is 100 I believe). Same #define in 2.4.current and 2.5.32, so the value is different in them (with HZ = 1000 in 2.5.32).
Signature · 1 line
~Randy