[haiku-development] Re: S3 Video Driver
- From: Gerald Zajac <zajacg@xxxxxxxxxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Wed, 05 Mar 2008 18:11:43 -0500
Axel Dörfler wrote:
You would need to use the ISA bus module, and then add ioctl's to your
driver that lets the accelerant use the {write|read}_io_{8|16|32}
functions much like SAVAGE_{GET|SET}_PCI.
In the accelerant, you could then have a handy function that hides the
ioctl() from you again.
I've noticed that both the pci_module_info and the isa_module_info
struct's have {write|read}_io_{8|16|32} functions. Do these functions
have the same functionality with regard to accessing PIO ports or is
using the ISA module preferred? Currently the S3 driver uses the PCI
module for accessing a few PIO ports to enable MMIO for the Virge chips
and seems to work fine.
Best regards,
Gerald
- Follow-Ups:
- [haiku-development] Re: S3 Video Driver
- From: François Revol
- [haiku-development] Re: S3 Video Driver
- From: Axel Dörfler
- References:
- [haiku-development] Re: S3 Video Driver
- From: Axel Dörfler
Other related posts:
- » [haiku-development] S3 Video Driver
- » [haiku-development] Re: S3 Video Driver
- » [haiku-development] Re: S3 Video Driver
- » [haiku-development] Re: S3 Video Driver
- » [haiku-development] Re: S3 Video Driver
- » [haiku-development] Re: S3 Video Driver
- » [haiku-development] Re: S3 Video Driver
- » [haiku-development] Re: S3 Video Driver
- » [haiku-development] Re: S3 Video Driver
- » [haiku-development] Re: S3 Video Driver
- » [haiku-development] Re: S3 Video Driver
- » [haiku-development] Re: S3 Video Driver
- » [haiku-development] Re: S3 Video Driver
- » [haiku-development] S3 Video Driver
- » [haiku-development] Re: S3 Video Driver
- » [haiku-development] Re: S3 Video Driver
- » [haiku-development] Re: S3 Video Driver
- » [haiku-development] Re: S3 Video Driver
- » [haiku-development] Re: S3 Video Driver
- » [haiku-development] Re: S3 Video Driver
- » [haiku-development] Re: S3 Video Driver
- » [haiku-development] Re: S3 Video Driver
- » [haiku-development] Re: S3 Video Driver
- » [haiku-development] Re: S3 Video Driver
- » [haiku-development] Re: S3 Video Driver
- » [haiku-development] Re: S3 Video Driver
- » [haiku-development] Re: S3 Video Driver
- » [haiku-development] Re: S3 Video Driver
- [haiku-development] Re: S3 Video Driver
- From: François Revol
- [haiku-development] Re: S3 Video Driver
- From: Axel Dörfler
- [haiku-development] Re: S3 Video Driver
- From: Axel Dörfler