kern/118110: [Patch] msk(4): Make it work on 3rd generation MacBooks
Ed Schouten
ed at fxq.nl
Sun Nov 18 14:20:01 PST 2007
>Number: 118110
>Category: kern
>Synopsis: [Patch] msk(4): Make it work on 3rd generation MacBooks
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Nov 18 22:20:00 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator: Ed Schouten
>Release: FreeBSD 8.0-CURRENT amd64
>Organization:
>Environment:
A new Apple MacBook, running a brand-new -CURRENT.
>Description:
The msk(4) driver doesn't attach on my new Apple MacBook. A PCI ID is
missing. When I add it, I can SSH to my other box and run send-pr to
file this bug! :-)
>How-To-Repeat:
>Fix:
According to various sources (Linux PCI ID's project), the chip in
question is called the 88E8058. This patch adds the needed bits.
--- src/sys/dev/msk/if_msk.c 2007-07-30 04:38:26.000000000 +0200
+++ src/sys/dev/msk/if_msk.c 2007-11-18 23:08:26.000000000 +0100
@@ -203,6 +203,8 @@
"Marvell Yukon 88E8055 Gigabit Ethernet" },
{ VENDORID_MARVELL, DEVICEID_MRVL_4364,
"Marvell Yukon 88E8056 Gigabit Ethernet" },
+ { VENDORID_MARVELL, DEVICEID_MRVL_436A,
+ "Marvell Yukon 88E8058 Gigabit Ethernet" },
{ VENDORID_DLINK, DEVICEID_DLINK_DGE550SX,
"D-Link 550SX Gigabit Ethernet" },
{ VENDORID_DLINK, DEVICEID_DLINK_DGE560T,
--- src/sys/dev/msk/if_mskreg.h 2007-07-06 13:12:48.000000000 +0200
+++ src/sys/dev/msk/if_mskreg.h 2007-11-18 23:08:05.000000000 +0100
@@ -135,6 +135,7 @@
#define DEVICEID_MRVL_4362 0x4362
#define DEVICEID_MRVL_4363 0x4363
#define DEVICEID_MRVL_4364 0x4364
+#define DEVICEID_MRVL_436A 0x436A
/*
* D-Link gigabit ethernet device ID
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list