if_athn_cardbus.c | 68 pcitag_t csc_tag; member in struct:athn_cardbus_softc 140 csc->csc_tag = ca->ca_tag; 225 if ((rc = cardbus_set_powerstate(ct, csc->csc_tag, PCI_PWR_D0)) != 0) 229 Cardbus_conf_write(ct, csc->csc_tag, ATHN_PCI_MMBA, csc->csc_bar_val); 237 reg = Cardbus_conf_read(ct, csc->csc_tag, PCI_COMMAND_STATUS_REG); 239 Cardbus_conf_write(ct, csc->csc_tag, PCI_COMMAND_STATUS_REG, reg); 246 reg = Cardbus_conf_read(ct, csc->csc_tag, 0x40); 248 Cardbus_conf_write(ct, csc->csc_tag, 0x40, reg & ~0xff00); 251 reg = Cardbus_conf_read(ct, csc->csc_tag, PCI_BHLC_REG); 254 Cardbus_conf_write(ct, csc->csc_tag, PCI_BHLC_REG, reg) [all...] |