From nobody@FreeBSD.org  Wed Jun  9 18:05:21 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id C969216A4D2
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  9 Jun 2004 18:05:21 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B15EF43D41
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  9 Jun 2004 18:05:20 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i59I45fD099840
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 9 Jun 2004 18:04:05 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id i59I45su099839;
	Wed, 9 Jun 2004 18:04:05 GMT
	(envelope-from nobody)
Message-Id: <200406091804.i59I45su099839@www.freebsd.org>
Date: Wed, 9 Jun 2004 18:04:05 GMT
From: Alvin Poon <"alvinpoon [at] hotmail [dot] com"@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: PCMCIA: MELCO manufacturer code should be 0x8a01
X-Send-Pr-Version: www-2.3

>Number:         67763
>Category:       kern
>Synopsis:       [pccard] [patch] PCMCIA: MELCO manufacturer code should be 0x8a01
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 09 18:10:22 GMT 2004
>Closed-Date:    Fri Feb 15 05:23:48 UTC 2008
>Last-Modified:  Fri Feb 15 05:23:48 UTC 2008
>Originator:     Alvin Poon
>Release:        5.2.1-RELEASE
>Organization:
>Environment:
FREEBSD 5.2.1-RELEASE GENERIC
>Description:
PCMCIA: The hi- and low-bytes for the vendor MELCO are swapped  (should be manufacturer 0x8a01, product 0xc1ab).

Once the bytes are swapped back and kernel recompiled (with GENERIC), the card gave the incorrect MAC address.

It's running on a Gateway Solo 9300, if that helps...
>How-To-Repeat:

>Fix:
Partially: In the pccarddevs file, fix the MELCO manufacturer code to 0x8a01.
>Release-Note:
>Audit-Trail:

From: Volker <volker@vwsoft.com>
To: bug-followup@FreeBSD.org, 
 "alvinpoon [at] hotmail [dot] com"@FreeBSD.org
Cc:  
Subject: Re: kern/67763: [pccard] [patch] PCMCIA: MELCO manufacturer code
 should be 0x8a01
Date: Thu, 14 Feb 2008 21:45:56 +0100

 This is a multi-part message in MIME format.
 --------------020103080205000600060800
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 
 Following is the fix to the src/sys/dev/pccard/pccarddevs file. I cross
 checked that with the NetBSD sources and found FreeBSD got it really wrong.
 
 Submitter: If you find your card still broken even and not working with
 the driver, we need more information.
 
 --------------020103080205000600060800
 Content-Type: text/x-patch;
  name="pccarddevs.diff"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="pccarddevs.diff"
 
 --- sys/dev/pccard/pccarddevs.orig	2008-02-14 21:39:12.000000000 +0100
 +++ sys/dev/pccard/pccarddevs	2008-02-14 21:39:40.000000000 +0100
 @@ -133,7 +133,7 @@
  vendor COMPAQ2			0x0183	Compaq
  vendor PARALON			0x0183	Paralon Technologies Inc
  vendor KINGSTON			0x0186	Kingston
 -vendor MELCO			0x018a	Melco Corporation
 +vendor MELCO			0x8a01	Melco Corporation
  vendor GLOBALVILLAGE		0x018c	Global Village
  vendor SIERRA			0x0192	Sierra
  vendor DAYNA			0x0194	Dayna Corporation
 
 --------------020103080205000600060800--

From: Volker <volker@vwsoft.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/67763: [pccard] [patch] PCMCIA: MELCO manufacturer code
 should be 0x8a01
Date: Thu, 14 Feb 2008 22:52:34 +0100

 Sorry, the patch I posted is wrong. I've been reminded to have it sorted
 by vendor ID and this time I found the vendor ID already in there (but
 given another vendor name). - do not use my previous patch! -
 
 So this PR can be closed, as the correct vendor is already in pccarddevs.
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Fri Feb 15 05:23:33 UTC 2008 
State-Changed-Why:  
Volker notes that this one is OBE. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=67763 
>Unformatted:
