From owner-freebsd-questions Tue Sep 9 06:20:45 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id GAA08278 for questions-outgoing; Tue, 9 Sep 1997 06:20:45 -0700 (PDT) Received: from atena.eurocontrol.fr (atena.uneec.eurocontrol.fr [147.196.69.10]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id GAA08186 for ; Tue, 9 Sep 1997 06:19:29 -0700 (PDT) Received: by atena.eurocontrol.fr; (5.65v3.2/1.3/10May95) id AA14461; Tue, 9 Sep 1997 15:19:06 +0200 Message-Id: <3415CC69.72EA@eurocontrol.fr> Date: Tue, 09 Sep 1997 15:23:37 -0700 From: "philippe.brun@eurocontrol.fr" Reply-To: philippe.brun@eurocontrol.fr Organization: EUROCONTROL Experimental Centre X-Mailer: Mozilla 3.01C-EEC (Win16; I) Mime-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: Move Arinc isa HP UNIX driver to FreeBSD Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I would like to port an ISA bus driver from HP Unix (I/O, IRQ and Ram) to FreeBSD. I am using the FreeBSD Device Driver Writer's Guide but I would like some examples and it's documentation to do the porting of this driver and if possible some technical support.( How to ) my probe function : static int aacprobe (struct isa_device *dev) { if (inb(dev->id_iobase) == 0xff) { printf("ARINC unable proceed inb port %x\n", dev->id_iobase); return ( 0 ); } if ( dev->id_msize > ARINC_SHORT_SIZE) { printf("ARINC memory size too large : %d\n", dev->id_msize); return(0); } return(1); } During BSD boot the message : ARINC ac00 port $300 Irq 5 panic kvtop zero page frame Who know why ? Thanks for all the answers and long life to FreeBSD