[PATCH] if_em comments
Andreas Moeller
moellera at googlemail.com
Wed Jan 24 15:45:43 UTC 2007
Hello,
there are two tiny errors in if_em.c. Sorry for wasting your time. ;-)
--- if_em.c~ 2007-01-24 16:06:15.000000000 +0100
+++ if_em.c 2007-01-24 16:06:53.000000000 +0100
@@ -806,7 +806,7 @@
* XXX
* Since resetting hardware takes a very long time
* and results in link renegotiation we only
- * initialize the hardware only when it is
absolutely
+ * initialize the hardware when it is absolutely
* required.
*/
ifp->if_flags |= IFF_UP;
@@ -2103,7 +2103,7 @@
adapter->hw.hw_addr = (uint8_t
*)&adapter->osdep.mem_bus_space_handle;
if (adapter->hw.mac_type > em_82543) {
- /* Figure our where our IO BAR is ? */
+ /* Figure out where our IO BAR is ? */
for (rid = PCIR_BAR(0); rid < PCIR_CIS;) {
val = pci_read_config(dev, rid, 4);
if (EM_BAR_TYPE(val) == EM_BAR_TYPE_IO) {
More information about the freebsd-current
mailing list