Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Dec 2001 11:35:51 +0100
From:      "Erik H. Bakke" <ebakke@trolltech.com>
To:        "Warner Losh" <imp@harmony.village.org>
Cc:        "Sheldon Hearn" <sheldonh@starjuice.net>, <cvs-committers@FreeBSD.org>, <cvs-all@FreeBSD.org>
Subject:   Re: cvs commit: src/sys/dev/usb usbdevs.h usbdevs_data.h 
Message-ID:  <001d01c1822f$9aec5d60$5b3bcbd5@breiflabb>
References:  <010b01c18181$0ac4f9d0$5b3bcbd5@breiflabb>  <57846.1007985855@axl.seasidesoftware.co.za>  <200112110923.fBB9NYM25866@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001d01c1822f$9aec5d60$5b3bcbd5>