Alan Cox wrote:
+unsigned char inb_pic(unsigned int port)
+{
+ /* delay for some accesses to PIC on motherboard or in chipset must be
+ at least one microsecond, but be safe here. */
+ unsigned char value = inb(port);
+ udelay(2);
+ return value;
+}
inline
> +unsigned char inb_pic(unsigned int port)
> +{
> + /* delay for some accesses to PIC on motherboard or in chipset must be
> +at least one microsecond, but be safe here. */
> + unsigned char value = inb(port);
> + udelay(2);
> + return value;
> +}
inline it. Its almost no
The delay between io port accesses to the PIC is now defined using outb_pic
and inb_pic. This fix provides the next step, using udelay(2) to define the
*PIC specific* timing requirements, rather than on bus-oriented timing, which
is not well calibrated.
Again, the primary reason for fixing this i
3 matches
Mail list logo