History log of /netbsd/sys/dev/pci/gtp.c (Results 1 – 20 of 20)
Revision Date Author Comments
# 0e374985 11-Jul-2016 msaitoh <msaitoh@NetBSD.org>

KNF. No functional change.


# 5f819ca3 27-Oct-2012 chs <chs@NetBSD.org>

split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.


# 75fbecf5 30-Jan-2012 drochner <drochner@NetBSD.org>

Use pci_aprint_devinfo(9) instead of pci_devinfo+aprint_{normal,naive}
where it looks straightforward, and pci_aprint_devinfo_fancy in a few
others where drivers want to supply their own device names

Use pci_aprint_devinfo(9) instead of pci_devinfo+aprint_{normal,naive}
where it looks straightforward, and pci_aprint_devinfo_fancy in a few
others where drivers want to supply their own device names instead
of the pcidevs generated one. More complicated cases, where names
are composed at runtime, are left alone for now. It certainly makes
sense to simplify the drivers here rather than inventing a catch-all API.
This should serve as as example for new drivers, and also ensure
consistent output in the AB_QUIET ("boot -q") case. Also, it avoids
excessive stack usage where drivers attach child devices because the
buffer for the device name is not kept on the local stack anymore.

show more ...


# b8169823 12-May-2009 cegger <cegger@NetBSD.org>

use device_private().
"looks good" ad@
XXX for the device_t/softc split, please check the driver that no cases have been missed.


# a591bc88 06-May-2009 cegger <cegger@NetBSD.org>

struct device * -> device_t, no functional changes intended.


# 59717d71 06-May-2009 cegger <cegger@NetBSD.org>

struct cfdata * -> cfdata_t, no functional changes intended.


# a2a38285 19-Oct-2007 ad <ad@NetBSD.org>

machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h


# 168cd830 16-Nov-2006 christos <christos@NetBSD.org>

__unused removal on arguments; approved by core.


# 4d595fd7 12-Oct-2006 christos <christos@NetBSD.org>

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386


# 2be6494f 29-Mar-2006 thorpej <thorpej@NetBSD.org>

Use device_cfdata().


# 95e1ffb1 11-Dec-2005 christos <christos@NetBSD.org>

merge ktrace-lwp.


# d36c43c5 28-Jun-2005 thorpej <thorpej@NetBSD.org>

Use ANSI function decls and static.


# 18f717bb 29-Oct-2004 yamt <yamt@NetBSD.org>

constify audio_hw_if, midi_hw_if, and radio_hw_if.


# 61230437 23-Apr-2004 itojun <itojun@NetBSD.org>

pass string length (= boundary info) to pci_devinfo so that we do not run over
the end of memory region


# 365cbd94 14-Jul-2003 lukem <lukem@NetBSD.org>

add missing __KERNEL_RCSID()


# 7ec10e2d 31-Jan-2003 thorpej <thorpej@NetBSD.org>

Use aprint_*().


# b75a007d 02-Oct-2002 thorpej <thorpej@NetBSD.org>

Add trailing ; to CFATTACH_DECL.


# 387fc6dc 30-Sep-2002 thorpej <thorpej@NetBSD.org>

Use CFATTACH_DECL().


# f818766a 27-Sep-2002 thorpej <thorpej@NetBSD.org>

Declare all cfattach structures const.


# 405cd45f 03-Sep-2002 augustss <augustss@NetBSD.org>

Replace the mr driver with the gtp driver. From OpenBSD.