opnsense-src/sys/dev/ppbus
John Baldwin ae6b868a2a Several cleanups to remove the need for explicit unit numbers and a few
other fixes:
- Add pointers back to device_t objects in softc structures instead
  of storing the unit and using devclass_get_device().
- Add 'lpbb', 'pcf', 'pps', and 'vpo' child devices to every 'ppbus' device
  instead of just the first one.
- Store softc pointers in si_drv1 of character devices instead of
  pulling the unit number from the minor number and using
  devclass_get_softc() and devclass_get_device().
- Store the LP_BYPASS flag in si_drv2 instead of encoding it in the minor
  number.
- Destroy character devices for lpt(4) when detaching the device.
- Use bus_print_child_footer() instead of duplicating it in
  ppbus_print_child() and fix ppbus_print_child()'s return value.
- Remove unused AVM ivar from ppbus.
- Don't store the 'mode' ivar in the ppbus ivars since we always fetch it
  from the parent anyway.
- Try to detach all the child devices before deleting them in
  ppbus_detach().
- Use pause() instead of a tsleep() on a dummy address when polling the
  ppbus.
- Use if_printf() and device_printf() instead of explicit names with unit
  numbers.

Silence on:	current@
2008-10-21 18:30:10 +00:00
..
if_plip.c Several cleanups to remove the need for explicit unit numbers and a few 2008-10-21 18:30:10 +00:00
immio.c Several cleanups to remove the need for explicit unit numbers and a few 2008-10-21 18:30:10 +00:00
lpbb.c Several cleanups to remove the need for explicit unit numbers and a few 2008-10-21 18:30:10 +00:00
lpt.c Several cleanups to remove the need for explicit unit numbers and a few 2008-10-21 18:30:10 +00:00
lpt.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
lptio.h Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
pcfclock.c Several cleanups to remove the need for explicit unit numbers and a few 2008-10-21 18:30:10 +00:00
ppb_1284.c Use __FBSDID(). 2003-08-24 17:55:58 +00:00
ppb_1284.h ppi needs to use a bus method to get this rather than peering inside the 2000-01-14 08:03:15 +00:00
ppb_base.c Several cleanups to remove the need for explicit unit numbers and a few 2008-10-21 18:30:10 +00:00
ppb_msq.c Several cleanups to remove the need for explicit unit numbers and a few 2008-10-21 18:30:10 +00:00
ppb_msq.h Fix instances of macros with improperly parenthasized arguments. 2002-11-09 12:55:07 +00:00
ppbconf.c Several cleanups to remove the need for explicit unit numbers and a few 2008-10-21 18:30:10 +00:00
ppbconf.h Several cleanups to remove the need for explicit unit numbers and a few 2008-10-21 18:30:10 +00:00
ppbio.h Port of ppbus standalone framework to the newbus system. 2000-01-14 00:18:06 +00:00
ppbus_if.m Start each of the license/copyright comments with /*-, minor shuffle of lines 2005-01-06 01:43:34 +00:00
ppi.c Several cleanups to remove the need for explicit unit numbers and a few 2008-10-21 18:30:10 +00:00
ppi.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
pps.c Several cleanups to remove the need for explicit unit numbers and a few 2008-10-21 18:30:10 +00:00
vpo.c Several cleanups to remove the need for explicit unit numbers and a few 2008-10-21 18:30:10 +00:00
vpoio.c Several cleanups to remove the need for explicit unit numbers and a few 2008-10-21 18:30:10 +00:00
vpoio.h Several cleanups to remove the need for explicit unit numbers and a few 2008-10-21 18:30:10 +00:00