aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/aac/aac_pci.c
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2008-03-24 19:23:33 +0000
committerEd Maste <emaste@FreeBSD.org>2008-03-24 19:23:33 +0000
commit31a0399e57f126106cf8a854afcdbcc397f57f0b (patch)
treec597de9c0d1710c8270349632fa2ab8235395969 /sys/dev/aac/aac_pci.c
parent3be798ba3a463b1e6ec57ebd5db27131eae0c06b (diff)
downloadsrc-31a0399e57f126106cf8a854afcdbcc397f57f0b.tar.gz
src-31a0399e57f126106cf8a854afcdbcc397f57f0b.zip
Diff reduction to Adaptec's driver (around build 15317): catch up with a
change in debugging routines. The fwprintf macro in the AAC_DEBUG case (mapping to printf) isn't from the Adaptec driver.
Notes
Notes: svn path=/head/; revision=177567
Diffstat (limited to 'sys/dev/aac/aac_pci.c')
-rw-r--r--sys/dev/aac/aac_pci.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/aac/aac_pci.c b/sys/dev/aac/aac_pci.c
index 9fdad54f04ec..50afdc589f9e 100644
--- a/sys/dev/aac/aac_pci.c
+++ b/sys/dev/aac/aac_pci.c
@@ -315,7 +315,7 @@ aac_pci_probe(device_t dev)
{
struct aac_ident *id;
- debug_called(1);
+ fwprintf(NULL, HBA_FLAGS_DBG_FUNCTION_ENTRY_B, "");
if ((id = aac_find_ident(dev)) != NULL) {
device_set_desc(dev, id->desc);
@@ -335,7 +335,7 @@ aac_pci_attach(device_t dev)
int error;
u_int32_t command;
- debug_called(1);
+ fwprintf(NULL, HBA_FLAGS_DBG_FUNCTION_ENTRY_B, "");
/*
* Initialise softc.
@@ -410,19 +410,19 @@ aac_pci_attach(device_t dev)
sc->aac_hwif = id->hwif;
switch(sc->aac_hwif) {
case AAC_HWIF_I960RX:
- debug(2, "set hardware up for i960Rx");
+ fwprintf(sc, HBA_FLAGS_DBG_INIT_B, "set hardware up for i960Rx");
sc->aac_if = aac_rx_interface;
break;
case AAC_HWIF_STRONGARM:
- debug(2, "set hardware up for StrongARM");
+ fwprintf(sc, HBA_FLAGS_DBG_INIT_B, "set hardware up for StrongARM");
sc->aac_if = aac_sa_interface;
break;
case AAC_HWIF_FALCON:
- debug(2, "set hardware up for Falcon/PPC");
+ fwprintf(sc, HBA_FLAGS_DBG_INIT_B, "set hardware up for Falcon/PPC");
sc->aac_if = aac_fa_interface;
break;
case AAC_HWIF_RKT:
- debug(2, "set hardware up for Rocket/MIPS");
+ fwprintf(sc, HBA_FLAGS_DBG_INIT_B, "set hardware up for Rocket/MIPS");
sc->aac_if = aac_rkt_interface;
break;
default: