Deleted Added
full compact
if_txp.c (113038) if_txp.c (113506)
1/* $OpenBSD: if_txp.c,v 1.48 2001/06/27 06:34:50 kjc Exp $ */
2
3/*
4 * Copyright (c) 2001
5 * Jason L. Wright <jason@thought.net>, Theo de Raadt, and
6 * Aaron Campbell <aaron@monkey.org>. All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

34 * THE POSSIBILITY OF SUCH DAMAGE.
35 */
36
37/*
38 * Driver for 3c990 (Typhoon) Ethernet ASIC
39 */
40
41#include <sys/cdefs.h>
1/* $OpenBSD: if_txp.c,v 1.48 2001/06/27 06:34:50 kjc Exp $ */
2
3/*
4 * Copyright (c) 2001
5 * Jason L. Wright <jason@thought.net>, Theo de Raadt, and
6 * Aaron Campbell <aaron@monkey.org>. All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

34 * THE POSSIBILITY OF SUCH DAMAGE.
35 */
36
37/*
38 * Driver for 3c990 (Typhoon) Ethernet ASIC
39 */
40
41#include <sys/cdefs.h>
42__FBSDID("$FreeBSD: head/sys/dev/txp/if_txp.c 113038 2003-04-03 21:36:33Z obrien $");
42__FBSDID("$FreeBSD: head/sys/dev/txp/if_txp.c 113506 2003-04-15 06:37:30Z mdodd $");
43
44#include <sys/param.h>
45#include <sys/systm.h>
46#include <sys/sockio.h>
47#include <sys/mbuf.h>
48#include <sys/malloc.h>
49#include <sys/kernel.h>
50#include <sys/socket.h>

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

85#define TXP_USEIOSPACE
86#define __STRICT_ALIGNMENT
87
88#include <dev/txp/if_txpreg.h>
89#include <dev/txp/3c990img.h>
90
91#ifndef lint
92static const char rcsid[] =
43
44#include <sys/param.h>
45#include <sys/systm.h>
46#include <sys/sockio.h>
47#include <sys/mbuf.h>
48#include <sys/malloc.h>
49#include <sys/kernel.h>
50#include <sys/socket.h>

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

85#define TXP_USEIOSPACE
86#define __STRICT_ALIGNMENT
87
88#include <dev/txp/if_txpreg.h>
89#include <dev/txp/3c990img.h>
90
91#ifndef lint
92static const char rcsid[] =
93 "$FreeBSD: head/sys/dev/txp/if_txp.c 113038 2003-04-03 21:36:33Z obrien $";
93 "$FreeBSD: head/sys/dev/txp/if_txp.c 113506 2003-04-15 06:37:30Z mdodd $";
94#endif
95
96/*
97 * Various supported device vendors/types and their names.
98 */
99static struct txp_type txp_devs[] = {
100 { TXP_VENDORID_3COM, TXP_DEVICEID_3CR990_TX_95,
101 "3Com 3cR990-TX-95 Etherlink with 3XP Processor" },

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

177static driver_t txp_driver = {
178 "txp",
179 txp_methods,
180 sizeof(struct txp_softc)
181};
182
183static devclass_t txp_devclass;
184
94#endif
95
96/*
97 * Various supported device vendors/types and their names.
98 */
99static struct txp_type txp_devs[] = {
100 { TXP_VENDORID_3COM, TXP_DEVICEID_3CR990_TX_95,
101 "3Com 3cR990-TX-95 Etherlink with 3XP Processor" },

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

177static driver_t txp_driver = {
178 "txp",
179 txp_methods,
180 sizeof(struct txp_softc)
181};
182
183static devclass_t txp_devclass;
184
185DRIVER_MODULE(if_txp, pci, txp_driver, txp_devclass, 0, 0);
185DRIVER_MODULE(txp, pci, txp_driver, txp_devclass, 0, 0);
186MODULE_DEPEND(txp, pci, 1, 1, 1);
187MODULE_DEPEND(txp, ether, 1, 1, 1);
186
187static int
188txp_probe(dev)
189 device_t dev;
190{
191 struct txp_type *t;
192
193 t = txp_devs;

--- 1717 unchanged lines hidden ---
188
189static int
190txp_probe(dev)
191 device_t dev;
192{
193 struct txp_type *t;
194
195 t = txp_devs;

--- 1717 unchanged lines hidden ---