From stefan at datenfreihafen.org Sat Aug 2 22:46:10 2008 From: stefan at datenfreihafen.org (Stefan Schmidt) Date: Sun, 3 Aug 2008 00:46:10 +0200 Subject: Driver for the gpr400 PCMCIA smart card reader Message-ID: <20080802224610.GC19526@datenfreihafen.org> Hello. I have this PCMCIA smart card reader sitting on my desk for quite some time now. I found a 2.4 driver for it, some patched version for 2.6 and made myself some changes to catch up with PCMCIA API changes in 2.6.13(?) You can find the stuff here: http://svn.datenfreihafen.org/gpr400/ I was not able to get a datasheet for it, so the 2.4 driver is the only reference for it. If someone is interested, let me know an address and I'll send it over. regards Stefan Schmidt PS: Please keep me in CC, I'm not on the list. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 249 bytes Desc: Digital signature URL: From greg at kroah.com Thu Aug 14 22:19:15 2008 From: greg at kroah.com (Greg KH) Date: Thu, 14 Aug 2008 15:19:15 -0700 Subject: Driver for the gpr400 PCMCIA smart card reader In-Reply-To: <20080802224610.GC19526@datenfreihafen.org> References: <20080802224610.GC19526@datenfreihafen.org> Message-ID: <20080814221915.GJ30057@kroah.com> On Sun, Aug 03, 2008 at 12:46:10AM +0200, Stefan Schmidt wrote: > Hello. > > I have this PCMCIA smart card reader sitting on my desk for quite some time now. > > I found a 2.4 driver for it, some patched version for 2.6 and made myself some > changes to catch up with PCMCIA API changes in 2.6.13(?) > > You can find the stuff here: > > http://svn.datenfreihafen.org/gpr400/ > > I was not able to get a datasheet for it, so the 2.4 driver is the only > reference for it. > > If someone is interested, let me know an address and I'll send it over. Did you get any responses from this? Is it a device that is still manufactured? thanks, greg k-h From stefan at datenfreihafen.org Fri Aug 15 11:40:49 2008 From: stefan at datenfreihafen.org (Stefan Schmidt) Date: Fri, 15 Aug 2008 13:40:49 +0200 Subject: Driver for the gpr400 PCMCIA smart card reader In-Reply-To: <20080814221915.GJ30057@kroah.com> References: <20080802224610.GC19526@datenfreihafen.org> <20080814221915.GJ30057@kroah.com> Message-ID: <20080815114049.GA6664@datenfreihafen.org> Hello. On Thu, 2008-08-14 at 15:19, Greg KH wrote: > On Sun, Aug 03, 2008 at 12:46:10AM +0200, Stefan Schmidt wrote: > > Hello. > > > > I have this PCMCIA smart card reader sitting on my desk for quite some time now. > > > > I found a 2.4 driver for it, some patched version for 2.6 and made myself some > > changes to catch up with PCMCIA API changes in 2.6.13(?) > > > > You can find the stuff here: > > > > http://svn.datenfreihafen.org/gpr400/ > > > > I was not able to get a datasheet for it, so the 2.4 driver is the only > > reference for it. > > > > If someone is interested, let me know an address and I'll send it over. > > Did you get any responses from this? No. > Is it a device that is still manufactured? I can just guess, and my best guess would be that it is not. One site that sells them have them listed as "Condition New, old stock" http://www.microassociates.net/gemplus/gpr-400.html I can't find much other sides selling them either. Perhaps it is just not worth the work to write a working driver for it. If nobody is interested I'm fine with dumping it on ebay or the electronic garbage collection next time. I just remembered that I wanted to write a driver for it a long time already and decided that it will not happen. At least not from my side. regards Stefan Schmidt From leon.woestenberg at gmail.com Mon Aug 25 18:48:05 2008 From: leon.woestenberg at gmail.com (Leon Woestenberg) Date: Mon, 25 Aug 2008 20:48:05 +0200 Subject: Altera's FPGA PCIe chaining DMA example IP core In-Reply-To: References: <20080814222014.GK30057@kroah.com> Message-ID: Hello Greg, could you spend some time giving out a project number for this: On Wed, Aug 20, 2008 at 1:57 AM, Leon Woestenberg wrote: > > regarding my Linux Driver project effort on a reference driver for a > reference PCI Express core: > > On Mon, Aug 18, 2008 at 9:44 PM, Leon Woestenberg > wrote: >> On Fri, Aug 15, 2008 at 12:20 AM, Greg KH wrote: >>> On Mon, Aug 04, 2008 at 12:00:58AM +0200, Leon Woestenberg wrote: >>>> there exist an increasing number of default FPGA IP cores with a >>>> scatter/gather DMA controller, either as a silicon core or >>>> programmable logic core. >>>> ... >> It would be a common ground, or reference driver which is only >> complete in the sense that it can perform scatter/gather DMA from >> small on-FPGA memory to/from host (aka root complex) memory. >> >> If this is OK I would like to perform the project management myself, >> in the worst case it would be a single-person effort, but at least >> it's in the open. >> ... > > I found at least one other developer interested in this, and we are > sharing code already. > > Could I get a project number assigned pls? > Regards, -- Leon From greg at kroah.com Thu Aug 28 03:35:43 2008 From: greg at kroah.com (Greg KH) Date: Wed, 27 Aug 2008 20:35:43 -0700 Subject: Altera's FPGA PCIe chaining DMA example IP core In-Reply-To: References: <20080814222014.GK30057@kroah.com> Message-ID: <20080828033543.GC12131@kroah.com> On Mon, Aug 25, 2008 at 08:48:05PM +0200, Leon Woestenberg wrote: > Hello Greg, > > could you spend some time giving out a project number for this: Sorry for the delay, you have number 0012. If there's anything I can do to help out, please let me know. thanks, greg k-h From leon.woestenberg at gmail.com Thu Aug 28 15:21:08 2008 From: leon.woestenberg at gmail.com (Leon Woestenberg) Date: Thu, 28 Aug 2008 17:21:08 +0200 Subject: Altera's FPGA PCIe chaining DMA example IP core In-Reply-To: <20080828033543.GC12131@kroah.com> References: <20080814222014.GK30057@kroah.com> <20080828033543.GC12131@kroah.com> Message-ID: Hello Greg, all, On Thu, Aug 28, 2008 at 5:35 AM, Greg KH wrote: > On Mon, Aug 25, 2008 at 08:48:05PM +0200, Leon Woestenberg wrote: >> Hello Greg, >> >> could you spend some time giving out a project number for this: > > Sorry for the delay, you have number 0012. > If there's anything I can do to help out, please let me know. > Excellent! Currently we have read and write scatter/gather DMA sort-of working (one-time only, re-init fails), but still to cache-consistent memory and not using any of the scatter/gather interface offered by the kernel. No interrupts are used yet, we poll for completion. Next is fixing the re-issueing new DMAs, then enabling interrupt notification. Then make the SG buffer be of streaming type, and do proper syncing. Using pages mapped in user space is probably last, I think there is a new generic scatter/gather interface in the kernel-works for this? I suspect we may pop some questions about supporting legacy interrupts as well as MSIs, as the PCI core can be configured for either. I'll commence writing a wiki page on this project. Regards, Leon. -- Leon From greg at kroah.com Thu Aug 28 16:36:47 2008 From: greg at kroah.com (Greg KH) Date: Thu, 28 Aug 2008 09:36:47 -0700 Subject: Altera's FPGA PCIe chaining DMA example IP core In-Reply-To: References: <20080814222014.GK30057@kroah.com> <20080828033543.GC12131@kroah.com> Message-ID: <20080828163647.GB18680@kroah.com> On Thu, Aug 28, 2008 at 05:21:08PM +0200, Leon Woestenberg wrote: > Hello Greg, all, > > On Thu, Aug 28, 2008 at 5:35 AM, Greg KH wrote: > > On Mon, Aug 25, 2008 at 08:48:05PM +0200, Leon Woestenberg wrote: > >> Hello Greg, > >> > >> could you spend some time giving out a project number for this: > > > > Sorry for the delay, you have number 0012. > > If there's anything I can do to help out, please let me know. > > > Excellent! > > Currently we have read and write scatter/gather DMA sort-of working > (one-time only, re-init fails), but still to cache-consistent memory > and not using any of the scatter/gather interface offered by the > kernel. > No interrupts are used yet, we poll for completion. Next is fixing the > re-issueing new DMAs, then enabling interrupt notification. Then make > the SG buffer be of streaming type, and do proper syncing. Using pages > mapped in user space is probably last, I think there is a new generic > scatter/gather interface in the kernel-works for this? Yes, I think there is, but you might need to check to be sure. If you have _any_ code that so much as just compiles, send it to me for inclusion in the -staging tree to get some good build testing. thanks, greg k-h