Commit Graph

9 Commits

Author SHA1 Message Date
thorpej
aa41e9922c More cleanup to i2c autoconfiguration:
- Get all of the drivers onto the new match quality constants.
- Introduce a new helper function, iic_use_direct_match(), that has
  all of the logic for direct-config matching.  If it returns true,
  the driver returns the match result (which may be 0).  If it returns
  false, the driver does indirect-config matching.
- iic_compat_match() now returns a weighted match quality; matches to
  lower-indexed "compatible" device property are more-specific matches,
  and return a better match quality accordingly.
2018-06-16 21:22:13 +00:00
macallan
7dde0073e7 use direct config 2017-09-22 04:07:34 +00:00
uebayasi
8184d5dc03 Don't pull in the whole uvm(9) API to access only PAGE_SIZE and
some other constants.  These are provided by sys/param.h now.
2010-11-13 13:51:57 +00:00
macallan
f675bba464 fix incomplete device_t-ification
Now it works again.
2008-08-01 19:33:07 +00:00
macallan
1da90a4ef8 nuke clause 3 2008-05-08 02:32:48 +00:00
xtraeme
9fbdf1594f device_t/softc split and other related cosmetic changes. 2008-05-04 15:26:29 +00:00
cegger
0e50a9464d use aprint_*_dev and device_xname 2008-04-06 20:25:59 +00:00
macallan
01e17775ae don't include machine/autoconf.h - we don't need it (anymore?) 2007-09-02 01:41:29 +00:00
macallan
5ff56dc685 driver for the SGS 7433 mixer found in some G3 macs 2007-01-17 23:32:10 +00:00