[Zrouter-src-freebsd] [rt2860-in-ral] push by r... at ddteam.net - Remove extra chip selection. on 2012-03-13 21:35 GMT

rt2860-in-ral at googlecode.com rt2860-in-ral at googlecode.com
Tue Mar 13 21:36:00 UTC 2012


Revision: 7737004a08a9
Author:   ray at terran.dlink.ua
Date:     Tue Mar 13 14:35:21 2012
Log:      Remove extra chip selection.
http://code.google.com/p/rt2860-in-ral/source/detail?r=7737004a08a9

Modified:
  /sys/dev/ral/if_ral_pci.c

=======================================
--- /sys/dev/ral/if_ral_pci.c	Tue Mar 13 11:11:15 2012
+++ /sys/dev/ral/if_ral_pci.c	Tue Mar 13 14:35:21 2012
@@ -195,8 +195,6 @@
  	/* enable bus-mastering */
  	pci_enable_busmaster(dev);

-	psc->sc_opns = (pci_get_device(dev) == 0x0201) ? &ral_rt2560_opns :
-	    &ral_rt2661_opns;
  	switch (pci_get_device(dev)) {
  	case 0x0201:
  		psc->sc_opns = &ral_rt2560_opns;


More information about the Zrouter-src-freebsd mailing list