[Prism54-users] Mode tests
Luis R. Rodriguez
mcgrof@ruslug.rutgers.edu
Wed, 17 Dec 2003 12:27:04 -0500 (EST)
Here you go. If you want the same card model name to keep popping up
regardless of the card model apply this patch.
Luis
diff -Naur prism54-cvs20031217/ksrc/isl_ioctl.c prism54-cvs20031217-samename/ksrc/isl_ioctl.c
--- prism54-cvs20031217/ksrc/isl_ioctl.c Wed Dec 17 01:16:38 2003
+++ prism54-cvs20031217-samename/ksrc/isl_ioctl.c Wed Dec 17 12:22:51 2003
@@ -369,7 +369,7 @@
inline int prism54_get_card_model(struct net_device *ndev, char **modelp){
islpci_private *priv;
priv = ndev->priv;
- switch(priv->pdev->subsystem_device) {
+ switch(priv->pdev->device) {
case PCIDEVICE_ISL3877:
*modelp = "PRISM Indigo";
break;