jme(4): Correct SIOCSIFCAP ioctl handling
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 14 Mar 2009 02:22:25 +0000 (10:22 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 14 Mar 2009 02:59:23 +0000 (10:59 +0800)
commite4616e94e0d895be10150f3580e7bc8507f1b0c3
treead8baac5abffebf4334ae2d58499952ff4bb1549
parent8434a83ba726c98d8fc3eabccd0daaa08a7b458f
jme(4): Correct SIOCSIFCAP ioctl handling

- Upper layer will always check if_capabilities against ifreq,
  so we don't need to check if_capabilities again.
- When IFCAP_RSS changes, the jme_init() should be called only if
  the interface is running.
- Don't use compile time condition for the code handling IFCAP_RSS.
sys/dev/netif/jme/if_jme.c