Thanks Ty, that's exactly what we're looking for.  The de-allocation
wouldn't be an issue as we would be re-programming on the reboot anyway.

Did you use the proc_pci_attach_device() mechanism?

Cheers,

Jay Miller
781-229-7812x117
Actuality Systems, Inc.
[EMAIL PROTECTED]


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 06, 2004 1:52 PM
To: Jay Miller
Cc: Ronald G. Minnich; YhLu; [EMAIL PROTECTED]
Subject: Re: Adding a PCI device that doesn't exist (yet)

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?

Cheers!
Ty


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.
> [EMAIL PROTECTED]
> 
> 
> -----Original Message-----
> From: Ronald G. Minnich [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, October 06, 2004 12:23 PM
> To: YhLu
> Cc: Jay Miller; [EMAIL PROTECTED]
> 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
> 
>>auto.c?
> 
> 
> 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
> [EMAIL PROTECTED]
> http://www.clustermatic.org/mailman/listinfo/linuxbios


-- 
Tyson D Sawyer                     iRobot Corporation
Lead Systems Engineer              Government & Industrial Robotics
[EMAIL PROTECTED]                 Robots for the Real World
781-345-0200 ext 3329              http://www.irobot.com

_______________________________________________
Linuxbios mailing list
[EMAIL PROTECTED]
http://www.clustermatic.org/mailman/listinfo/linuxbios

Reply via email to