Date: Tue, 13 Apr 1999 08:59:00 -0400 From: "Rick Whitesel" <rwhitesel@nbase-xyplex.com> To: <current@FreeBSD.ORG>, "UCHIYAMA Yasushi" <uch@nop.or.jp> Subject: Re: newconfig/new-bus Message-ID: <002a01be85ad$66979880$d3e4b38c@xyplex.com> References: <19990413165836K.uch@nop.or.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi: I just wanted to say that I see this as very important work. BSD and Linux interoperability is the best way to insure the BSDs survive (and maybe better) the Linux mania. Rick Whitesel NBase-Xyplex "If it is easy it probably sucks." ----- Original Message ----- From: UCHIYAMA Yasushi <uch@nop.or.jp> To: <current@FreeBSD.ORG> Sent: Tuesday, April 13, 1999 3:58 AM Subject: newconfig/new-bus ftp://ftp.nop.or.jp/users/uch/PCMCIA/FreeBSD/sys4c990410-newconfig990413.pat ch.gz This is newest newconfig patch against to 4.0-CURRENT(990410). FreeBSD/newconfig provides NetBSD compatible frame work ,bus_space(9) (bus_memio.h,bus_pio.h are no longer required.) and `bus name`_intr_establish. and also provides resource management. This feature makes easy to implement and feedback drivers among *BSD. As a sample, dev/pcmcia/ directory was imported from NetBSD. The amounts of #ifdef __FreeBSD__ is little. I'm working CardBus (dev/cardbus/) driver with NetBSD people. (originary written for NetBSD) Newconfig may not to be seem exciting, but this is powerful and flexible implementation in fact. please see this patch. Following table is guide map for comparison. newconfig new-bus framework: kern/subr_autoconf.c kern/subr_bus.c sys/device.h sys/bus.h resource management: kern/subr_rman.c kern/subr_rman.c i386/i386/resource.c i386/i386/nexus.c mainbus: i386/i386/mainbus.c i386/i386/nexus.c ISA bus: i386/isa/isa_machdep.c i386/i386/nisa.c PCI bus: i386/pci/pci_machdep.c pci/pci.c --- UCHIYAMA Yasushi uch@nop.or.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002a01be85ad$66979880$d3e4b38c>