Date: Tue, 12 Dec 2000 10:18:58 -0700 From: Warner Losh <imp@village.org> To: John Baldwin <jhb@FreeBSD.org> Cc: hackers@FreeBSD.org, Nicolas Souchu <nsouch@alcove.fr> Subject: Re: Partial start on pci + serial/parallel cards Message-ID: <200012121718.KAA30522@harmony.village.org> In-Reply-To: Your message of "Tue, 12 Dec 2000 09:13:07 PST." <XFMail.001212091307.jhb@FreeBSD.org> References: <XFMail.001212091307.jhb@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <XFMail.001212091307.jhb@FreeBSD.org> John Baldwin writes: : : On 12-Dec-00 Warner Losh wrote: : > In message <20001212100513.B6007@wiliam.alcove-int> Nicolas Souchu writes: : >: > looking at the code. I'd also think about moving it to dev/ppc with a : >: > ppc_isa.c and ppc_puc.c. : >: : >: This is something I don't understand. If ppc_puc is a PCI driver why don't : >: you put in the pci directory and let ppc_isa in isa one? : > : > Because in FreeBSD you put all the files for a driver in one : > directory. In NetBSD you'd do things the way you are talking about. : > sio and ppc break this rule right now. : : ...and npx; fd; joy; psm; various ISA portions of vga, syscons, and atkbd; : intpm; meteor; agp; all the PCI network drivers; etc. :-) Yes. I wasn't planning on moving them. But not all the pci network drivers break this rule. vx, at the minimum, follows the new guidelines. The "common sense rider" on this rule has been don't move anything just to move it. Move it when it makes sense to move it. Many drivers have been moved out of isa/* or i386/isa/* to this new location when they grow another bus attachment (usually for pccard). Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200012121718.KAA30522>