lkml.org 
[lkml]   [2000]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] isa_{read,write}{w,l} fixed
Date
Philipp Rumpf writes:
> So you want to do that for IP too (and all other network protocols) ? Ext2
> (all other file systems) ?

I wasn't saying that. However, I believe that the use of structures to
represent hardware devices is abserd. All datasheets I have ever seen
describe devices as a set of offsets from the start address.

The raw information is numeric. Why go to the pain of converting this to
a compiler-based structure, and then get the compiler to convert it back
to offsets again? It's not like you're using typechecking or any other
features of a structure.
_____
|_____| ------------------------------------------------- ---+---+-
| | 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:56    [W:0.628 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site