Subject: Re: am7930 driver revisited...
To: Jonathan Stone <jonathan@DSG.Stanford.EDU>
From: Chris G. Demetriou <firstname.lastname@example.org>
Date: 03/08/1999 16:38:03
Jonathan Stone <jonathan@DSG.Stanford.EDU> writes:
> Also, afaik, the indirect registers may need to be written as two
> separate bytes, and at least the pmax requires some delay between the
> byte accesses (which arent required for the ioasic bus in general).
> Is tthe w16 hook is necessary there anyway, or do we derive a new
> bus in cases like that? urgh.
last i heard, the way to do the right thing there was to provide MD
read and write register hooks (which may in turn use a bus space tag,
or whatever) to insert delays as appropriate?
the example that i'm thinking of is the use of ZS_DELAY and the
read/write register functions in the sparc zs driver, and the use of
special read/write functions in various lance drivers... i'm not sure
anybody'd be willing to call either of those great examples, though.
Chris Demetriou - email@example.com - http://www.netbsd.org/People/Pages/cgd.html
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.