mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-19 11:10:42 +01:00
2006-01-11 Robert Love <rml@novell.com>
* src/nm-device-802-3-ethernet.c: In case local copies of glibc do not define if_mii(), open code the same results, and do so without any type punning. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1320 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
77c10f94b6
commit
df024f3ed8
3 changed files with 8 additions and 2 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2006-01-11 Robert Love <rml@novell.com>
|
||||
|
||||
* src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
|
||||
define if_mii(), open code the same results, and do so without any
|
||||
type punning.
|
||||
|
||||
2006-01-11 Robert Love <rml@novell.com>
|
||||
|
||||
* gnome/applet/wireless-security-manager.c: Fix crash by not asserting
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
AC_PREREQ(2.52)
|
||||
|
||||
AC_INIT(NetworkManager, 0.5.1, dcbw@redhat.com, NetworkManager)
|
||||
AC_INIT(NetworkManager, 0.5.1cvs20060111, dcbw@redhat.com, NetworkManager)
|
||||
AM_INIT_AUTOMAKE([subdir-objects])
|
||||
AM_MAINTAINER_MODE
|
||||
|
||||
|
|
|
|||
|
|
@ -373,7 +373,7 @@ mdio_read (NMDevice8023Ethernet *self, NMSock *sk, struct ifreq *ifr, int locati
|
|||
|
||||
iface = nm_device_get_iface (NM_DEVICE (self));
|
||||
|
||||
mii = if_mii (ifr);
|
||||
mii = (struct mii_ioctl_data *) &ifr->ifr_ifru;
|
||||
mii->reg_num = location;
|
||||
|
||||
#ifdef IOCTL_DEBUG
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue