Bug 39763

Summary: Can't get a correct MAC address for MELCO LPC3-TX
Product: Base System Reporter: Hideyuki KURASHINA <rushani>
Component: confAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.0-CURRENT   
Hardware: Any   
OS: Any   

Description Hideyuki KURASHINA 2002-06-24 08:10:01 UTC
According to the commit log in revision 1.166 of src/etc/defaults/pccard.conf,

  fix MELCO LPC3-TX config
        use ``config auto''
        add ether line

but `ether line' was added in BUFFALO LPC3-CLX, not in BUFFALO LPC3-TX. This
line should be added in MELCO LPC3-TX config.

In current status (both -current and -stable), you will get an incorrect MAC
address When LPC3-TX is inserted like follows:

  ed1: address 01:02:00:ff:xx:xx, type NE2000 (16bit)

If add 'ether 0x1c8' line into the relevant position, you will get a correct
MAC address like follows:

  ed1: address 00:40:26:xx:xx:xx, type NE2000 (16bit)

P.S. I also reported this problem at

  [bsd-nomads:16359]
    http://www.clave.gr.jp/ml/bsd-nomads/200206/msg00034.html (in Japanese)

Fix: 

put

  ether   0x1c8

line into configuration of BUFFALO LPC3-TX.
How-To-Repeat: insert MELCO LPC3-TX into your laptop.
Comment 1 alvin.poon 2004-05-27 19:20:21 UTC
Release: FreeBSD 5.2.1-RELEASE

Description: With two LPC3-TX cards in hand, it was confirmed the hi- and
low-bytes for the vendor MELCO are swapped.  Once the bytes are swapped back
and kernel recompiled (with GENERIC), one card gave the incorrect MAC
address (even with the 'ether' line) and the other hangs the machine
(similar to PCMCIA running out of IRQs).
Comment 2 MIHIRA Sanpei Yoshiro freebsd_committer freebsd_triage 2004-06-05 13:52:37 UTC
State Changed
From-To: open->closed

Commited pccard.conf in 1.268,Thanks