Dear FreeBSD friends, I have sent the following e-mail 3 times before. I believe always to freebsd-hackers, but I'm not sure. I'm running 5.3-RELEASE-p5 and downloaded the source yesterday. I compiled the source and it works great, believe me. My boss is so proud.... But I encounter a minor but annoying problem: <<<this is begin of the old e-mail>>>> I have an additional LPT port: puc0@pci3:13:0: class=0x078000 card=0x00101000 chip=0x98059710 rev=0x01 hdr=0x00 vendor = 'MosChip Semiconductors (Was: Netmos Technology)' device = 'Nm9805 PCI + 1284 Printer Port' class = simple comms I was able to get it work by adding the following to /usr/src/sys/dev/puc/pucdata.c /* Added by Willy@Rompen.nl 06/05/2004 */ /* recommended by john@feith.com */ /* NetMos 0S1P PCI : 0S, 1P */ { "NetMos NM9805 1284 Printer port", { 0x9710, 0x9805, 0, 0 }, { 0xffff, 0xffff, 0, 0 }, { { PUC_PORT_TYPE_LPT, 0x10, 0x00, 0x00 }, }, }, and to enable the puc driver in the kernel of course. Is it possible to add the data to /usr/src/sys/dev/puc/pucdata.c permanently? Thnx a lot, <<<this is end of the old e-mail>>>> This time I will sent it to three mailinglist at the same time, hoping that someone picks it up. I was also looking for the maintainer of the puc driver, but I couldn't figure out how to reach her or him. -- Met vriendelijke groeten, With kind regards, Mit freundlichen Gruessen, De jrus wah, Willy ************************************* W.K. Offermans Eindhoven University of Technology Department of Chemical Engineering Laboratory of Catalysis (SKA) building ST-W 4.27, PO Box 513 5600 MB Eindhoven, Netherlands Tel: +31 40 247 37 81 Fax: +31 40 245 50 54 Home: +31 45 544 49 44 Mobile: +31 653 119 666 e-mail: w.k.offermans@tue.nl http://www.catalysis.nl Powered by .... (__) \\\'',) \/ \ ^ .\._/_) www.FreeBSD.org
I'll stick it in -current later today. Wilko -- Wilko Bulte wilko@FreeBSD.org On Wed, Feb 09, 2005 at 01:08:27PM +0100, Willy Offermans wrote..> Dear FreeBSD friends, > > I have sent the following e-mail 3 times before. I believe always to > freebsd-hackers, but I'm not sure. > > I'm running 5.3-RELEASE-p5 and downloaded the source yesterday. I > compiled the source and it works great, believe me. My boss is so > proud.... > > But I encounter a minor but annoying problem: > > <<<this is begin of the old e-mail>>>> > > I have an additional LPT port: > > puc0@pci3:13:0: class=0x078000 card=0x00101000 chip=0x98059710 rev=0x01 hdr=0x00 > vendor = 'MosChip Semiconductors (Was: Netmos Technology)' > device = 'Nm9805 PCI + 1284 Printer Port' > class = simple comms > > I was able to get it work by adding the following to /usr/src/sys/dev/puc/pucdata.c > > /* Added by Willy@Rompen.nl 06/05/2004 */ > /* recommended by john@feith.com */ > > /* NetMos 0S1P PCI : 0S, 1P */ > { "NetMos NM9805 1284 Printer port", > { 0x9710, 0x9805, 0, 0 }, > { 0xffff, 0xffff, 0, 0 }, > { > { PUC_PORT_TYPE_LPT, 0x10, 0x00, 0x00 }, > }, > }, > > and to enable the puc driver in the kernel of course. > > Is it possible to add the data to /usr/src/sys/dev/puc/pucdata.c permanently? > > Thnx a lot, > > <<<this is end of the old e-mail>>>> > > This time I will sent it to three mailinglist at the same time, hoping > that someone picks it up. I was also looking for the maintainer of the > puc driver, but I couldn't figure out how to reach her or him. > > -- > Met vriendelijke groeten, > With kind regards, > Mit freundlichen Gruessen, > De jrus wah, > > Willy > > ************************************* > W.K. Offermans > Eindhoven University of Technology > Department of Chemical Engineering > Laboratory of Catalysis (SKA) > building ST-W 4.27, PO Box 513 > 5600 MB Eindhoven, Netherlands > Tel: +31 40 247 37 81 > Fax: +31 40 245 50 54 > Home: +31 45 544 49 44 > Mobile: +31 653 119 666 > e-mail: w.k.offermans@tue.nl > http://www.catalysis.nl > > Powered by .... > > (__) > \\\'',) > \/ \ ^ > .\._/_) > > www.FreeBSD.org > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"--- end of quoted text --- -- Wilko Bulte wilko@FreeBSD.org
On Wed, 9 Feb 2005 13:08:27 +0100, Willy Offermans <W.K.Offermans@tue.nl> wrote:> Dear FreeBSD friends, > > I have sent the following e-mail 3 times before. I believe always to > freebsd-hackers, but I'm not sure. >:> I have an additional LPT port: > > puc0@pci3:13:0: class=0x078000 card=0x00101000 chip=0x98059710 rev=0x01 hdr=0x00 > vendor = 'MosChip Semiconductors (Was: Netmos Technology)' > device = 'Nm9805 PCI + 1284 Printer Port' > class = simple comms > > I was able to get it work by adding the following to /usr/src/sys/dev/puc/pucdata.c > > /* Added by Willy@Rompen.nl 06/05/2004 */ > /* recommended by john@feith.com */ > > /* NetMos 0S1P PCI : 0S, 1P */ > { "NetMos NM9805 1284 Printer port", > { 0x9710, 0x9805, 0, 0 }, > { 0xffff, 0xffff, 0, 0 }, > { > { PUC_PORT_TYPE_LPT, 0x10, 0x00, 0x00 }, > }, > }, > > and to enable the puc driver in the kernel of course. > > Is it possible to add the data to /usr/src/sys/dev/puc/pucdata.c permanently? >Just a FYI: When you have an addition to the sources, you need to create a diff between the original file and your modifications: diff -u pucdata.c-orig pucdata.c > pucdata.diff Then use send-pr to submit the update. You may also send a message to freebsd-current or freebsd-stable with the PR number. This way your patch won't get lost in the mailing lists. Then after a week to a month if no-one has commited your patch, post a follow message. Scot