https://bugzilla.novell.com/show_bug.cgi?id=359867
User olh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=359867#c7
Olaf Hering changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |REOPENED
Info Provider|olh@novell.com |
--- Comment #7 from Olaf Hering 2008-03-20 05:59:37 MST ---
hwinfo --netcard works with this change:
Index: hwinfo-14.10/src/hd/net.c
===================================================================
--- hwinfo-14.10.orig/src/hd/net.c
+++ hwinfo-14.10/src/hd/net.c
@@ -261,6 +261,7 @@ void hd_scan_net(hd_data_t *hd_data)
/* if one card has several interfaces (as with PS3), check interface
names, too */
if(
+ hd_card &&
hd->unix_dev_name &&
hd_card->unix_dev_name &&
strcmp(hd->unix_dev_name, hd_card->unix_dev_name)
Index: hwinfo-14.10/src/hd/pci.c
===================================================================
--- hwinfo-14.10.orig/src/hd/pci.c
+++ hwinfo-14.10/src/hd/pci.c
@@ -816,7 +816,7 @@ void hd_read_platform(hd_data_t *hd_data
platform_type = canon_str(s, strlen(s));
ADD2LOG(" type = \"%s\"\n", platform_type);
if(
- strcmp(platform_type, "mv643xx_eth") &&
+ strstr(platform_type, "mv643xx_eth") &&
!mv643xx_eth_seen++
) {
add_mv643xx_eth(hd_data, platform_type);
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.