Subject: Re: Separating softc and struct device?
To: None <tech-kern@netbsd.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: tech-kern
Date: 08/29/2007 23:51:16
On Wed, Aug 29, 2007 at 11:09:25PM +0200, Quentin Garnier wrote:
> What is a pain is device_xname.  When I update my tree, most of the long
> time it takes to merge everything is spent on dv_xname related troubles.
> Having device_xname doesn't really help here because when it is used
> currently it's usually through device_xname(&sc->sc_dev), which has to
> change when struct device is split off softc.

Well, the start would be to have sc_dev as pointer in each such softc
and rename the struct device to something less generic. We can start to
convert many drivers piecewise that way.

Joerg