From owner-cvs-all Tue Dec 11 2:33:27 2001 Delivered-To: cvs-all@freebsd.org Received: from lupinella.troll.no (lupinella.troll.no [213.203.59.59]) by hub.freebsd.org (Postfix) with ESMTP id 06FF237B405; Tue, 11 Dec 2001 02:33:23 -0800 (PST) Received: from breiflabb.troll.no ([213.203.59.91]:18694 "HELO breiflabb" ident: "NO-IDENT-SERVICE[2]") by trolltech.com with SMTP id ; Tue, 11 Dec 2001 11:33:06 +0100 Message-ID: <001d01c1822f$9aec5d60$5b3bcbd5@breiflabb> From: "Erik H. Bakke" To: "Warner Losh" Cc: "Sheldon Hearn" , , References: <010b01c18181$0ac4f9d0$5b3bcbd5@breiflabb> <57846.1007985855@axl.seasidesoftware.co.za> <200112110923.fBB9NYM25866@harmony.village.org> Subject: Re: cvs commit: src/sys/dev/usb usbdevs.h usbdevs_data.h Date: Tue, 11 Dec 2001 11:35:51 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > In message <010b01c18181$0ac4f9d0$5b3bcbd5@breiflabb> "Erik H. Bakke" writes: > : I just submitted pr kern/32671 which works fine on my system. > > Including modules? And in read only kernel sources? > Yes, it also worked for the modules, but there were other issues with it that Bruce Evans pointed out for me that made it a not too good approach. I think the only "real" way to solve this kind of problem would be to create the usbdevs.h and co. on install of the includes, and to also create local copies in the kernel build directory, probably at config time. The drawback to this would be, as you mentioned that kernel modules wouldh have to be changed to use only "usbdevs.h" and not the full path. Also, userland code and kernel code would use two different paths to the same information, which would be confusing. I think the best thing is to just leave it for now until someone gets the urge to rewrite the stuff. --- Erik H. Bakke Don't ask "Who invented time?", the real question is "When was time invented?" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message