bus_type
busid->bus_type = WSDISPLAYIO_BUS_SOC;
busid->bus_type = WSDISPLAYIO_BUS_SOC;
switch (inquire.reply.bus_type) {
printf("bt_find: illegal bus type %c\n", inquire.reply.bus_type);
u_char bus_type; /* Type of bus connected to */
busid->bus_type = WSDISPLAYIO_BUS_SOC;
busid->bus_type = WSDISPLAYIO_BUS_SOC;
busid->bus_type = WSDISPLAYIO_BUS_SOC;
busid->bus_type = WSDISPLAYIO_BUS_SOC;
busid->bus_type = WSDISPLAYIO_BUS_SOC;
busid->bus_type = WSDISPLAYIO_BUS_SOC;
busid->bus_type = WSDISPLAYIO_BUS_SOC;
busid->bus_type = WSDISPLAYIO_BUS_SOC;
busid->bus_type = WSDISPLAYIO_BUS_SOC;
busid->bus_type = WSDISPLAYIO_BUS_SOC;
busid->bus_type = WSDISPLAYIO_BUS_SOC;
busid->bus_type = WSDISPLAYIO_BUS_SOC;
busid->bus_type = WSDISPLAYIO_BUS_GRFBUS;
typedef enum bus_type bus_type_t;
char bus_type[6];
entry->bus_type);
bus_id, entry->bus_type);
if (memcmp(entry->bus_type, "PCI ", 6) == 0) {
} else if (memcmp(entry->bus_type, "EISA ", 6) == 0) {
} else if (memcmp(entry->bus_type, "ISA ", 6) == 0) {
entry->bus_type);
const char *bus_type[2];
for (i = 0; i < __arraycount(dflt_conf->bus_type); i++) {
if (dflt_conf->bus_type[i] != NULL)
for (i = 0; i < __arraycount(dflt_conf->bus_type); i++) {
if (dflt_conf->bus_type[i] != NULL) {
memcpy(mpb.bus_type, dflt_conf->bus_type[i], 6);
sc->bus_type = ASC_IS_PCI;
busid->bus_type = WSDISPLAYIO_BUS_SOC;
ASCEEP_CONFIG *cfg_buf, u_int16_t bus_type)
if (bus_type & ASC_IS_VL) {
ASCEEP_CONFIG *cfg_buf, u_int16_t bus_type)
if ((n_error = AscSetEEPConfigOnce(iot, ioh, cfg_buf, bus_type)) == 0)
ASCEEP_CONFIG *cfg_buf, u_int16_t bus_type)
if (bus_type & ASC_IS_VL) {
if (!(sc->bus_type & (ASC_IS_VL | ASC_IS_EISA))) {
AscGetChipIRQ(bus_space_tag_t iot, bus_space_handle_t ioh, u_int16_t bus_type)
if (bus_type & ASC_IS_EISA) {
if ((bus_type & ASC_IS_VL) != 0) {
u_int8_t irq_no, u_int16_t bus_type)
if (bus_type & ASC_IS_VL) {
return (AscGetChipIRQ(iot, ioh, bus_type));
if (bus_type & ASC_IS_ISA) {
return (AscGetChipIRQ(iot, ioh, bus_type));
AscGetMaxDmaCount(u_int16_t bus_type)
if (bus_type & ASC_IS_ISA)
else if (bus_type & (ASC_IS_EISA | ASC_IS_VL))
sc->max_dma_count = AscGetMaxDmaCount(sc->bus_type);
if ((sc->bus_type & ASC_IS_PCI) &&
sc->bus_type = ASC_IS_PCI_ULTRA;
if (sc->bus_type == ASC_IS_PCI)
sc->bus_type = ASC_IS_ISAPNP;
if ((sc->bus_type & ASC_IS_ISA) != 0)
chksum = AscGetEEPConfig(iot, ioh, eep_config, sc->bus_type);
if (((sc->bus_type & ASC_IS_PCI_ULTRA) == ASC_IS_PCI_ULTRA)) {
if (sc->bus_type & (ASC_IS_ISA | ASC_IS_VL | ASC_IS_EISA))
sc->irq_no = AscGetChipIRQ(iot, ioh, sc->bus_type);
if (((sc->bus_type & ASC_IS_PCI_ULTRA) == ASC_IS_PCI_ULTRA) &&
AscSetEEPConfig(iot, ioh, eep_config, sc->bus_type);
if ((sc->bus_type & (ASC_IS_ISA | ASC_IS_VL)) != 0) {
AscSetChipIRQ(iot, ioh, sc->irq_no, sc->bus_type);
if (sc->bus_type & ASC_IS_PCI) {
if ((sc->bus_type & ASC_IS_PCI_ULTRA) != ASC_IS_PCI_ULTRA) {
} else if (sc->bus_type == ASC_IS_ISAPNP) {
if (sc->bus_type & ASC_IS_ISA) {
u_int16_t bus_type;
ADW_GET_CHIP_VERSION(sc->sc_iot, sc->sc_ioh, sc->bus_type);
#define ADW_GET_CHIP_VERSION(iot, ioh, bus_type) \
if (inquire.reply.bus_type == BHA_BUS_TYPE_24BIT &&
else if (inquire.reply.bus_type == BHA_BUS_TYPE_32BIT &&
else if (inquire.reply.bus_type == BHA_BUS_TYPE_32BIT &&
switch (inquire.reply.bus_type) {
inquire.reply.bus_type);
u_char bus_type; /* Type of bus connected to */
sc->bus_type = ASC_IS_ISA;
sc->bus_type = ASC_IS_PCI;
busid->bus_type = WSDISPLAYIO_BUS_PCI;
u_int bus_type;