Date: Sat, 18 Apr 1998 17:52:04 -0400 From: "Stephane E. Potvin" <sepotvin@videotron.ca> To: FreeBSD-current@FreeBSD.ORG Subject: zp driver not probing the MAC address properly Message-ID: <35392082.ACA5F7C9@videotron.ca>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------BE801210807BD09BBB661745
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Can someone please check and commit the following little patch. It
stopped my laptop from dying miserably when enabling the driver.
Thx
/SEP
--------------BE801210807BD09BBB661745
Content-Type: text/plain; charset=us-ascii; name="if_zp.c.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="if_zp.c.diff"
*** if_zp.c	Sat Apr 18 17:37:29 1998
--- if_zp.c.orig	Sat Mar 28 08:24:28 1998
***************
*** 542,548 ****
  		short   tmp_addr[3];
  		int     j;
  		for (j = 0; j < 3; j++) {
! 			tmp_addr[j] = htons(read_eeprom_data(BASE, j));
  		}
  		bcopy(tmp_addr, sc->arpcom.ac_enaddr, 6);
  	}
--- 542,548 ----
  		short   tmp_addr[3];
  		int     j;
  		for (j = 0; j < 3; j++) {
! 			tmp_addr[i] = htons(read_eeprom_data(BASE, j));
  		}
  		bcopy(tmp_addr, sc->arpcom.ac_enaddr, 6);
  	}
--------------BE801210807BD09BBB661745--
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35392082.ACA5F7C9>
