PCIM_CMD_BUSMASTEREN
cmd |= PCIM_CMD_MEMEN | PCIM_CMD_BUSMASTEREN;
pci_set_command_bit(dev, child, PCIM_CMD_BUSMASTEREN);
pci_clear_command_bit(dev, child, PCIM_CMD_BUSMASTEREN);
if ((command & (PCIM_CMD_PORTEN|PCIM_CMD_BUSMASTEREN))
!= (PCIM_CMD_PORTEN|PCIM_CMD_BUSMASTEREN)) {
command |= PCIM_CMD_PORTEN|PCIM_CMD_BUSMASTEREN;
command |= PCIM_CMD_BUSMASTEREN;
#ifndef PCIM_CMD_BUSMASTEREN
PCIM_CMD_BUSMASTEREN | PCIM_CMD_INVEN;
PCIM_CMD_BUSMASTEREN | PCIM_CMD_MWRICEN;
if (!(cmd & PCIM_CMD_BUSMASTEREN)) {
pci_write_config(dev, PCIR_COMMAND, cmd | PCIM_CMD_BUSMASTEREN, 2);
if ((cmd & PCIM_CMD_BUSMASTEREN) == PCIM_CMD_BUSMASTEREN) {
command |= PCIM_CMD_BUSMASTEREN;
pci_write_config(self, PCIR_COMMAND, u | PCIM_CMD_PERRESPEN | PCIM_CMD_BUSMASTEREN | PCIM_CMD_MEMEN, 1);
if ((cmd & PCIM_CMD_BUSMASTEREN) == 0) {
if ((cmd & PCIM_CMD_BUSMASTEREN) == 0) {
command |= (PCIM_CMD_PORTEN | PCIM_CMD_MEMEN | PCIM_CMD_BUSMASTEREN);
command |= (PCIM_CMD_PORTEN|PCIM_CMD_MEMEN|PCIM_CMD_BUSMASTEREN);
command |= (PCIM_CMD_PORTEN|PCIM_CMD_MEMEN|PCIM_CMD_BUSMASTEREN);
command |= (PCIM_CMD_PORTEN|PCIM_CMD_MEMEN|PCIM_CMD_BUSMASTEREN);
command |= (PCIM_CMD_PORTEN|PCIM_CMD_MEMEN|PCIM_CMD_BUSMASTEREN);
command |= (PCIM_CMD_PORTEN|PCIM_CMD_MEMEN|PCIM_CMD_BUSMASTEREN);
| PCIM_CMD_BUSMASTEREN, 2);
if (!(pci_read_config(dev, PCIR_COMMAND, 2) & PCIM_CMD_BUSMASTEREN)) {
if (!(command & PCIM_CMD_BUSMASTEREN)) {
command |= PCIM_CMD_BUSMASTEREN;
pci_command |= PCIM_CMD_BUSMASTEREN;
PCIM_CMD_MEMEN | PCIM_CMD_BUSMASTEREN, sizeof(char));
command |= PCIM_CMD_BUSMASTEREN;
command |= PCIM_CMD_BUSMASTEREN;
if ((command & PCIM_CMD_BUSMASTEREN) == 0) {
command |= PCIM_CMD_BUSMASTEREN;
command |= PCIM_CMD_BUSMASTEREN;
if (!(command & PCIM_CMD_BUSMASTEREN)) {
command |= PCIM_CMD_BUSMASTEREN;
if ((command & PCIM_CMD_BUSMASTEREN) == 0) {
cmd |= PCIM_CMD_BUSMASTEREN;
cmd |= PCIM_CMD_BUSMASTEREN;
val |= (PCIM_CMD_MEMEN|PCIM_CMD_BUSMASTEREN);