Followup to: <[EMAIL PROTECTED]> By author: Olivier Galibert <[EMAIL PROTECTED]> In newsgroup: linux.dev.kernel > > What guarantees you that: > 1- No device will respond 0xffff for an address it decodes > 2- No device will crap up on you simply because you've read one > particular address > > If any of these if true for any device out there (I think I have one > in my computer that does the 1/ part in some cases), your code is > unsafe. > It is. There are plenty of devices for which an arbitrary IN is an irrecoverable state transition. -hpa -- <[EMAIL PROTECTED]> at work, <[EMAIL PROTECTED]> in private! "Unix gives you enough rope to shoot yourself in the foot." http://www.zytor.com/~hpa/puzzle.txt - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- About IOs, ISA, PCI, and life (WAS... Benjamin Herrenschmidt
- Re: VGA PCI IO port reservations Richard B. Johnson
- Re: VGA PCI IO port reservations Russell King
- Re: VGA PCI IO port reservations Alan Cox
- Re: VGA PCI IO port reservations Richard B. Johnson
- Re: VGA PCI IO port reservations Russell King
- Re: VGA PCI IO port reservati... Richard B. Johnson
- Re: VGA PCI IO port reser... Russell King
- Re: VGA PCI IO port reser... Richard B. Johnson
- Re: VGA PCI IO port reser... Olivier Galibert
- Re: VGA PCI IO port reser... H. Peter Anvin
- Re: VGA PCI IO port reser... Alan Cox
- Re: VGA PCI IO port reser... Kai Henningsen
- Re: VGA PCI IO port reser... Marcus Sundberg
- Re: VGA PCI IO port reservati... H. Peter Anvin
- Re: VGA PCI IO port reser... Richard B. Johnson
- Re: VGA PCI IO port reservations Brian Gerst
- Re: VGA PCI IO port reservations Russell King
- Re: VGA PCI IO port reservations Jeff Garzik
- Re: VGA PCI IO port reservations H. Peter Anvin
- Re: VGA PCI IO port reservations H. Peter Anvin