Allocating an IRQ on PCI

2001-01-04 Thread Matthew C. Forman
Hi all, I want to allocate an IRQ for a PCI device driver. Normally this is easy enough, since the BIOS would reserve it for me, then I would just have to bus_alloc_resource and not even care which IRQ line it's using. Thing is, here the BIOS hasn't allocated an IRQ, so I'll need to bus_set_res

AMD PM driver finally there!

2000-12-30 Thread Matthew C. Forman
OK, I've finally got there with the AMD pm/smbus driver. It's now newbus, though this was quite a weird experience. In the end, I found that my BIOS wasn't giving out any I/O resource information for the AMD 756's power management function, hence bus_alloc_resource failed. A bus_set_resource fixe

Allocating I/O port space

2000-12-29 Thread Matthew C. Forman
Hi again all, Well, despite the reception I'm still here, desperately trying to allocate an I/O port range! Still can't get bus_alloc_resource to work, despite doing everything by the book. I have a question. My kernel prints this: amdpm0: at device 7.3 on pci0 ...before amdpm_attach complain

AMD System Management driver and Newbus

2000-12-27 Thread Matthew C. Forman
device_add_child(root_bus, "amdsmb", unit); return (0); } --- Matt - Dr. Matthew C. Forman 3D & Medical Imaging Group, De Montfort University, Leicester, UK. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message