I build my kernel configs by starting with the LINT kernel and cutting out everything that I don't think I'll need. The GENERIC kernel doesn't have everything one might want so this is really the only way to do it. In the process, I kept the LINT kernel's config line for the parallel port. It didn't probe. Fix: Use the GENERIC kernel's parallel port config line instead
As David Muir Sharnoff wrote: > > > I build my kernel configs by starting with the LINT kernel > and cutting out everything that I don't think I'll need. The > GENERIC kernel doesn't have everything one might want so this > is really the only way to do it. > > In the process, I kept the LINT kernel's config line for the > parallel port. It didn't probe. Hmm, pilot error. j@uriah 72% fgrep LPT3 /sys/i386/isa/* /sys/i386/isa/isa.h:#define IO_LPT3 0x3BC /* Monochome Adapter Printer Port */ What's ``more generic''? The MDA printer port, or the non-MDA default of 0x378? IMHO, this has been chosen since the BIOS does also probe 0x3BC first, and will assign it to LPT1: under DOS if present (so the 0x378 port will become LPT2: then). David, can i close this? Other opinions? -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)
* As David Muir Sharnoff wrote: * > * > * > I build my kernel configs by starting with the LINT kernel * > and cutting out everything that I don't think I'll need. The * > GENERIC kernel doesn't have everything one might want so this * > is really the only way to do it. * > * > In the process, I kept the LINT kernel's config line for the * > parallel port. It didn't probe. * * Hmm, pilot error. * * j@uriah 72% fgrep LPT3 /sys/i386/isa/* * /sys/i386/isa/isa.h:#define IO_LPT3 0x3BC /* Monochome Adapter Printer Port */ * * What's ``more generic''? The MDA printer port, or the non-MDA default * of 0x378? * * IMHO, this has been chosen since the BIOS does also probe 0x3BC first, * and will assign it to LPT1: under DOS if present (so the 0x378 port * will become LPT2: then). * * David, can i close this? Other opinions? If there is some utility in what the LINT kernel does, then I would request that there be comment in there explaining the difference so that other people who build kernel configs from the LINT kernel rather than the (rather stripped) GENERIC kernel don't run into the same problem. Builing from the LINT kernel isn't the right idea. Perhaps the kernel that is on the boot floppy should be a GENERIC.small as opposed to a GENERIC that has all the things that someone sane might want. -Dave
As David Muir Sharnoff wrote: > > If there is some utility in what the LINT kernel does, then I would > request that there be comment in there explaining the > difference so that other people who build kernel configs from the > LINT kernel rather than the (rather stripped) GENERIC kernel > don't run into the same problem. The LINT kernel should probably mention both, the `port?' and the explicit port address variants. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)
As David Muir Sharnoff wrote: > > * IMHO, this has been chosen since the BIOS does also probe 0x3BC first, > * and will assign it to LPT1: under DOS if present (so the 0x378 port > * will become LPT2: then). > * > * David, can i close this? Other opinions? > > If there is some utility in what the LINT kernel does, then I would > request that there be comment in there explaining the > difference so that other people who build kernel configs from the > LINT kernel rather than the (rather stripped) GENERIC kernel > don't run into the same problem. Documented in LINT. I'm going to close the PR now. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)
State Changed From-To: open->closed Comment added in: revision 1.192 date: 1995/08/11 17:18:42; author: joerg; state: Exp; lines: +8 -2 Document two specials of the `lpt' driver: the port address can be specified as `?', and the irq and vector clauses may be omitted, forcing the port into polled mode. of sys/i386/conf/LINT.