Date: Thu, 21 Mar 2002 08:39:28 +0200 (SAT) From: John Hay <jhay@icomtek.csir.co.za> To: doconnor@gsoft.com.au (Daniel O'Connor) Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Decision PCCOM Serial Card Message-ID: <200203210639.g2L6dSv79049@zibbi.icomtek.csir.co.za> In-Reply-To: <1016690352.383.48.camel@chowder.gsoft.com.au> from "Daniel O'Connor" at "Mar 21, 2002 05:29:00 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
> > You might have more luck getting the puc driver to work with this card. > > It is more flexable and meant for these kind of cards. > > > You will still need to figure out how the serial ports are organised on > > the card though. Things like, does each serial port have its own BAR, or > > are both inside one BAR and what the offset is where the ports start. > > You might be able to figure that out from the linux patch though. > > Once you figure those things out, you just add it to pucdata.c, build > > a kernel with the puc device and off you go. :-) > > Hmm.. well I get this far -> > puc0: <PCCOM Serial port> port 0xc400-0xc4ff,0xc000-0xc07f mem 0xd8002000-0xd800207f irq 9 at device 11.0 on pci0 > puc: name: PCCOM Serial port > could not get resource Hmmm. The puc driver won't work with a mem mapped BAR. The sio driver won't like it, so I never tried to make the puc driver able to do mem mapped devices. Hopefully, one of the other BARs (the IO ones) will contain the serial ports. > > Probably just guessed the BAR address wrong I suppose. Can't you get the BAR info from the linux driver? > I made the PUC driver a module, but once I load it and it tried to > attach and errored out I now get.. > mdtest# kldunload puc > kldunload: can't unload file: Device not configured I never tried to make it into a module because I weren't sure what the interaction with the sio driver would be. John -- John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203210639.g2L6dSv79049>