if_nge.c (151296) | if_nge.c (151545) |
---|---|
1/*- 2 * Copyright (c) 2001 Wind River Systems 3 * Copyright (c) 1997, 1998, 1999, 2000, 2001 4 * Bill Paul <wpaul@bsdi.com>. All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 18 unchanged lines hidden (view full) --- 27 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 28 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 29 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 30 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 31 * THE POSSIBILITY OF SUCH DAMAGE. 32 */ 33 34#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2001 Wind River Systems 3 * Copyright (c) 1997, 1998, 1999, 2000, 2001 4 * Bill Paul <wpaul@bsdi.com>. All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 18 unchanged lines hidden (view full) --- 27 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 28 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 29 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 30 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 31 * THE POSSIBILITY OF SUCH DAMAGE. 32 */ 33 34#include <sys/cdefs.h> |
35__FBSDID("$FreeBSD: head/sys/dev/nge/if_nge.c 151296 2005-10-13 20:22:07Z jhb $"); | 35__FBSDID("$FreeBSD: head/sys/dev/nge/if_nge.c 151545 2005-10-22 05:06:55Z imp $"); |
36 37/* 38 * National Semiconductor DP83820/DP83821 gigabit ethernet driver 39 * for FreeBSD. Datasheets are available from: 40 * 41 * http://www.national.com/ds/DP/DP83820.pdf 42 * http://www.national.com/ds/DP/DP83821.pdf 43 * --- 84 unchanged lines hidden (view full) --- 128#define NGE_USEIOSPACE 129 130#include <dev/nge/if_ngereg.h> 131 132MODULE_DEPEND(nge, pci, 1, 1, 1); 133MODULE_DEPEND(nge, ether, 1, 1, 1); 134MODULE_DEPEND(nge, miibus, 1, 1, 1); 135 | 36 37/* 38 * National Semiconductor DP83820/DP83821 gigabit ethernet driver 39 * for FreeBSD. Datasheets are available from: 40 * 41 * http://www.national.com/ds/DP/DP83820.pdf 42 * http://www.national.com/ds/DP/DP83821.pdf 43 * --- 84 unchanged lines hidden (view full) --- 128#define NGE_USEIOSPACE 129 130#include <dev/nge/if_ngereg.h> 131 132MODULE_DEPEND(nge, pci, 1, 1, 1); 133MODULE_DEPEND(nge, ether, 1, 1, 1); 134MODULE_DEPEND(nge, miibus, 1, 1, 1); 135 |
136/* "controller miibus0" required. See GENERIC if you get errors here. */ | 136/* "device miibus" required. See GENERIC if you get errors here. */ |
137#include "miibus_if.h" 138 139#define NGE_CSUM_FEATURES (CSUM_IP | CSUM_TCP | CSUM_UDP) 140 141/* 142 * Various supported device vendors/types and their names. 143 */ 144static struct nge_type nge_devs[] = { --- 2036 unchanged lines hidden --- | 137#include "miibus_if.h" 138 139#define NGE_CSUM_FEATURES (CSUM_IP | CSUM_TCP | CSUM_UDP) 140 141/* 142 * Various supported device vendors/types and their names. 143 */ 144static struct nge_type nge_devs[] = { --- 2036 unchanged lines hidden --- |