Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: usbdevices.config



prlw1%cam.ac.uk@localhost (Patrick Welche) writes:

>With the introduction of usbdevices.config, the old procedure of "copy
>GENERIC to NEWCOMPUTER and comment out what isn't needed" doesn't really
>work any more. What's the thinking on The New Way(tm)?

It stopped working for some platforms a long time ago and always
had the problem that you needed to merge changes whenever GENERIC
was augmented.

I am using a different scheme, where the custom config file includes
GENERIC but then overrides things as necessary. E.g.:

----------------------------------------------
include "arch/i386/conf/GENERIC"
ident   "MYCOMPUTER"

no options COMPAT_NOMID
no options COMPAT_09
no options COMPAT_43
options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
options KMEMSTATS

no device at isa
no isapnp
no eisa
no mca

no pseudo-device strip
no pseudo-device vcoda

no file-system CODA

com* at acpi?
fdc* at acpi?
lpt* at acpi?

lm0 at isa? port 0x290 flags 0x0
spdmem* at iic? addr 0x50
----------------------------------------------

That stays the same most of the time, unless GENERIC already includes
the changes you made where e.g. config then complains that a device
already exists or is already not included.

-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index