Augusto Cesar Radtke writes:
> On Sun, 19 Mar 2000, Russell King wrote:
> > I'd like it see it replaced by a floppy_off() or similar, which the architecture
> > can define for itself. Who says that the floppy that you're using to boot is
> > controled via port 0x3f2 in all cases?
>
> Could a array with the architecture, port, and byte information and a
> generic function a good approach?
No - there is nothing numeric about the architecture, and therefore you can't
use it to get an index into an array.
It's also only a one-time thing, so it should be simple and easy to understand.
_____
|_____| ------------------------------------------------- ---+---+-
| | Russell King rmk@arm.linux.org.uk --- ---
| | | | http://www.arm.linux.org.uk/~rmk/aboutme.html / / |
| +-+-+ --- -+-
/ | THE developer of ARM Linux |+| /|\
/ | | | --- |
+-+-+ ------------------------------------------------- /\\\ |
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:26 EST