Re: [PATCH] 2.5.32 floppy init and misc fixes

From: Randy.Dunlap (rddunlap@osdl.org)
Date: Sun Sep 01 2002 - 22:51:25 EST


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).

-- 
~Randy

- 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 : Sat Sep 07 2002 - 22:00:15 EST