Adding a PCI device that doesn't exist (yet)

tyson at tyson at
Wed Oct 6 12:34:00 CEST 2004

Hopping in mid-thread here so I may have the context wrong:

I have succeeded at programming the FPGA to create a PCI device after 
the boot process.  I was then able to have the device driver add the 
device to the pci device table and get resources allocated for it and 
get it paired up with the alread loaded device driver.

I did not figure out how to de-allocate/de-register such that I could 
cleanely re-program the FPGA without a re-boot.

Is this relevant?


Jay Miller wrote:
> Thanks for your help.  Certainly that's not ideal, but it may turn out
> to be our only option.
> Currently I'm investigating using proc_pci_attach_device() at the kernel
> level to add the device from the driver module init(post-program), but
> it's not looking promising.
> Thanks,
> Jay Miller
> 781-229-7812x117
> Actuality Systems, Inc.
> jmiller at
> -----Original Message-----
> From: Ronald G. Minnich [mailto:rminnich at] 
> Sent: Wednesday, October 06, 2004 12:23 PM
> To: YhLu
> Cc: Jay Miller; linuxbios at
> Subject: RE: Adding a PCI device that doesn't exist (yet)
> On Tue, 5 Oct 2004, YhLu wrote:
>>Can you for the FPGA programming in the auto.c and issue an soft_reset
> in
> I think this can work with the current mechanisms. You need to have your
> chip programmed pre-pci-scan, and the current config mechanism supports 
> that fine. 
> Is this V1 or V2, I forget.
> ron
> _______________________________________________
> Linuxbios mailing list
> Linuxbios at

Tyson D Sawyer                     iRobot Corporation
Lead Systems Engineer              Government & Industrial Robotics
tsawyer at                 Robots for the Real World
781-345-0200 ext 3329    

More information about the coreboot mailing list