ftp://ftp.nop.or.jp/users/uch/PCMCIA/FreeBSD/sys4c990410-newconfig990413.patch.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
u...@nop.or.jp 


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to