Re: [linux-kernel] Re: [patch 1/2] x86: define outb_pic and inb_pic to stop using outb_p and inb_p

2008-02-18 Thread David P. Reed
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

Re: [patch 1/2] x86: define outb_pic and inb_pic to stop using outb_p and inb_p

2008-02-18 Thread Alan Cox
> +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