Subject: Re: Question
To: Lennart Augustsson <augustss@cs.chalmers.se>
From: Todd Vierling <tv@pobox.com>
List: port-alpha
Date: 12/10/1998 12:30:26
On Thu, 10 Dec 1998, Lennart Augustsson wrote:

: > : I think I'm being pretty careful in defining and accessing the data in
: > : those structs.  All fields in the struct have byte size, so I don't
: >                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
: > Then, in essence you want `unsigned char *', not a struct.
: That's an option, but a very appealing one.  Have a look at usb.h
: and tell me what you think.

It's really the way *any* register-based device should be accessed to make
it `truly' MI.  Make an enum with the offsets into the array, and there you
have it.

-- 
-- Todd Vierling (Personal tv@pobox.com; Bus. todd_vierling@xn.xerox.com)