- convert PRVERB to use device_printf()
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 11 Sep 2005 13:03:16 +0000 (13:03 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 11 Sep 2005 13:03:16 +0000 (13:03 +0000)
commitaf77114a05692e28b06fa1c855ed0dd2dc8ef9ad
tree01c89c8e444b1e58d7d45a348ffd8cb2b4756c53
parent3e4c1e764d9da6de5b14231e80f7478f24a49ec7
- convert PRVERB to use device_printf()
- add aha_softc.dev
- push "dev" into aha_alloc() instead of "unit" in order to convert printf() to
  device_printf() in aha_alloc().  change aha_alloc() declaration in ahareg.h
  accordingly
- printf("aha%d str", aha->unit) ==> device_printf(aha->dev, "str")
- in aha_alloc(), aha_free() and aha_attach(), use device_get_unit(aha->dev)
  to get the device unit instead of using aha->unit directly
- remove aha_softc.unit

Submitted-by: Sarunas Vancevicius <svan at redbrick.dcu.ie>
sys/dev/disk/aha/aha.c
sys/dev/disk/aha/aha_isa.c
sys/dev/disk/aha/ahareg.h