35c35
< __FBSDID("$FreeBSD: head/sys/dev/en/if_en_pci.c 150306 2005-09-19 03:10:21Z imp $");
---
> __FBSDID("$FreeBSD: head/sys/dev/en/if_en_pci.c 150712 2005-09-29 14:56:30Z jhb $");
48c48
< __FBSDID("$FreeBSD: head/sys/dev/en/if_en_pci.c 150306 2005-09-19 03:10:21Z imp $");
---
> __FBSDID("$FreeBSD: head/sys/dev/en/if_en_pci.c 150712 2005-09-29 14:56:30Z jhb $");
101c101
< #define PCI_CBMA 0x10
---
> #define PCI_CBMA PCIR_BAR(0)
196d195
< u_long val;
214,216c213
< val = pci_read_config(dev, PCIR_COMMAND, 2);
< val |= (PCIM_CMD_MEMEN|PCIM_CMD_BUSMASTEREN);
< pci_write_config(dev, PCIR_COMMAND, val, 2);
---
> pci_enable_busmaster(dev);
287d283
< if_free(sc->ifp);
< __FBSDID("$FreeBSD: head/sys/dev/en/if_en_pci.c 150306 2005-09-19 03:10:21Z imp $");
---
> __FBSDID("$FreeBSD: head/sys/dev/en/if_en_pci.c 150712 2005-09-29 14:56:30Z jhb $");
48c48
< __FBSDID("$FreeBSD: head/sys/dev/en/if_en_pci.c 150306 2005-09-19 03:10:21Z imp $");
---
> __FBSDID("$FreeBSD: head/sys/dev/en/if_en_pci.c 150712 2005-09-29 14:56:30Z jhb $");
101c101
< #define PCI_CBMA 0x10
---
> #define PCI_CBMA PCIR_BAR(0)
196d195
< u_long val;
214,216c213
< val = pci_read_config(dev, PCIR_COMMAND, 2);
< val |= (PCIM_CMD_MEMEN|PCIM_CMD_BUSMASTEREN);
< pci_write_config(dev, PCIR_COMMAND, val, 2);
---
> pci_enable_busmaster(dev);
287d283
< if_free(sc->ifp);