[siba] make the debug code somewhat useful again.
It's still not configurable by a kernel option; that'll come next. Sponsored by: Palm Springs
This commit is contained in:
parent
af524a9f4b
commit
3c4efeae16
@ -184,6 +184,8 @@ siba_core_attach(struct siba_softc *siba)
|
||||
|
||||
siba->siba_ops = &siba_pci_ops;
|
||||
|
||||
siba->siba_debug = SIBA_DEBUG_SCAN;
|
||||
|
||||
siba_pci_gpio(siba, SIBA_GPIO_CRYSTAL | SIBA_GPIO_PLL, 1);
|
||||
siba_scan(siba);
|
||||
|
||||
@ -332,7 +334,8 @@ siba_scan(struct siba_softc *siba)
|
||||
DPRINTF(siba, SIBA_DEBUG_SCAN,
|
||||
"core %d (%s) found (cc %#xrev %#x vendor %#x)\n",
|
||||
i, siba_core_name(sd->sd_id.sd_device),
|
||||
sd->sd_id.sd_device, sd->sd_id.sd_rev, sd->sd_id.vendor);
|
||||
sd->sd_id.sd_device, sd->sd_id.sd_rev,
|
||||
sd->sd_id.sd_vendor);
|
||||
|
||||
switch (sd->sd_id.sd_device) {
|
||||
case SIBA_DEVID_CHIPCOMMON:
|
||||
|
@ -604,6 +604,7 @@ struct siba_softc {
|
||||
bus_addr_t siba_maddr;
|
||||
bus_size_t siba_msize;
|
||||
uint8_t siba_ncores;
|
||||
uint32_t siba_debug;
|
||||
|
||||
/*
|
||||
* the following variables are only used for siba_bwn bridge.
|
||||
|
Loading…
x
Reference in New Issue
Block a user