patch-2.3.19 linux/drivers/net/atp.c
Next file: linux/drivers/net/atp.h
Previous file: linux/drivers/net/arlan.c
Back to the patch index
Back to the overall index
- Lines: 24
- Date:
Sat Oct 2 07:38:27 1999
- Orig file:
v2.3.18/linux/drivers/net/atp.c
- Orig date:
Wed Aug 18 11:36:41 1999
diff -u --recursive --new-file v2.3.18/linux/drivers/net/atp.c linux/drivers/net/atp.c
@@ -184,7 +184,7 @@
/* IRQEN=0, SLCTB=high INITB=high, AUTOFDB=high, STBB=high. */
outb(0x04, ioaddr + PAR_CONTROL);
write_reg_high(ioaddr, CMR1, CMR1h_RESET);
- eeprom_delay(2048);
+ udelay(100);
status = read_nibble(ioaddr, CMR1);
if ((status & 0x78) != 0x08) {
@@ -299,12 +299,12 @@
while (--num_bits >= 0) {
char outval = test_bit(num_bits, &cmd) ? EE_DATA_WRITE : 0;
write_reg_high(ioaddr, PROM_CMD, outval | EE_CLK_LOW);
- eeprom_delay(5);
+ udelay(5);
write_reg_high(ioaddr, PROM_CMD, outval | EE_CLK_HIGH);
eedata_out <<= 1;
if (read_nibble(ioaddr, PROM_DATA) & EE_DATA_READ)
eedata_out++;
- eeprom_delay(5);
+ udelay(5);
}
write_reg_high(ioaddr, PROM_CMD, EE_CLK_LOW & ~EE_CS);
return eedata_out;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)