From owner-freebsd-hackers Fri Mar 21 15:22:08 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id PAA21720 for hackers-outgoing; Fri, 21 Mar 1997 15:22:08 -0800 (PST) Received: from mail11.digital.com (mail11.digital.com [192.208.46.10]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA21709 for ; Fri, 21 Mar 1997 15:22:03 -0800 (PST) Received: from muggsy.lkg.dec.com by mail11.digital.com (8.7.5/UNX 1.5/1.0/WV) id SAA18622; Fri, 21 Mar 1997 18:13:12 -0500 (EST) Received: from whydos.lkg.dec.com by muggsy.lkg.dec.com (5.65/DEC-Ultrix/4.3) with SMTP id AA01754; Fri, 21 Mar 1997 18:13:09 -0500 Received: from localhost.lkg.dec.com (localhost.lkg.dec.com [127.0.0.1]) by whydos.lkg.dec.com (8.6.12/8.6.12) with SMTP id SAA01355 for ; Fri, 21 Mar 1997 18:23:34 GMT Message-Id: <199703211823.SAA01355@whydos.lkg.dec.com> X-Authentication-Warning: whydos.lkg.dec.com: Host localhost.lkg.dec.com didn't use HELO protocol X-Mailer: exmh version 1.6.5 12/11/95 To: hackers@freebsd.org Subject: New de driver released ... Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 21 Mar 1997 18:23:34 +0000 From: Matt Thomas Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk [I've sent it to dg and will be uploading it to freefall later tonight. Read this message completely. For those people who have cards that just don't work, I'd really like you to try this driver and send me the results.] This is a new, very different, de driver. It's the one in NetBSD and most of the bugs seem to have been shaken out. I've tested with 21040, 21041, SMC9332DST, DE500-AA, DE500-XA, DE500-BA (21143!). This driver requires the if_media support recently added to NetBSD. It is not optional. It took me less that 15 minutes to get a FreeBSD 2.1.0 system with ifmedia running. You need: sys/net/if_media.[ch] (small tweak needed to if_media.h NetBSD uses _KERNEL instead of KERNEL). Add SIOC[GS]IFMEDIA to sys/sys/sockio.h Add struct ifmediareq and ifr_media to ifres in sys/net/if.h Add entry for net/if_media.c to sys/conf/files % uname -a FreeBSD whydos.lkg.dec.com 2.1.0-RELEASE FreeBSD 2.1.0-RELEASE #2: Fri Mar 21 17:14:15 1997 root@:/usr/src/sys/compile/DECFDDI i386 % ifconfig de0 de0: flags=8863 media: autoselect (100baseTX) status: active inet 10.0.0.3 netmask 0xff000000 broadcast 10.255.255.255 This was done by using the ifconfig from NetBSD. No changes where made, just compiled it. Cheers, -- Matt Thomas Internet: matt@3am-software.com 3am Software Foundry WWW URL: http://www.3am-software.com/bio/matt.html Westford, MA Disclaimer: I disavow all knowledge of this message