summaryrefslogtreecommitdiffstats
path: root/sys/pci
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2004-03-14 07:12:25 +0000
committermdodd <mdodd@FreeBSD.org>2004-03-14 07:12:25 +0000
commit5c1fa8d5da08bb35240d982290838244419adf18 (patch)
tree87e6b83d0a7a379f76cda0a3a657d20a73d4511f /sys/pci
parent116ff68711c74f9d723d845312cba4d261c081df (diff)
downloadFreeBSD-src-5c1fa8d5da08bb35240d982290838244419adf18.zip
FreeBSD-src-5c1fa8d5da08bb35240d982290838244419adf18.tar.gz
Announce ethernet MAC addresss in ether_ifattach().
Diffstat (limited to 'sys/pci')
-rw-r--r--sys/pci/if_dc.c5
-rw-r--r--sys/pci/if_de.c2
-rw-r--r--sys/pci/if_pcn.c6
-rw-r--r--sys/pci/if_rl.c5
-rw-r--r--sys/pci/if_sf.c6
-rw-r--r--sys/pci/if_sis.c5
-rw-r--r--sys/pci/if_sk.c3
-rw-r--r--sys/pci/if_ste.c6
-rw-r--r--sys/pci/if_ti.c6
-rw-r--r--sys/pci/if_tl.c6
-rw-r--r--sys/pci/if_vr.c5
-rw-r--r--sys/pci/if_wb.c5
-rw-r--r--sys/pci/if_xl.c5
13 files changed, 2 insertions, 63 deletions
diff --git a/sys/pci/if_dc.c b/sys/pci/if_dc.c
index ac095cd..84c3019 100644
--- a/sys/pci/if_dc.c
+++ b/sys/pci/if_dc.c
@@ -2152,11 +2152,6 @@ dc_attach(device_t dev)
break;
}
- /*
- * A 21143 or clone chip was detected. Inform the world.
- */
- printf("dc%d: Ethernet address: %6D\n", unit, eaddr, ":");
-
sc->dc_unit = unit;
bcopy(eaddr, &sc->arpcom.ac_enaddr, ETHER_ADDR_LEN);
diff --git a/sys/pci/if_de.c b/sys/pci/if_de.c
index b1ea3c4..c8a4da6 100644
--- a/sys/pci/if_de.c
+++ b/sys/pci/if_de.c
@@ -4784,8 +4784,10 @@ tulip_attach(
sc->tulip_revinfo & 0x0F,
(sc->tulip_features & (TULIP_HAVE_ISVSROM|TULIP_HAVE_OKSROM))
== TULIP_HAVE_ISVSROM ? " (invalid EESPROM checksum)" : "");
+#ifndef __FreeBSD__
printf("%s: address %6D\n",
sc->tulip_xname, sc->tulip_enaddr, ":");
+#endif
#if defined(__alpha__)
/*
diff --git a/sys/pci/if_pcn.c b/sys/pci/if_pcn.c
index 679dbbe..95b6d93 100644
--- a/sys/pci/if_pcn.c
+++ b/sys/pci/if_pcn.c
@@ -580,12 +580,6 @@ pcn_attach(dev)
eaddr[1] = CSR_READ_4(sc, PCN_IO32_APROM01);
bcopy(eaddr, (char *)&sc->arpcom.ac_enaddr, ETHER_ADDR_LEN);
- /*
- * An AMD chip was detected. Inform the world.
- */
- printf("pcn%d: Ethernet address: %6D\n", unit,
- sc->arpcom.ac_enaddr, ":");
-
sc->pcn_unit = unit;
callout_handle_init(&sc->pcn_stat_ch);
diff --git a/sys/pci/if_rl.c b/sys/pci/if_rl.c
index 1c4d98a..b5299f4 100644
--- a/sys/pci/if_rl.c
+++ b/sys/pci/if_rl.c
@@ -999,11 +999,6 @@ rl_attach(dev)
eaddr[(i * 2) + 1] = as[i] >> 8;
}
- /*
- * A RealTek chip was detected. Inform the world.
- */
- printf("rl%d: Ethernet address: %6D\n", unit, eaddr, ":");
-
sc->rl_unit = unit;
bcopy(eaddr, (char *)&sc->arpcom.ac_enaddr, ETHER_ADDR_LEN);
diff --git a/sys/pci/if_sf.c b/sys/pci/if_sf.c
index 3bb3b40..980c577 100644
--- a/sys/pci/if_sf.c
+++ b/sys/pci/if_sf.c
@@ -737,12 +737,6 @@ sf_attach(dev)
sc->arpcom.ac_enaddr[i] =
sf_read_eeprom(sc, SF_EE_NODEADDR + ETHER_ADDR_LEN - i);
- /*
- * An Adaptec chip was detected. Inform the world.
- */
- printf("sf%d: Ethernet address: %6D\n", unit,
- sc->arpcom.ac_enaddr, ":");
-
sc->sf_unit = unit;
/* Allocate the descriptor queues. */
diff --git a/sys/pci/if_sis.c b/sys/pci/if_sis.c
index 2d8a529..bae9905 100644
--- a/sys/pci/if_sis.c
+++ b/sys/pci/if_sis.c
@@ -1234,11 +1234,6 @@ sis_attach(dev)
break;
}
- /*
- * A SiS chip was detected. Inform the world.
- */
- printf("sis%d: Ethernet address: %6D\n", unit, eaddr, ":");
-
sc->sis_unit = unit;
callout_init(&sc->sis_stat_ch, CALLOUT_MPSAFE);
bcopy(eaddr, (char *)&sc->arpcom.ac_enaddr, ETHER_ADDR_LEN);
diff --git a/sys/pci/if_sk.c b/sys/pci/if_sk.c
index 6729791..deb02c1 100644
--- a/sys/pci/if_sk.c
+++ b/sys/pci/if_sk.c
@@ -1382,9 +1382,6 @@ sk_attach(dev)
sc_if->arpcom.ac_enaddr[i] =
sk_win_read_1(sc, SK_MAC0_0 + (port * 8) + i);
- printf("sk%d: Ethernet address: %6D\n",
- sc_if->sk_unit, sc_if->arpcom.ac_enaddr, ":");
-
/*
* Set up RAM buffer addresses. The NIC will have a certain
* amount of SRAM on it, somewhere between 512K and 2MB. We
diff --git a/sys/pci/if_ste.c b/sys/pci/if_ste.c
index 8d25e21..ebaa0bf 100644
--- a/sys/pci/if_ste.c
+++ b/sys/pci/if_ste.c
@@ -1001,12 +1001,6 @@ ste_attach(dev)
goto fail;
}
- /*
- * A Sundance chip was detected. Inform the world.
- */
- printf("ste%d: Ethernet address: %6D\n", unit,
- sc->arpcom.ac_enaddr, ":");
-
sc->ste_unit = unit;
/* Allocate the descriptor queues. */
diff --git a/sys/pci/if_ti.c b/sys/pci/if_ti.c
index d126ef4..46f64ae 100644
--- a/sys/pci/if_ti.c
+++ b/sys/pci/if_ti.c
@@ -2122,12 +2122,6 @@ ti_attach(dev)
goto fail;
}
- /*
- * A Tigon chip was detected. Inform the world.
- */
- printf("ti%d: Ethernet address: %6D\n", unit,
- sc->arpcom.ac_enaddr, ":");
-
/* Allocate the general information block and ring buffers. */
sc->ti_rdata = contigmalloc(sizeof(struct ti_ring_data), M_DEVBUF,
M_NOWAIT, 0, 0xffffffff, PAGE_SIZE, 0);
diff --git a/sys/pci/if_tl.c b/sys/pci/if_tl.c
index f6fcd4c..4188bef 100644
--- a/sys/pci/if_tl.c
+++ b/sys/pci/if_tl.c
@@ -1258,12 +1258,6 @@ tl_attach(dev)
}
}
- /*
- * A ThunderLAN chip was detected. Inform the world.
- */
- device_printf(dev, "Ethernet address: %6D\n",
- sc->arpcom.ac_enaddr, ":");
-
ifp = &sc->arpcom.ac_if;
ifp->if_softc = sc;
if_initname(ifp, device_get_name(dev), device_get_unit(dev));
diff --git a/sys/pci/if_vr.c b/sys/pci/if_vr.c
index 94d4285..72d1b1b 100644
--- a/sys/pci/if_vr.c
+++ b/sys/pci/if_vr.c
@@ -826,11 +826,6 @@ vr_attach(dev)
for (i = 0; i < ETHER_ADDR_LEN; i++)
eaddr[i] = CSR_READ_1(sc, VR_PAR0 + i);
- /*
- * A Rhine chip was detected. Inform the world.
- */
- printf("vr%d: Ethernet address: %6D\n", unit, eaddr, ":");
-
sc->vr_unit = unit;
bcopy(eaddr, (char *)&sc->arpcom.ac_enaddr, ETHER_ADDR_LEN);
diff --git a/sys/pci/if_wb.c b/sys/pci/if_wb.c
index 063e4b5..372c205 100644
--- a/sys/pci/if_wb.c
+++ b/sys/pci/if_wb.c
@@ -892,11 +892,6 @@ wb_attach(dev)
*/
wb_read_eeprom(sc, (caddr_t)&eaddr, 0, 3, 0);
- /*
- * A Winbond chip was detected. Inform the world.
- */
- printf("wb%d: Ethernet address: %6D\n", unit, eaddr, ":");
-
sc->wb_unit = unit;
bcopy(eaddr, (char *)&sc->arpcom.ac_enaddr, ETHER_ADDR_LEN);
diff --git a/sys/pci/if_xl.c b/sys/pci/if_xl.c
index 3076260..939cd20 100644
--- a/sys/pci/if_xl.c
+++ b/sys/pci/if_xl.c
@@ -1480,11 +1480,6 @@ xl_attach(dev)
goto fail;
}
- /*
- * A 3Com chip was detected. Inform the world.
- */
- printf("xl%d: Ethernet address: %6D\n", unit, eaddr, ":");
-
sc->xl_unit = unit;
callout_handle_init(&sc->xl_stat_ch);
bcopy(eaddr, (char *)&sc->arpcom.ac_enaddr, ETHER_ADDR_LEN);
OpenPOWER on IntegriCloud