Deleted Added
full compact
if_rl.c (111119) if_rl.c (111381)
1/*
2 * Copyright (c) 1997, 1998
3 * Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 114 unchanged lines hidden (view full) ---

123 * can hang the bus. I'm inclined to blame this on crummy design/construction
124 * on the part of RealTek. Memory mapped mode does appear to work on
125 * uniprocessor systems though.
126 */
127#define RL_USEIOSPACE
128
129#include <pci/if_rlreg.h>
130
1/*
2 * Copyright (c) 1997, 1998
3 * Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 114 unchanged lines hidden (view full) ---

123 * can hang the bus. I'm inclined to blame this on crummy design/construction
124 * on the part of RealTek. Memory mapped mode does appear to work on
125 * uniprocessor systems though.
126 */
127#define RL_USEIOSPACE
128
129#include <pci/if_rlreg.h>
130
131__FBSDID("$FreeBSD: head/sys/pci/if_rl.c 111119 2003-02-19 05:47:46Z imp $");
131__FBSDID("$FreeBSD: head/sys/pci/if_rl.c 111381 2003-02-23 23:35:35Z dan $");
132
133/*
134 * Various supported device vendors/types and their names.
135 */
136static struct rl_type rl_devs[] = {
137 { RT_VENDORID, RT_DEVICEID_8129,
138 "RealTek 8129 10/100BaseTX" },
139 { RT_VENDORID, RT_DEVICEID_8139,

--- 11 unchanged lines hidden (view full) ---

151 { DLINK_VENDORID, DLINK_DEVICEID_690TXD,
152 "D-Link DFE-690TXD 10/100BaseTX" },
153 { NORTEL_VENDORID, ACCTON_DEVICEID_5030,
154 "Nortel Networks 10/100BaseTX" },
155 { COREGA_VENDORID, COREGA_DEVICEID_FETHERCBTXD,
156 "Corega FEther CB-TXD" },
157 { COREGA_VENDORID, COREGA_DEVICEID_FETHERIICBTXD,
158 "Corega FEtherII CB-TXD" },
132
133/*
134 * Various supported device vendors/types and their names.
135 */
136static struct rl_type rl_devs[] = {
137 { RT_VENDORID, RT_DEVICEID_8129,
138 "RealTek 8129 10/100BaseTX" },
139 { RT_VENDORID, RT_DEVICEID_8139,

--- 11 unchanged lines hidden (view full) ---

151 { DLINK_VENDORID, DLINK_DEVICEID_690TXD,
152 "D-Link DFE-690TXD 10/100BaseTX" },
153 { NORTEL_VENDORID, ACCTON_DEVICEID_5030,
154 "Nortel Networks 10/100BaseTX" },
155 { COREGA_VENDORID, COREGA_DEVICEID_FETHERCBTXD,
156 "Corega FEther CB-TXD" },
157 { COREGA_VENDORID, COREGA_DEVICEID_FETHERIICBTXD,
158 "Corega FEtherII CB-TXD" },
159 { PEPPERCON_VENDORID, PEPPERCON_DEVICEID_ROLF,
160 "Peppercon AG ROL-F" },
159 { 0, 0, NULL }
160};
161
162static int rl_probe (device_t);
163static int rl_attach (device_t);
164static int rl_detach (device_t);
165
166static int rl_encap (struct rl_softc *, struct mbuf * );

--- 1767 unchanged lines hidden ---
161 { 0, 0, NULL }
162};
163
164static int rl_probe (device_t);
165static int rl_attach (device_t);
166static int rl_detach (device_t);
167
168static int rl_encap (struct rl_softc *, struct mbuf * );

--- 1767 unchanged lines hidden ---