From owner-cvs-all@FreeBSD.ORG Sat Feb 12 00:45:36 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E1E316A50B; Sat, 12 Feb 2005 00:45:36 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD49343D5D; Sat, 12 Feb 2005 00:45:22 +0000 (GMT) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j1C0jMCD029100; Sat, 12 Feb 2005 00:45:22 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j1C0jMvt029099; Sat, 12 Feb 2005 00:45:22 GMT (envelope-from imp) Message-Id: <200502120045.j1C0jMvt029099@repoman.freebsd.org> From: Warner Losh Date: Sat, 12 Feb 2005 00:45:22 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/ed if_ed_pccard.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Feb 2005 00:45:37 -0000 imp 2005-02-12 00:45:22 UTC FreeBSD src repository Modified files: sys/dev/ed if_ed_pccard.c Log: Really old PCMCIA cards stored the MAC address in the attribute memory at some offset. Unlike newer cards, the MAC address wasn't part of the CIS as a specific FUNCE. These older cards were having their MAC address show up as 0:2:4:6:8:a because that's what's in the ROM locations that would be there in a real ne2000. This patch allows one to specify the offset for the MAC address for these cards. Specify one for the IBM Ethernet II card, as it is one that has this problem. One shouldn't specify this unless the MAC address really isn't in the CIS at all. Side note: The novell probe likely shouldn't read the MAC address, and that should be moved to the bus specific attach routine(s), maybe as a convenience function in if_ed_novell.c. My IBM Ethernet II (aka Info Mover) now has a believable MAC address. Revision Changes Path 1.74 +41 -3 src/sys/dev/ed/if_ed_pccard.c