I'm working on just such a driver.  It has layers that communicate with
assumptions about structure alignment.  Moving struct arpcom to the
beginning breaks this, and requires scattered changes throughout.  :-(

Even so I'd rather do it the right way.  Unless, I hear someone else
disagreeing, I'll assume that arpcom must be at the top of softc and write
a problem report against the offending drivers (awi,lnc,pdq,ray).

- Bill Baumann


On Wed, 17 Jul 2002, Garrett Wollman wrote:

> <<On Wed, 17 Jul 2002 10:58:12 -0700 (PDT), Bill Baumann <[EMAIL PROTECTED]> said:
> 
> > Why bother with a if_softc field when the interface and softc pointer are
> > supposed to be the same?  Also, the very old Lance driver (lnc) has this
> > problem.  It makes me wonder how true we are to TCP/IP Illustrated...
> 
> if_softc was added to pacify those who either didn't understand the C
> language, or thought they had a good reason why the softc structure
> had to begin with some other structure than ifnet.
> 
> -GAWollman
> 
> 







To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to