Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jan 2001 00:39:06 -0700
From:      Warner Losh <imp@harmony.village.org>
To:        Peter Wemm <peter@netplex.com.au>
Cc:        John Hay <jhay@icomtek.csir.co.za>, jhay@FreeBSD.org (John Hay), cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/i386/isa if_ar.c if_arregs.h src/sys/pci if_ar_p.c 
Message-ID:  <200101250739.f0P7d6966140@harmony.village.org>
In-Reply-To: Your message of "Wed, 24 Jan 2001 23:33:17 PST." <200101250733.f0P7XH490063@mobile.wemm.org> 
References:  <200101250733.f0P7XH490063@mobile.wemm.org>  

next in thread | previous in thread | raw e-mail | index | archive | help
In message <200101250733.f0P7XH490063@mobile.wemm.org> Peter Wemm writes:
: This is bikeshed material, but NetBSD put things like that in dev/ic/*.

True :-)

: the other includes, and any common C code that is shared between drivers
: (eg: some 3com stuff) as well.

Ah yes.  The elink problem.

I'm also running into the same problem with some code I'm working on
for the pccard ExCA interface that is implemented by ISA pcmcia bridges,
PCI pcmcia bridges and PCI CardBus bridges.  So this code would be
used by both pcic (isa and pci) and pccbb.  Not all pcmcia bridges
implement this interface (the pcic98 bridge as well as the tcic
parts), so putting it in dev/pccard seems incorrect.

: If there was a common components there could be, for example:
: dev/common/hd64570.h
: dev/common/hd64570.c
: 
: Can anybody not live with this?  ie: dev/common ?
: Userland could #include <dev/common/if_wavelan_ieee.h>.

I can live with that, and think it is better than anything I can think
of.

Warner


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?200101250739.f0P7d6966140>