[LinuxBIOS] #57: libusb host program for PLX NET20DC debug device
Eric W. Biederman
ebiederm at xmission.com
Sun Dec 3 14:11:57 CET 2006
Stefan Reinauer <stepan at coresystems.de> writes:
> * Segher Boessenkool <segher at kernel.crashing.org> [061203 13:42]:
>> 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
> The value's actually something we have been using as a rule of thumb
> while doing outb to port 80. Don't think these are routed to LPC, are
Depends on the destination address. For 0x80 you can be fairly
certain it will be an unacknowledged cycle subtractively decoded
to the slowest bus on the system. Or routed to 32 PCI or the LPC bus
if there is something to actually looking at the value so it is slow.
Since all I need is something that delays for about 50ms 50,000 outb
to port 0x80 looks like a good first approximation, and since it
only happens once it is probably better to just bump that count up
instead of trying to be precise about it and have an accurate timer.
I'm not at all convinced a usb console can be made sufficiently solid
to be useful. But it is at least worth trying so we can clearly say
it doesn't work well.
More information about the coreboot