[patch] fix build wrt ppbus

Ed Schouten ed at 80386.nl
Wed Oct 22 11:00:26 UTC 2008


* Xin LI <delphij at delphij.net> wrote:
> Here is a patch which can (presumbly) fix ppbus build issue...  I don't
> think I'm familiar with the code enough so I'd like to seek review from
> someone else.

I think it's better to abuse si_drv0 to store this data, which is why I
used dev2unit(). In the very far future we could decide to get rid of
make_dev()'s unit number and expose si_drv0 directly to the driver,
which is why I think that approach would be best for now.

-- 
 Ed Schouten <ed at 80386.nl>
 WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20081022/46544bbd/attachment.pgp


More information about the freebsd-current mailing list