you could use io delay, one outb uses roughly 1us iirc.
On LPC, yes -- or 0.5us or something like that. On ISA it's a lot faster, on PCI too -- better do 20 or so outb's to be safe. Or use a *real* timer instead, you'll have to abstract this for portability anyway... Segher - 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/
- Follow-Ups:
- Re: [LinuxBIOS] #57: libusb host program for PLX NET20DC debug device
- From: Stefan Reinauer <stepan@coresystems.de>
- Re: [LinuxBIOS] #57: libusb host program for PLX NET20DC debug device
- References:
- RE: [LinuxBIOS] #57: libusb host program for PLX NET20DC debug device
- From: "Lu, Yinghai" <yinghai.lu@amd.com>
- Re: [LinuxBIOS] #57: libusb host program for PLX NET20DC debug device
- From: ebiederm@xmission.com (Eric W. Biederman)
- Re: [LinuxBIOS] #57: libusb host program for PLX NET20DC debug device
- From: yhlu <yinghailu@gmail.com>
- Re: [LinuxBIOS] #57: libusb host program for PLX NET20DC debug device
- From: ebiederm@xmission.com (Eric W. Biederman)
- Re: [LinuxBIOS] #57: libusb host program for PLX NET20DC debug device
- From: Stefan Reinauer <stepan@coresystems.de>
- RE: [LinuxBIOS] #57: libusb host program for PLX NET20DC debug device
- Prev by Date: 2.6.19: ACPI reports AC not present after resume from STD
- Next by Date: Re: [RFC][PATCH] ensure i_ino uniqueness in filesystems without permanent inode numbers (via idr)
- Previous by thread: Re: [LinuxBIOS] #57: libusb host program for PLX NET20DC debug device
- Next by thread: Re: [LinuxBIOS] #57: libusb host program for PLX NET20DC debug device
- Index(es):
![]() |