Messages in this thread | | | From | Russell King <> | Subject | Re: ll_rw_blk.c | Date | Sun, 19 Mar 2000 16:20:32 +0000 (GMT) |
| |
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/
| |