Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Apr 1999 16:58:36 +0900
From:      UCHIYAMA Yasushi <uch@nop.or.jp>
To:        current@FreeBSD.ORG
Subject:   newconfig/new-bus
Message-ID:  <19990413165836K.uch@nop.or.jp>

next in thread | raw e-mail | index | archive | help
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
uch@nop.or.jp 


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?19990413165836K.uch>