summaryrefslogtreecommitdiffstats
path: root/drivers/net/3c503.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1999-09-28 22:25:29 +0000
committerRalf Baechle <ralf@linux-mips.org>1999-09-28 22:25:29 +0000
commit0ae8dceaebe3659ee0c3352c08125f403e77ebca (patch)
tree5085c389f09da78182b899d19fe1068b619a69dd /drivers/net/3c503.c
parent273767781288c35c9d679e908672b9996cda4c34 (diff)
Merge with 2.3.10.
Diffstat (limited to 'drivers/net/3c503.c')
-rw-r--r--drivers/net/3c503.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/3c503.c b/drivers/net/3c503.c
index 9f922c43e..3c0ada25e 100644
--- a/drivers/net/3c503.c
+++ b/drivers/net/3c503.c
@@ -90,8 +90,8 @@ static void el2_get_8390_hdr(struct device *dev, struct e8390_pkt_hdr *hdr,
If the ethercard isn't found there is an optional probe for
ethercard jumpered to programmed-I/O mode.
*/
-__initfunc(int
-el2_probe(struct device *dev))
+int __init
+el2_probe(struct device *dev)
{
int *addr, addrs[] = { 0xddffe, 0xd9ffe, 0xcdffe, 0xc9ffe, 0};
int base_addr = dev->base_addr;
@@ -125,8 +125,8 @@ el2_probe(struct device *dev))
#ifndef HAVE_DEVLIST
/* Try all of the locations that aren't obviously empty. This touches
a lot of locations, and is much riskier than the code above. */
-__initfunc(int
-el2_pio_probe(struct device *dev))
+int __init
+el2_pio_probe(struct device *dev)
{
int i;
int base_addr = dev ? dev->base_addr : 0;
@@ -151,8 +151,8 @@ el2_pio_probe(struct device *dev))
/* Probe for the Etherlink II card at I/O port base IOADDR,
returning non-zero on success. If found, set the station
address and memory parameters in DEVICE. */
-__initfunc(int
-el2_probe1(struct device *dev, int ioaddr))
+int __init
+el2_probe1(struct device *dev, int ioaddr)
{
int i, iobase_reg, membase_reg, saved_406, wordlength;
static unsigned version_printed = 0;