Deleted Added
full compact
75c75
< __FBSDID("$FreeBSD: head/sys/dev/le/if_le_pci.c 158647 2006-05-16 12:15:39Z ru $");
---
> __FBSDID("$FreeBSD: head/sys/dev/le/if_le_pci.c 158663 2006-05-16 21:04:01Z marius $");
106c106
< #define PCNET_MEMSIZE 16384
---
> #define PCNET_MEMSIZE (32*1024)
149c149
< MODULE_DEPEND(le_DRIVER_NAME, ether, 1, 1, 1);
---
> MODULE_DEPEND(le, ether, 1, 1, 1);
266,267c266,267
< /* Chip is stopped. Set "software style" to 32-bit. */
< le_pci_wrbcr(sc, LE_BCR20, LE_B20_SSTYLE_PCNETPCI2);
---
> /* Chip is stopped. Set software style to ILACC (32-bit). */
> le_pci_wrbcr(sc, LE_BCR20, LE_B20_SSTYLE_ILACC);
289a290,292
> device_set_desc(dev, "AMD PCnet-PCI");
> /* Let pcn(4) win. */
> return (BUS_PROBE_LOW_PRIORITY);
291,292c294,296
< device_set_desc(dev, "AMD PCnet Ethernet");
< return (BUS_PROBE_DEFAULT);
---
> device_set_desc(dev, "AMD PCnet-Home");
> /* Let pcn(4) win. */
> return (BUS_PROBE_LOW_PRIORITY);
334c338
< PAGE_SIZE, 0, /* alignment, boundary */
---
> 1, 0, /* alignment, boundary */
349a354,358
> /*
> * For Am79C970A, Am79C971 and Am79C978 the init block must be 2-byte
> * aligned and the ring descriptors must be 16-byte aligned when using
> * a 32-bit software style.
> */
352c361
< 1, 0, /* alignment, boundary */
---
> 16, 0, /* alignment, boundary */
384a394
> sc->sc_mediastatus = NULL;
414a425,427
> sc->sc_hwinit = NULL;
> sc->sc_hwintr = NULL;
> sc->sc_nocarrier = NULL;
419c432
< device_printf(dev, "cannot attach AM79900\n");
---
> device_printf(dev, "cannot attach Am79900\n");