From owner-freebsd-current Fri Apr 7 13:28:17 2000 Delivered-To: freebsd-current@freebsd.org Received: from zibbi.mikom.csir.co.za (zibbi.mikom.csir.co.za [146.64.24.58]) by hub.freebsd.org (Postfix) with ESMTP id E15DD37B535 for ; Fri, 7 Apr 2000 13:28:10 -0700 (PDT) (envelope-from jhay@zibbi.mikom.csir.co.za) Received: (from jhay@localhost) by zibbi.mikom.csir.co.za (8.9.3/8.9.3) id WAA68056; Fri, 7 Apr 2000 22:27:55 +0200 (SAT) (envelope-from jhay) From: John Hay Message-Id: <200004072027.WAA68056@zibbi.mikom.csir.co.za> Subject: Re: new device/bus stuff In-Reply-To: <38EE15B6.63DECDAD@elischer.org> from Julian Elischer at "Apr 7, 2000 10:07:02 am" To: julian@elischer.org (Julian Elischer) Date: Fri, 7 Apr 2000 22:27:55 +0200 (SAT) Cc: current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Is there a howto on how to convert drivers from the old to new > form? Hmmm, I would be interested too. I would like to convert the if_ar and if_sr drivers, but they are not as straight foward as the "normal" drivers, because a chip can have two channels and a card can have two chips. Or maybe I'm just thinking too complicated about it? > > for example if_sr.c no longer shows up (or is even probed) in > 4.0-stable. I've looked here and there but I can't figure out if there > is some ISA_SHIM option needed (it's not in LINT if so). Oops, I forgot about the if_sr driver. Just change the line struct isa_driver srdriver = {srprobe, srattach_isa, "src"}; to struct isa_driver srdriver = {srprobe, srattach_isa, "sr"}; I'll do it when I remove all the frame relay hooks out of the driver. It has never been used outside SDL and they are not interested in make it available. If anyone want to use frame relay they can use the netgraph stuff. John -- John Hay -- John.Hay@mikom.csir.co.za To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message