Changing smbus ABI
Michael Gmelin
freebsd at grem.de
Sat Mar 21 12:20:48 UTC 2015
On Sat, 21 Mar 2015 06:01:34 -0600
Warner Losh <imp at bsdimp.com> wrote:
>
> > On Mar 21, 2015, at 5:26 AM, Michael Gmelin <freebsd at grem.de> wrote:
> >
> > I'm planning to change the smbcmd structure in an incompatible way
> > (see 'man smb' and
> > https://reviews.freebsd.org/D1955?id=4055#inline-12187) in HEAD.
> >
> > I'm not aware of any applications relying on this ABI and adding a
> > compatibility wrapper later shouldn't be a big deal either. I would
> > prefer to avoid the additional complexity introduced by such
> > wrapper if it isn't required anyway.
>
> We have compete code for FreeBSD 4.x in the driver now. Don’t know
> why it was added. IIRC, this interface is used by the X server on some
> cards to get data from the smbus that’s behind the video chips, which
> would likely make compat interface almost required.
>
I couldn't smbcmd used anywhere, maybe you could point to the correct
ports.
I checked the sources of x11-drivers/xf86-video* and x11-servers/*
(after running make patch on each port). The only file that uses smb is:
xf86-video-trident/work/xf86-video-trident-1.3.6/src/trident_tv.c
and a couple of pciids mentioning SMBbus, but nothing relying on
FreeBSD's native smbus driver.
- Michael
--
Michael Gmelin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 603 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20150321/99b3f7e9/attachment.sig>
More information about the freebsd-arch
mailing list