Skip to content

Commit 59ffb30

Browse files
author
Jeff Kirsher
committed
xircom: Move the Xircom driver
Move the Xircom driver into drivers/net/ethernet/xircom/ and make the necessary Kconfig and Makefile changes. CC: <[email protected]> CC: Dominik Brodowski <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
1 parent 37b9375 commit 59ffb30

File tree

7 files changed

+37
-10
lines changed

7 files changed

+37
-10
lines changed

drivers/net/ethernet/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,5 +160,6 @@ source "drivers/net/ethernet/toshiba/Kconfig"
160160
source "drivers/net/ethernet/tundra/Kconfig"
161161
source "drivers/net/ethernet/via/Kconfig"
162162
source "drivers/net/ethernet/xilinx/Kconfig"
163+
source "drivers/net/ethernet/xircom/Kconfig"
163164

164165
endif # ETHERNET

drivers/net/ethernet/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,4 @@ obj-$(CONFIG_NET_VENDOR_TOSHIBA) += toshiba/
6969
obj-$(CONFIG_NET_VENDOR_TUNDRA) += tundra/
7070
obj-$(CONFIG_NET_VENDOR_VIA) += via/
7171
obj-$(CONFIG_NET_VENDOR_XILINX) += xilinx/
72+
obj-$(CONFIG_NET_VENDOR_XIRCOM) += xircom/

drivers/net/ethernet/xircom/Kconfig

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
#
2+
# Xircom network device configuration
3+
#
4+
5+
config NET_VENDOR_XIRCOM
6+
bool "Xircom devices"
7+
depends on PCMCIA
8+
---help---
9+
If you have a network (Ethernet) card belonging to this class, say Y
10+
and read the Ethernet-HOWTO, available from
11+
<http://www.tldp.org/docs.html#howto>.
12+
13+
Note that the answer to this question doesn't directly affect the
14+
kernel: saying N will just cause the configurator to skip all
15+
the questions about Xircom cards. If you say Y, you will be asked for
16+
your specific card in the following questions.
17+
18+
if NET_VENDOR_XIRCOM
19+
20+
config PCMCIA_XIRC2PS
21+
tristate "Xircom 16-bit PCMCIA support"
22+
depends on PCMCIA
23+
---help---
24+
Say Y here if you intend to attach a Xircom 16-bit PCMCIA (PC-card)
25+
Ethernet or Fast Ethernet card to your computer.
26+
27+
To compile this driver as a module, choose M here: the module will be
28+
called xirc2ps_cs. If unsure, say N.
29+
30+
endif # NET_VENDOR_XIRCOM

drivers/net/ethernet/xircom/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#
2+
# Makefile for the Xircom network device drivers.
3+
#
4+
5+
obj-$(CONFIG_PCMCIA_XIRC2PS) += xirc2ps_cs.o

drivers/net/pcmcia/Kconfig

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,6 @@ menuconfig NET_PCMCIA
2121

2222
if NET_PCMCIA && PCMCIA
2323

24-
config PCMCIA_XIRC2PS
25-
tristate "Xircom 16-bit PCMCIA support"
26-
help
27-
Say Y here if you intend to attach a Xircom 16-bit PCMCIA (PC-card)
28-
Ethernet or Fast Ethernet card to your computer.
29-
30-
To compile this driver as a module, choose M here: the module will be
31-
called xirc2ps_cs. If unsure, say N.
32-
3324
config ARCNET_COM20020_CS
3425
tristate "COM20020 ARCnet PCMCIA support"
3526
depends on ARCNET_COM20020

drivers/net/pcmcia/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#
44

55
# 16-bit client drivers
6-
obj-$(CONFIG_PCMCIA_XIRC2PS) += xirc2ps_cs.o
76
obj-$(CONFIG_ARCNET_COM20020_CS)+= com20020_cs.o
87

98
obj-$(CONFIG_PCMCIA_IBMTR) += ibmtr_cs.o

0 commit comments

Comments
 (0)