Re: [linux-kernel] Re: [PATCH] x86: provide a DMI based port 0x80 I/O delay override.
- From: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>
- Date: Tue, 8 Jan 2008 18:51:20 +0000
There is no need to use io writes to supposedly/theoretically "unused
ports" to make drivers work on any bus.
The natsemi docs here say otherwise. I trust them not you.
don't remember writing a driver for the 3com devices - probably didn't,
because 3Com's cards were expensive at the time.
3C503 needs delays for some setups according to the docs. I can't tell
you how the 3COM drivers did it as that was a different bit of 3com to
the bit I worked for. From the rest of 3Com I saw probably utterly
vilely ;)
Later 3Com stuff was either sane (3c509 etc) or used whacko intel chips
(3c507/27) which had their own special breed of insanity to replace
address setup delay bugs.
In any case, Linux *did* adopt this port 80 strategy - I'm sure all
concerned thought it was frightfully clever at the time. Linus
expressed his skepticism in the comments in io.h. The problem is to
safely move away from it toward a proper strategy
No. The problem is that certain people, unfortunately those who know
nothing about ISA related bus systems, keep trying to confuse ISA delay
logic with core chip logic and end up trying to solve both a problem and a
non-problem in one, creating a nasty mess in the process.
Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- References:
- Re: [linux-kernel] Re: [PATCH] x86: provide a DMI based port 0x80 I/O delay override.
- From: Ondrej Zary
- Re: [linux-kernel] Re: [PATCH] x86: provide a DMI based port 0x80 I/O delay override.
- From: David P. Reed
- Re: [linux-kernel] Re: [PATCH] x86: provide a DMI based port 0x80 I/O delay override.
- From: Ondrej Zary
- Re: [linux-kernel] Re: [PATCH] x86: provide a DMI based port 0x80 I/O delay override.
- From: David P. Reed
- Re: [linux-kernel] Re: [PATCH] x86: provide a DMI based port 0x80 I/O delay override.
- Prev by Date: Re: [JANITOR PROPOSAL] Switch ioctl functions to ->unlocked_ioctl
- Next by Date: Re: [linux-kernel] Re: [PATCH] x86: provide a DMI based port 0x80 I/O delay override.
- Previous by thread: Re: [linux-kernel] Re: [PATCH] x86: provide a DMI based port 0x80 I/O delay override.
- Next by thread: Re: [linux-kernel] Re: [PATCH] x86: provide a DMI based port 0x80 I/O delay override.
- Index(es):