lkml.org 
[lkml]   [2000]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: ll_rw_blk.c
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.083 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site