Date: Tue, 09 Sep 1997 15:23:37 -0700 From: "philippe.brun@eurocontrol.fr" <philippe.brun@eurocontrol.fr> To: freebsd-questions@FreeBSD.ORG Subject: Move Arinc isa HP UNIX driver to FreeBSD Message-ID: <3415CC69.72EA@eurocontrol.fr>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3415CC69.72EA>
