> After having pretty good success with ASUS M2N*
> boards and seeing that people had the M2N-VM DVI
> board working under solaris, I bought one to use with
> Indiana. I'm now regretting that choice since I have
> been unable to get Indiana to recognize the onboard
> nic.
>
> prtconf -v shows that the device is pci10de,54c. At
> least I find that in the output and that's what
> others using this board have found. I have tried
> using the nge and nfo drivers. Neither one seems to
> be happy with the nic.
>
> update_drv -a -i '"pci10de,54c"' nge
>
> or
> update_drv -a -i '"pci10de,54c"' nfo
>
> will add the driver to /etc/driver_aliases file, but
> gives me the following message
>
> Warning: Driver (nge) successfully added to system
> but failed to attach
IIRC, the nge driver has a list of known supported pci device
ids compiled into it, so it needs minor changes when adding
support for a new id.
A change like this should work:
diff --git a/usr/src/uts/common/io/nge/nge_chip.c
b/usr/src/uts/common/io/nge/nge_chip.c
--- a/usr/src/uts/common/io/nge/nge_chip.c
+++ b/usr/src/uts/common/io/nge/nge_chip.c
@@ -472,6 +472,7 @@ nge_init_dev_spec_param(nge_t *ngep)
dev_param_p->nge_split = NGE_SPLIT_96;
break;
+ case DEVICE_ID_MCP67_54C:
case DEVICE_ID_MCP61_3EE:
case DEVICE_ID_MCP61_3EF:
case DEVICE_ID_MCP51_268:
@@ -1080,7 +1081,8 @@ nge_chip_reset(nge_t *ngep)
ngep->chipinfo.device == DEVICE_ID_MCP55_372 ||
ngep->chipinfo.device == DEVICE_ID_MCP55_373 ||
ngep->chipinfo.device == DEVICE_ID_MCP61_3EE ||
- ngep->chipinfo.device == DEVICE_ID_MCP61_3EF) {
+ ngep->chipinfo.device == DEVICE_ID_MCP61_3EF ||
+ ngep->chipinfo.device == DEVICE_ID_MCP67_54C) {
pm_cntl2.cntl_val = nge_reg_get32(ngep, NGE_PM_CNTL2);
/* bring phy out of coma mode */
diff --git a/usr/src/uts/common/io/nge/nge_chip.h
b/usr/src/uts/common/io/nge/nge_chip.h
--- a/usr/src/uts/common/io/nge/nge_chip.h
+++ b/usr/src/uts/common/io/nge/nge_chip.h
@@ -47,6 +47,7 @@ extern "C" {
#define DEVICE_ID_MCP55_372 0x372
#define DEVICE_ID_MCP61_3EE 0x3ee
#define DEVICE_ID_MCP61_3EF 0x3ef
+#define DEVICE_ID_MCP67_54C 0x54c
#define DEVICE_ID_NF3_E6 0xe6
#define DEVICE_ID_NF3_DF 0xdf
--
This message posted from opensolaris.org
_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss