aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLinas Vepstas <linas@austin.ibm.com>2006-03-28 17:36:23 -0500
committerJeff Garzik <jeff@garzik.org>2006-03-29 17:34:02 -0500
commitbc0e1fc970279c539db1e94dd473acbb193ee473 (patch)
tree77d1cc0970eceebad84b5258b2823797239cbcaf /drivers
parent8a91ed60f58451342a25f3ab4484c7257430aa8e (diff)
[PATCH] Janitor: drivers/net/pcnet32: fix incorrect comments
The comments concerning how the pcnet32 ethernet device driver selects the MAC addr to use are incorrect. A recent patch (in the last 3 months) changed how the code worked, but did not change the comments. Side comment: the new behaviour is good; I've got a pcnet32 card which powers up with garbage in the CSR's, and a good MAC addr in the PROM. Signed-off-by: Linas Vepstas <linas@linas.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/pcnet32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/pcnet32.c b/drivers/net/pcnet32.c
index 9595f74da93f..07c31f19c6ba 100644
--- a/drivers/net/pcnet32.c
+++ b/drivers/net/pcnet32.c
@@ -1167,8 +1167,8 @@ pcnet32_probe1(unsigned long ioaddr, int shared, struct pci_dev *pdev)
1167 * station address PROM at the base address and programmed into the 1167 * station address PROM at the base address and programmed into the
1168 * "Physical Address Registers" CSR12-14. 1168 * "Physical Address Registers" CSR12-14.
1169 * As a precautionary measure, we read the PROM values and complain if 1169 * As a precautionary measure, we read the PROM values and complain if
1170 * they disagree with the CSRs. Either way, we use the CSR values, and 1170 * they disagree with the CSRs. If they miscompare, and the PROM addr
1171 * double check that they are valid. 1171 * is valid, then the PROM addr is used.
1172 */ 1172 */
1173 for (i = 0; i < 3; i++) { 1173 for (i = 0; i < 3; i++) {
1174 unsigned int val; 1174 unsigned int val;