It depends entirely on the device. There's a USB example with the ADC Reference Library, as well as a PCMCIA one. There are several audio examples, also. Since plain old PCI doesn't have any examples, I read the
Writing PCI Drivers doc, among others I searched for in the ADC.
Basically, one has to write it from scratch, since the code structure is quite different from Apple's frameworks. Reference the other ports, certainly, for things like registers and such. There are sometimes notes about hardware bugs and workarounds, too. So, I guess what I'm saying is that when you sit down to port a driver, you should prepare yourself to write the thing from the bottom up. There is no simple method, of which I am aware.
When I am sure I have the foundation of the driver correct, and I have the licensing crap figured out, I'll post what I've done, so others may fill in the gaps if they so choose.
Will