Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Sep 97 09:36:00 PDT
From:      BRUN Philippe <philippe.brun@eurocontrol.fr>
To:        FREEBSD <freebsd-hackers@freebsd.org>
Subject:   Port an arinc isa bus driver from HP Unix
Message-ID:  <3416CCEB@brteec1>

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 )

During BSD boot the message : ARINC ac00 port $300 Irq 5 panic kvtop zero 
page frame
Who know why ?

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);
}

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?3416CCEB>