freebsd-dev/sys/dev/smbus
John Baldwin 697218c9b6 - Store the device_t of the smbX device in the softc.
- Store the softc of the device in the 'si_drv1' of the cdev.
- Lookup the softc via 'si_drv1' in cdev methods rather than using the
  minor number as a unit for devclass_get_softc().
- Lookup the device_t via the softc field in cdev methods rather than
  using the minor number as a unit for devclass_get_device().
- Add a mutex to the softc to protect 'sc_opened'.
- Remove D_NEEDGIANT as all the smbus drivers are now MPSAFE and this driver
  is now MPSAFE.
- Remove some checks for NULL softc pointers that can't happen and don't
  bzero the softc during attach.
2008-06-06 18:45:32 +00:00
..
smb.c - Store the device_t of the smbX device in the softc. 2008-06-06 18:45:32 +00:00
smb.h Minor overhaul of SMBus support: 2006-09-11 20:52:41 +00:00
smbconf.c Minor overhaul of SMBus support: 2006-09-11 20:52:41 +00:00
smbconf.h Minor overhaul of SMBus support: 2006-09-11 20:52:41 +00:00
smbus_if.m Minor overhaul of SMBus support: 2006-09-11 20:52:41 +00:00
smbus.c - Revert making bus_generic_add_child() the default for BUS_ADD_CHILD(). 2006-09-11 22:20:37 +00:00
smbus.h Minor overhaul of SMBus support: 2006-09-11 20:52:41 +00:00