From owner-freebsd-current Sat Apr 18 14:56:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA09605 for freebsd-current-outgoing; Sat, 18 Apr 1998 14:56:49 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from alexis.videotron.ca (ppp035.101.mmtl.videotron.net [207.253.101.35]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA09597 for ; Sat, 18 Apr 1998 21:56:44 GMT (envelope-from sepotvin@videotron.ca) Received: from videotron.ca (localhost.videotron.ca [127.0.0.1]) by alexis.videotron.ca (8.8.8/8.8.8) with ESMTP id RAA15628 for ; Sat, 18 Apr 1998 17:52:09 -0400 (EDT) (envelope-from sepotvin@videotron.ca) Message-ID: <35392082.ACA5F7C9@videotron.ca> Date: Sat, 18 Apr 1998 17:52:04 -0400 From: "Stephane E. Potvin" Organization: IBM Canada Ltd. X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 3.0-CURRENT i386) MIME-Version: 1.0 To: FreeBSD-current@FreeBSD.ORG Subject: zp driver not probing the MAC address properly Content-Type: multipart/mixed; boundary="------------BE801210807BD09BBB661745" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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