1bb57e940e1958e40d51f2078f50c3a96a9b2d75 |
|
25-Apr-2012 |
Jeff Mahoney <jeffm@suse.com> |
dl2k: Clean up rio_ioctl The dl2k driver's rio_ioctl call has a few issues: - No permissions checking - Implements SIOCGMIIREG and SIOCGMIIREG using the SIOCDEVPRIVATE numbers - Has a few ioctls that may have been used for debugging at one point but have no place in the kernel proper. This patch removes all but the MII ioctls, renumbers them to use the standard ones, and adds the proper permission check for SIOCSMIIREG. We can also get rid of the dl2k-specific struct mii_data in favor of the generic struct mii_ioctl_data. Since we have the phyid on hand, we can add the SIOCGMIIPHY ioctl too. Most of the MII code for the driver could probably be converted to use the generic MII library but I don't have a device to test the results. Reported-by: Stephan Mueller <stephan.mueller@atsec.com> Signed-off-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/ethernet/dlink/dl2k.c
|
78f6a6bd89e9a33e4be1bc61e6990a1172aa396e |
|
21-Aug-2011 |
Francois Romieu <romieu@fr.zoreil.com> |
dl2k: use standard #defines from mii.h. Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
/drivers/net/ethernet/dlink/dl2k.c
|
afc4b13df143122f99a0eb10bfefb216c2806de0 |
|
16-Aug-2011 |
Jiri Pirko <jpirko@redhat.com> |
net: remove use of ndo_set_multicast_list in drivers replace it by ndo_set_rx_mode Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
/drivers/net/ethernet/dlink/dl2k.c
|
3401299a1b9e747cbf7de2cc0c8f6376c3cbe565 |
|
20-May-2011 |
Jeff Kirsher <jeffrey.t.kirsher@intel.com> |
de6*/dl2k/sundance: Move the D-Link drivers Move the D-Link drivers into drivers/net/ethernet/dlink/ and make the necessary Kconfig and Makefile changes. CC: Bjorn Ekwall <bj0rn@blox.se> CC: Donald Becker <becker@scyld.com> CC: Edward Peng <edward_peng@dlink.com.tw> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
/drivers/net/ethernet/dlink/dl2k.c
|