Home | History | Annotate | only in /src/sys/arch/bebox/isa
History log of /src/sys/arch/bebox/isa
RevisionDateAuthorComments
 1.2 03-Feb-1998  sakamoto Remove MD ed,wdc drivers.
 1.1 14-Oct-1997  sakamoto Initial commit of NetBSD/bebox port.
 1.13 07-Apr-2000  thorpej Use dev/isa/fd.c.
 1.12 23-Mar-2000  thorpej New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
resource allocation.
- Insertion and removal of callouts is constant time, important as
this facility is used quite a lot in the kernel.

The old timeout()/untimeout() API has been removed from the kernel.
 1.11 07-Feb-2000  thorpej Add a new function call to the ISA DMA API: isa_dmamaxsize(), which returns
the maximum transfer size for the specified DMA channel. Make all clients
of ISA DMA use this call to determine their maximum transfer size.
 1.10 07-Feb-2000  thorpej Fix a bug in disksort_*() which caused non-optimal ordering when multiple
active partitions were on a single spindle. Add a b_rawblkno member to
struct buf which contains the non-partition-relative block number to sort
by.
 1.9 21-Jan-2000  thorpej Update for sys/buf.h/disksort_*() changes.
 1.8 24-Jun-1999  sakamoto branches: 1.8.2; 1.8.8;
Sync with i386's fd.c, fdreg.h.
 1.7 22-Jun-1999  sakamoto Remove sc_id member from fdc_softc.
 1.6 15-Aug-1998  mycroft branches: 1.6.8;
Assign my copyrights to TNF.
 1.5 04-Jul-1998  jonathan defopt DDB.
 1.4 09-Jun-1998  thorpej Adjust for change to the ISA DMA API.
 1.3 02-Feb-1998  sakamoto Eliminate __BROKEN_INDIRECT_CONFIG
 1.2 12-Jan-1998  thorpej Update for changes to config.
 1.1 14-Oct-1997  sakamoto Initial commit of NetBSD/bebox port.
 1.6.8.1 01-Jul-1999  thorpej Sync w/ -current.
 1.8.8.1 21-Dec-1999  wrstuden Initial commit of recent changes to make DEV_BSIZE go away.

Runs on i386, needs work on other arch's. Main kernel routines should be
fine, but a number of the stand programs need help.

cd, fd, ccd, wd, and sd have been updated. sd has been tested with non-512
byte block devices. vnd, raidframe, and lfs need work.

Non 2**n block support is automatic for LKM's and conditional for kernels
on "options NON_PO2_BLOCKS".
 1.8.2.1 20-Nov-2000  bouyer Remove files that are no longer on the trunck
 1.4 07-Apr-2000  thorpej Use dev/isa/fd.c.
 1.3 07-Feb-2000  thorpej Add a new function call to the ISA DMA API: isa_dmamaxsize(), which returns
the maximum transfer size for the specified DMA channel. Make all clients
of ISA DMA use this call to determine their maximum transfer size.
 1.2 24-Jun-1999  sakamoto branches: 1.2.2;
Sync with i386's fd.c, fdreg.h.
 1.1 14-Oct-1997  sakamoto branches: 1.1.12;
Initial commit of NetBSD/bebox port.
 1.1.12.1 01-Jul-1999  thorpej Sync w/ -current.
 1.2.2.1 20-Nov-2000  bouyer Remove files that are no longer on the trunck
 1.6 17-Oct-2007  garbled Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.5 11-Dec-2005  christos branches: 1.5.30; 1.5.38; 1.5.48; 1.5.50; 1.5.52; 1.5.54;
merge ktrace-lwp.
 1.4 07-Aug-2003  agc branches: 1.4.16;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.3 01-Dec-1997  sakamoto branches: 1.3.48;
cleanup disused extern declaration.
 1.2 27-Nov-1997  sakamoto remove/import software interrupt model and external interrupt handler
from OpenBSD/powerpc.
move bus_space_* from bus_machdep.c to bus.h.
 1.1 14-Oct-1997  sakamoto branches: 1.1.2;
Initial commit of NetBSD/bebox port.
 1.1.2.1 28-Nov-1997  mellon Pull rev 1.2 up from trunk (sakamoto)
 1.3.48.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.48.2 18-Sep-2004  skrll Sync with HEAD.
 1.3.48.1 03-Aug-2004  skrll Sync with HEAD
 1.4.16.1 27-Oct-2007  yamt sync with head.
 1.5.54.1 25-Oct-2007  bouyer Sync with HEAD.
 1.5.52.1 18-Oct-2007  yamt sync with head.
 1.5.50.1 06-Nov-2007  matt sync with HEAD
 1.5.48.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.5.38.1 09-Oct-2007  ober Removing unused files replaced by OEA equivalents.
 1.5.30.1 23-Oct-2007  ad Sync with head.
 1.5 03-Feb-1998  sakamoto Remove MD ed,wdc drivers.
 1.4 12-Jan-1998  thorpej Update for changes to config.
 1.3 27-Nov-1997  sakamoto remove/import software interrupt model and external interrupt handler
from OpenBSD/powerpc.
move bus_space_* from bus_machdep.c to bus.h.
 1.2 16-Oct-1997  sakamoto branches: 1.2.2;
__VM_PMAP_HACK delete.
if_ed and lpt temporary support.
 1.1 14-Oct-1997  sakamoto Initial commit of NetBSD/bebox port.
 1.2.2.1 28-Nov-1997  mellon Pull rev 1.3 up from trunk (sakamoto)
 1.2 03-Feb-1998  sakamoto Remove MD ed,wdc drivers.
 1.1 16-Oct-1997  sakamoto __VM_PMAP_HACK delete.
if_ed and lpt temporary support.
 1.3 01-Dec-1997  sakamoto use dev/isa/isa.c instead of bebox/isa/isa.c
 1.2 27-Nov-1997  sakamoto remove/import software interrupt model and external interrupt handler
from OpenBSD/powerpc.
move bus_space_* from bus_machdep.c to bus.h.
 1.1 14-Oct-1997  sakamoto branches: 1.1.2;
Initial commit of NetBSD/bebox port.
 1.1.2.1 28-Nov-1997  mellon Pull rev 1.2 up from trunk (sakamoto)
 1.9 17-Oct-2007  garbled Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.8 11-Dec-2005  christos branches: 1.8.30; 1.8.38; 1.8.48; 1.8.50; 1.8.52; 1.8.54;
merge ktrace-lwp.
 1.7 07-Aug-2003  agc branches: 1.7.16;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.6 15-Jul-2003  lukem __KERNEL_RCSID()
 1.5 04-Jun-2000  cgd branches: 1.5.26;
Implement the more flexiable `evcnt' interface as discussed (briefly) on
tech-kern and now documented in evcnt(9).
 1.4 19-Mar-1999  cgd branches: 1.4.8; 1.4.16;
if you pull in isavar.h, you don't need isa_machdep.h.
 1.3 15-Aug-1998  mycroft Assign my copyrights to TNF.
 1.2 27-Nov-1997  sakamoto remove/import software interrupt model and external interrupt handler
from OpenBSD/powerpc.
move bus_space_* from bus_machdep.c to bus.h.
 1.1 14-Oct-1997  sakamoto branches: 1.1.2;
Initial commit of NetBSD/bebox port.
 1.1.2.1 28-Nov-1997  mellon Pull rev 1.2 up from trunk (sakamoto)
 1.4.16.1 22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.4.8.1 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.5.26.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.5.26.2 18-Sep-2004  skrll Sync with HEAD.
 1.5.26.1 03-Aug-2004  skrll Sync with HEAD
 1.7.16.1 27-Oct-2007  yamt sync with head.
 1.8.54.1 25-Oct-2007  bouyer Sync with HEAD.
 1.8.52.1 18-Oct-2007  yamt sync with head.
 1.8.50.1 06-Nov-2007  matt sync with HEAD
 1.8.48.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.8.38.1 09-Oct-2007  ober Removing unused files replaced by OEA equivalents.
 1.8.30.1 23-Oct-2007  ad Sync with head.
 1.8 19-Mar-1999  cgd Moved to arch/bebox/include/isa_machdep.h,v
 1.7 24-Aug-1998  sakamoto vm_offset_t --> [pv]addr_t.
 1.6 09-Jun-1998  thorpej Add isa_dma{freeze,thaw}(), used to temporarily stop and then restart
all ISA DMA. Needed by e.g. the SmartCard reader for Sharks.
 1.5 09-Jun-1998  thorpej Change the ISA DMA API to take an isa_chipset_tag_t rather than
a struct device * corresponding to the ISA bus device. The ISA DMA
controller driver functions have been renamed and now take a struct
isa_dma_state *, and are called indirectly by machine-dependent code
which provides the DMA state.

These changes allow e.g. `ofisa' (the OpenFirmware configuration
mechanism for the ISA bus, used by e.g. Sharks) to use the MI ISA
DMA controller code.
 1.4 03-Jun-1998  thorpej Sync w/ i386 port:

Implement bounce buffers for mbufs.

Also, correct copyright snafus, and a forgot-o left over from a commit
I made yesterday.
 1.3 03-Feb-1998  sakamoto Change bebox_bus_{io,mem}.bus_base to BEBOX_BUS_SPACE_{IO,MEM}.
 1.2 27-Nov-1997  sakamoto remove/import software interrupt model and external interrupt handler
from OpenBSD/powerpc.
move bus_space_* from bus_machdep.c to bus.h.
 1.1 14-Oct-1997  sakamoto Initial commit of NetBSD/bebox port.
 1.16 17-Oct-2007  garbled Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.15 09-Jul-2007  ad branches: 1.15.8; 1.15.10; 1.15.12; 1.15.14;
Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements
 1.14 15-Sep-2006  gdamore branches: 1.14.10; 1.14.12; 1.14.18;
Convert bebox to MI todr. As part of this, separate out the mc146818
clock handling. Originally reviewed with that committed as an MI driver
in dev/isa, crazy MD versions of mcclock made that impossible. So for
now I'm only handling it as an MD driver. Ok garbled@
 1.13 24-Dec-2005  perry branches: 1.13.20;
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.12 11-Dec-2005  christos merge ktrace-lwp.
 1.11 10-Jun-2005  jmc branches: 1.11.2;
Constify, shadow resolution and some volatile casts
 1.10 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.9 15-Jul-2003  lukem __KERNEL_RCSID()
 1.8 22-Jul-2001  wiz branches: 1.8.6; 1.8.22;
bcopy -> memcpy, bcmp -> memcmp, bzero -> memset
 1.7 23-Mar-2000  thorpej branches: 1.7.8;
New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
resource allocation.
- Insertion and removal of callouts is constant time, important as
this facility is used quite a lot in the kernel.

The old timeout()/untimeout() API has been removed from the kernel.
 1.6 15-Aug-1998  mycroft branches: 1.6.12;
Make copyright notices with my name consistent.
 1.5 19-Jan-1998  drochner adapt to changed <dev/ic/i8253reg.h>
 1.4 19-Jan-1998  sakamoto eliminate unnecessary declaration.
 1.3 19-Jan-1998  sakamoto eliminate unnecessary code.
include dev/ic/i8253reg.h instead of timerreg.h
 1.2 27-Nov-1997  sakamoto remove/import software interrupt model and external interrupt handler
from OpenBSD/powerpc.
move bus_space_* from bus_machdep.c to bus.h.
 1.1 14-Oct-1997  sakamoto Initial commit of NetBSD/bebox port.
 1.6.12.1 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.7.8.1 03-Aug-2001  lukem update to -current
 1.8.22.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.8.22.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.8.22.2 18-Sep-2004  skrll Sync with HEAD.
 1.8.22.1 03-Aug-2004  skrll Sync with HEAD
 1.8.6.2 22-Jul-2001  wiz bcopy -> memcpy, bcmp -> memcmp, bzero -> memset
 1.8.6.1 22-Jul-2001  wiz file isaclock.c was added on branch nathanw_sa on 2001-07-22 14:34:37 +0000
 1.11.2.4 27-Oct-2007  yamt sync with head.
 1.11.2.3 03-Sep-2007  yamt sync with head.
 1.11.2.2 30-Dec-2006  yamt sync with head.
 1.11.2.1 21-Jun-2006  yamt sync with head.
 1.13.20.1 18-Nov-2006  ad Sync with head.
 1.14.18.2 09-Oct-2007  ober Removing unused files replaced by OEA equivalents.
 1.14.18.1 03-Oct-2007  garbled Sync with HEAD
 1.14.12.1 11-Jul-2007  mjf Sync with head.
 1.14.10.2 23-Oct-2007  ad Sync with head.
 1.14.10.1 15-Jul-2007  ad Sync with head.
 1.15.14.1 25-Oct-2007  bouyer Sync with HEAD.
 1.15.12.1 18-Oct-2007  yamt sync with head.
 1.15.10.1 06-Nov-2007  matt sync with HEAD
 1.15.8.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.3 05-Feb-1998  sakamoto Use dev/isa/isadma.c.
 1.2 04-Feb-1998  thorpej Add offset and length parameters to bus_dmamap_sync(), used for specifiying
partial syncs of a DMA mapping.
 1.1 14-Oct-1997  sakamoto Initial commit of NetBSD/bebox port.
 1.26 17-Oct-2007  garbled Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.25 05-Mar-2007  he branches: 1.25.2; 1.25.10; 1.25.18; 1.25.20; 1.25.22; 1.25.24;
Use mtod(m, char*) when you want to do pointer arithmetic on the result.
 1.24 04-Mar-2007  christos Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.23 11-Dec-2005  christos branches: 1.23.26;
merge ktrace-lwp.
 1.22 15-Jul-2003  lukem branches: 1.22.16;
__KERNEL_RCSID()
 1.21 05-May-2003  fvdl branches: 1.21.2;
Move definition of ISA_DMA_BOUNCE_THRESHOLD to dev/isa/isareg.h.
 1.20 01-Apr-2003  thorpej Use PAGE_SIZE rather than NBPG.
 1.19 22-Jul-2001  wiz branches: 1.19.6;
bcopy -> memcpy, bcmp -> memcmp, bzero -> memset
 1.18 06-Jun-2001  matt branches: 1.18.2;
Change bebox port to use the include MPC6XX files and the new common bus.h
framework.
 1.17 15-Nov-2000  thorpej branches: 1.17.2;
Move the ISA DMA cookie into isadma_machdep.c.
 1.16 29-Jun-2000  mrg remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
 1.15 22-Jun-1999  sakamoto branches: 1.15.2;
Add casts for -Wall.
 1.14 19-Mar-1999  cgd branches: 1.14.4;
if you pull in isavar.h, you don't need isa_machdep.h.
 1.13 03-Oct-1998  thorpej If the memory range of the machine is such that no bouncing is necessary,
or if the device is capable of 32-bit DMA (specified by ISABUS_DMA_32BIT),
clear the map's bounce threshold at map creation time.
 1.12 24-Aug-1998  sakamoto vm_offset_t --> [pv]addr_t.
 1.11 09-Jun-1998  sakamoto add address conversion macro for MPC105 and some fix.
 1.10 03-Jun-1998  thorpej Sync w/ i386 port:

Eliminate some needless indirection through ISA DMA front-end functions.
 1.9 03-Jun-1998  thorpej Sync w/ i386 port:

Implement bounce buffers for mbufs.

Also, correct copyright snafus, and a forgot-o left over from a commit
I made yesterday.
 1.8 03-Jun-1998  thorpej Sync w/ i386 port:

Optimize the ISA DMA map load somewhat; don't traverse the buffer twice.
Instead, just attempt to do a normal load first. If we exceed the bounce
threshold or the number of segments, then we bounce the transfer.
 1.7 12-Feb-1998  sakamoto Sync with port-i386.
 1.6 11-Feb-1998  thorpej Use M_DMAMAP where appropriate.
 1.5 04-Feb-1998  thorpej Add offset and length parameters to bus_dmamap_sync(), used for specifiying
partial syncs of a DMA mapping.
 1.4 04-Feb-1998  thorpej Change the last argument of bus_dmamap_sync() from bus_dmasync_op_t to int,
and allow more than one synchronization operation to be specified in
a single call. Dissallow mixing of PRE and POST operations.
 1.3 18-Dec-1997  sakamoto remove avail_end temporarily for compile.
 1.2 27-Nov-1997  sakamoto remove/import software interrupt model and external interrupt handler
from OpenBSD/powerpc.
move bus_space_* from bus_machdep.c to bus.h.
 1.1 14-Oct-1997  sakamoto branches: 1.1.2;
Initial commit of NetBSD/bebox port.
 1.1.2.1 28-Nov-1997  mellon Pull rev 1.2 up from trunk (sakamoto)
 1.14.4.1 01-Jul-1999  thorpej Sync w/ -current.
 1.15.2.2 22-Nov-2000  bouyer Sync with HEAD.
 1.15.2.1 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.17.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.18.2.1 03-Aug-2001  lukem update to -current
 1.19.6.2 22-Jul-2001  wiz bcopy -> memcpy, bcmp -> memcmp, bzero -> memset
 1.19.6.1 22-Jul-2001  wiz file isadma_machdep.c was added on branch nathanw_sa on 2001-07-22 14:34:37 +0000
 1.21.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.21.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.21.2.1 03-Aug-2004  skrll Sync with HEAD
 1.22.16.2 27-Oct-2007  yamt sync with head.
 1.22.16.1 03-Sep-2007  yamt sync with head.
 1.23.26.1 12-Mar-2007  rmind Sync with HEAD.
 1.25.24.1 25-Oct-2007  bouyer Sync with HEAD.
 1.25.22.1 18-Oct-2007  yamt sync with head.
 1.25.20.1 06-Nov-2007  matt sync with HEAD
 1.25.18.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.25.10.1 09-Oct-2007  ober Removing unused files replaced by OEA equivalents.
 1.25.2.1 23-Oct-2007  ad Sync with head.
 1.6 17-Oct-2007  garbled Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.5 11-Dec-2005  christos branches: 1.5.30; 1.5.38; 1.5.48; 1.5.50; 1.5.52; 1.5.54;
merge ktrace-lwp.
 1.4 15-Jul-2003  lukem branches: 1.4.16;
__KERNEL_RCSID()
 1.3 05-Sep-1998  christos branches: 1.3.46;
Assign copyright to TNF.
 1.2 13-Aug-1998  eeh Merge paddr_t changes into the main branch.
 1.1 31-Jul-1998  thorpej branches: 1.1.2;
First-cut support for ISA PnP for NetBSD/bebox.
 1.1.2.2 08-Aug-1998  eeh Revert cdevsw mmap routines to return int.
 1.1.2.1 31-Jul-1998  eeh file isapnp_machdep.c was added on branch eeh-paddr_t on 1998-08-08 03:06:38 +0000
 1.3.46.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.46.2 18-Sep-2004  skrll Sync with HEAD.
 1.3.46.1 03-Aug-2004  skrll Sync with HEAD
 1.4.16.1 27-Oct-2007  yamt sync with head.
 1.5.54.1 25-Oct-2007  bouyer Sync with HEAD.
 1.5.52.1 18-Oct-2007  yamt sync with head.
 1.5.50.1 06-Nov-2007  matt sync with HEAD
 1.5.48.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.5.38.1 09-Oct-2007  ober Removing unused files replaced by OEA equivalents.
 1.5.30.1 23-Oct-2007  ad Sync with head.
 1.4 19-Mar-1999  cgd Moved to arch/bebox/include/isapnp_machdep.h,v
 1.3 05-Sep-1998  christos Assign copyright to TNF.
 1.2 13-Aug-1998  eeh Merge paddr_t changes into the main branch.
 1.1 31-Jul-1998  thorpej branches: 1.1.2;
First-cut support for ISA PnP for NetBSD/bebox.
 1.1.2.2 08-Aug-1998  eeh Revert cdevsw mmap routines to return int.
 1.1.2.1 31-Jul-1998  eeh file isapnp_machdep.h was added on branch eeh-paddr_t on 1998-08-08 03:06:38 +0000
 1.6 02-Feb-2002  jdolecek Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.
 1.5 13-Jun-2001  wiz branches: 1.5.2; 1.5.4; 1.5.8;
withough -> without
 1.4 02-Feb-1998  sakamoto branches: 1.4.26;
Eliminate __BROKEN_INDIRECT_CONFIG
 1.3 12-Jan-1998  thorpej Update for changes to config.
 1.2 27-Nov-1997  sakamoto remove/import software interrupt model and external interrupt handler
from OpenBSD/powerpc.
move bus_space_* from bus_machdep.c to bus.h.
 1.1 14-Oct-1997  sakamoto branches: 1.1.2;
Initial commit of NetBSD/bebox port.
 1.1.2.1 28-Nov-1997  mellon Pull rev 1.2 up from trunk (sakamoto)
 1.4.26.1 21-Jun-2001  nathanw Catch up to -current.
 1.5.8.2 28-Feb-2002  nathanw Catch up to -current.
 1.5.8.1 13-Jun-2001  nathanw file joy.c was added on branch nathanw_sa on 2002-02-28 04:08:38 +0000
 1.5.4.1 10-Oct-2001  fvdl Convert all remaining devices.
 1.5.2.1 11-Feb-2002  jdolecek Sync w/ -current.
 1.4 02-Feb-2002  jdolecek Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.
 1.3 13-Jun-2001  wiz branches: 1.3.2; 1.3.8;
withough -> without
 1.2 02-Feb-1998  sakamoto branches: 1.2.26;
Eliminate __BROKEN_INDIRECT_CONFIG
 1.1 14-Oct-1997  sakamoto Initial commit of NetBSD/bebox port.
 1.2.26.1 21-Jun-2001  nathanw Catch up to -current.
 1.3.8.2 28-Feb-2002  nathanw Catch up to -current.
 1.3.8.1 13-Jun-2001  nathanw file joy_isa.c was added on branch nathanw_sa on 2002-02-28 04:08:38 +0000
 1.3.2.1 11-Feb-2002  jdolecek Sync w/ -current.
 1.4 18-Feb-2005  drochner The joystick driver is using mi timing code for many months.
Noone complained, so we can remove the unused md versions.
 1.3 15-Jul-2003  lukem branches: 1.3.8; 1.3.10;
__KERNEL_RCSID()
 1.2 06-Sep-2002  gehenna branches: 1.2.6;
Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.

- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.

- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
 1.1 02-Feb-2002  jdolecek branches: 1.1.2; 1.1.4; 1.1.12;
Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.
 1.1.12.1 19-May-2002  gehenna Remove unnecessary #include
 1.1.4.3 17-Sep-2002  nathanw Catch up to -current.
 1.1.4.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.4.1 02-Feb-2002  nathanw file joy_timer.c was added on branch nathanw_sa on 2002-02-28 04:08:38 +0000
 1.1.2.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.1.2.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.1.2.1 02-Feb-2002  jdolecek file joy_timer.c was added on branch kqueue on 2002-02-11 20:07:32 +0000
 1.2.6.4 04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.2.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.2.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.2.6.1 03-Aug-2004  skrll Sync with HEAD
 1.3.10.1 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.3.8.1 29-Apr-2005  kent sync with -current
 1.3 02-Feb-2002  jdolecek Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.
 1.2 13-Jun-2001  wiz branches: 1.2.2; 1.2.8;
withough -> without
 1.1 14-Oct-1997  sakamoto branches: 1.1.28;
Initial commit of NetBSD/bebox port.
 1.1.28.1 21-Jun-2001  nathanw Catch up to -current.
 1.2.8.2 28-Feb-2002  nathanw Catch up to -current.
 1.2.8.1 13-Jun-2001  nathanw file joyvar.h was added on branch nathanw_sa on 2002-02-28 04:08:38 +0000
 1.2.2.1 11-Feb-2002  jdolecek Sync w/ -current.
 1.2 17-Oct-2007  garbled Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.1 14-Oct-1997  sakamoto branches: 1.1.66; 1.1.108; 1.1.116; 1.1.126; 1.1.128; 1.1.130; 1.1.132;
Initial commit of NetBSD/bebox port.
 1.1.132.1 25-Oct-2007  bouyer Sync with HEAD.
 1.1.130.1 18-Oct-2007  yamt sync with head.
 1.1.128.1 06-Nov-2007  matt sync with HEAD
 1.1.126.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.1.116.1 09-Oct-2007  ober Removing unused files replaced by OEA equivalents.
 1.1.108.1 23-Oct-2007  ad Sync with head.
 1.1.66.1 27-Oct-2007  yamt sync with head.
 1.14 17-Oct-2007  garbled Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.13 04-Mar-2007  christos branches: 1.13.2; 1.13.10; 1.13.18; 1.13.20; 1.13.22; 1.13.24;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.12 11-Dec-2005  christos branches: 1.12.26;
merge ktrace-lwp.
 1.11 15-Jul-2003  lukem branches: 1.11.16;
__KERNEL_RCSID()
 1.10 26-Nov-2002  christos branches: 1.10.6;
si_ -> sel_
 1.9 23-Oct-2002  jdolecek merge kqueue branch into -current

kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals

kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)

based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe
 1.8 02-Oct-2002  thorpej Use CFATTACH_DECL().
 1.7 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.6 06-Sep-2002  gehenna Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.

- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.

- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
 1.5 16-Sep-2001  wiz branches: 1.5.4; 1.5.12;
Spell 'occurred' with two 'r's.
 1.4 15-Aug-1998  mycroft branches: 1.4.24; 1.4.26;
Make copyright notices with my name consistent.
 1.3 02-Feb-1998  sakamoto Eliminate __BROKEN_INDIRECT_CONFIG
 1.2 12-Jan-1998  thorpej Update for changes to config.
 1.1 14-Oct-1997  sakamoto Initial commit of NetBSD/bebox port.
 1.4.26.4 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.4.26.3 02-Oct-2002  jdolecek do not need the (void *) cast for kn_hook anymore
 1.4.26.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.4.26.1 09-Sep-2001  thorpej Add kqueue support (not compiled yet).
 1.4.24.2 10-Oct-2001  fvdl Convert all remaining devices.
 1.4.24.1 01-Oct-2001  fvdl Catch up with -current.
 1.5.12.1 17-May-2002  gehenna Add device switch.
 1.5.4.5 11-Dec-2002  thorpej Sync with HEAD.
 1.5.4.4 11-Nov-2002  nathanw Catch up to -current
 1.5.4.3 18-Oct-2002  nathanw Catch up to -current.
 1.5.4.2 17-Sep-2002  nathanw Catch up to -current.
 1.5.4.1 16-Sep-2001  nathanw file lms.c was added on branch nathanw_sa on 2002-09-17 21:13:56 +0000
 1.10.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.10.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.10.6.1 03-Aug-2004  skrll Sync with HEAD
 1.11.16.2 27-Oct-2007  yamt sync with head.
 1.11.16.1 03-Sep-2007  yamt sync with head.
 1.12.26.1 12-Mar-2007  rmind Sync with HEAD.
 1.13.24.1 25-Oct-2007  bouyer Sync with HEAD.
 1.13.22.1 18-Oct-2007  yamt sync with head.
 1.13.20.1 06-Nov-2007  matt sync with HEAD
 1.13.18.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.13.10.1 09-Oct-2007  ober Removing unused files replaced by OEA equivalents.
 1.13.2.1 23-Oct-2007  ad Sync with head.
 1.6 20-Jun-2014  phx mc146818's sc_flag indicates the time is stored in binary format, not BCD.
So we should configure the chip's REGB for binary format as well.
This makes the BeBox RTC finally work reliable for me.
 1.5 01-Jul-2011  dyoung branches: 1.5.12; 1.5.26;
#include <sys/bus.h> instead of <machine/bus.h>.
 1.4 29-Mar-2008  tsutsui Don't forget to initialize sc_dev.
 1.3 28-Mar-2008  tsutsui Split device_t and softc for MI mc146818 clock,
and other related misc cosmetics.
 1.2 10-Jan-2008  tsutsui branches: 1.2.6;
Move todr_attach(9) calls from each MD attachment to MI mc146818_attach().
 1.1 15-Sep-2006  gdamore branches: 1.1.4; 1.1.8; 1.1.34; 1.1.40; 1.1.48;
Convert bebox to MI todr. As part of this, separate out the mc146818
clock handling. Originally reviewed with that committed as an MI driver
in dev/isa, crazy MD versions of mcclock made that impossible. So for
now I'm only handling it as an MD driver. Ok garbled@
 1.1.48.1 10-Jan-2008  bouyer Sync with HEAD
 1.1.40.1 18-Feb-2008  mjf Sync with HEAD.
 1.1.34.1 23-Mar-2008  matt sync with HEAD
 1.1.8.3 21-Jan-2008  yamt sync with head
 1.1.8.2 30-Dec-2006  yamt sync with head.
 1.1.8.1 15-Sep-2006  yamt file mcclock_isa.c was added on branch yamt-lazymbuf on 2006-12-30 20:45:45 +0000
 1.1.4.2 18-Nov-2006  ad Sync with head.
 1.1.4.1 15-Sep-2006  ad file mcclock_isa.c was added on branch newlock2 on 2006-11-18 21:29:08 +0000
 1.2.6.1 03-Apr-2008  mjf Sync with HEAD.
 1.5.26.1 10-Aug-2014  tls Rebase.
 1.5.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.15 17-Oct-2007  garbled Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.14 04-Mar-2007  christos branches: 1.14.2; 1.14.10; 1.14.18; 1.14.20; 1.14.22; 1.14.24;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.13 11-Dec-2005  christos branches: 1.13.26;
merge ktrace-lwp.
 1.12 15-Jul-2003  lukem branches: 1.12.16;
__KERNEL_RCSID()
 1.11 26-Nov-2002  christos branches: 1.11.6;
si_ -> sel_
 1.10 23-Oct-2002  jdolecek merge kqueue branch into -current

kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals

kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)

based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe
 1.9 02-Oct-2002  thorpej Use CFATTACH_DECL().
 1.8 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.7 06-Sep-2002  gehenna Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.

- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.

- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
 1.6 16-Sep-2001  wiz branches: 1.6.4; 1.6.12;
Spell 'occurred' with two 'r's.
 1.5 15-Aug-1998  mycroft branches: 1.5.24; 1.5.26;
Make copyright notices with my name consistent.
 1.4 02-Feb-1998  sakamoto Eliminate __BROKEN_INDIRECT_CONFIG
 1.3 12-Jan-1998  thorpej Update for changes to config.
 1.2 27-Nov-1997  sakamoto remove/import software interrupt model and external interrupt handler
from OpenBSD/powerpc.
move bus_space_* from bus_machdep.c to bus.h.
 1.1 14-Oct-1997  sakamoto branches: 1.1.2;
Initial commit of NetBSD/bebox port.
 1.1.2.1 28-Nov-1997  mellon Pull rev 1.2 up from trunk (sakamoto)
 1.5.26.4 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.5.26.3 02-Oct-2002  jdolecek do not need the (void *) cast for kn_hook anymore
 1.5.26.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.5.26.1 09-Sep-2001  thorpej Add kqueue support (not compiled yet).
 1.5.24.2 10-Oct-2001  fvdl Convert all remaining devices.
 1.5.24.1 01-Oct-2001  fvdl Catch up with -current.
 1.6.12.1 17-May-2002  gehenna Add device switch.
 1.6.4.5 11-Dec-2002  thorpej Sync with HEAD.
 1.6.4.4 11-Nov-2002  nathanw Catch up to -current
 1.6.4.3 18-Oct-2002  nathanw Catch up to -current.
 1.6.4.2 17-Sep-2002  nathanw Catch up to -current.
 1.6.4.1 16-Sep-2001  nathanw file mms.c was added on branch nathanw_sa on 2002-09-17 21:13:56 +0000
 1.11.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.11.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.11.6.1 03-Aug-2004  skrll Sync with HEAD
 1.12.16.2 27-Oct-2007  yamt sync with head.
 1.12.16.1 03-Sep-2007  yamt sync with head.
 1.13.26.1 12-Mar-2007  rmind Sync with HEAD.
 1.14.24.1 25-Oct-2007  bouyer Sync with HEAD.
 1.14.22.1 18-Oct-2007  yamt sync with head.
 1.14.20.1 06-Nov-2007  matt sync with HEAD
 1.14.18.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.14.10.1 09-Oct-2007  ober Removing unused files replaced by OEA equivalents.
 1.14.2.1 23-Oct-2007  ad Sync with head.
 1.4 17-Oct-2007  garbled Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.3 11-Dec-2005  christos branches: 1.3.30; 1.3.38; 1.3.48; 1.3.50; 1.3.52; 1.3.54;
merge ktrace-lwp.
 1.2 07-Aug-2003  agc branches: 1.2.16;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.1 14-Oct-1997  sakamoto branches: 1.1.50;
Initial commit of NetBSD/bebox port.
 1.1.50.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.50.2 18-Sep-2004  skrll Sync with HEAD.
 1.1.50.1 03-Aug-2004  skrll Sync with HEAD
 1.2.16.1 27-Oct-2007  yamt sync with head.
 1.3.54.1 25-Oct-2007  bouyer Sync with HEAD.
 1.3.52.1 18-Oct-2007  yamt sync with head.
 1.3.50.1 06-Nov-2007  matt sync with HEAD
 1.3.48.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.3.38.1 09-Oct-2007  ober Removing unused files replaced by OEA equivalents.
 1.3.30.1 23-Oct-2007  ad Sync with head.
 1.44 17-Oct-2007  garbled Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.43 09-Jul-2007  ad branches: 1.43.8; 1.43.10; 1.43.12; 1.43.14;
Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements
 1.42 04-Mar-2007  christos branches: 1.42.2; 1.42.4; 1.42.10;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.41 01-Oct-2006  elad branches: 1.41.4;
Adapt MD code to KAUTH_DEVICE_TTY_OPEN. Patch from Matt Fleming, thanks!
 1.40 23-Jul-2006  ad branches: 1.40.4; 1.40.6;
Use the LWP cached credentials where sane.
 1.39 14-May-2006  elad integrate kauth.
 1.38 26-Mar-2006  thorpej Use device_unit().
 1.37 24-Dec-2005  perry branches: 1.37.4; 1.37.6; 1.37.8; 1.37.10; 1.37.12;
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.36 11-Dec-2005  christos merge ktrace-lwp.
 1.35 06-Sep-2005  kleink Change the driver open function's conditional for overriding exclusive tty
use from checking the proc's uid to suser(9), and account for the use of
privileges. Noted by David Holland in PR kern/31126.
 1.34 10-Jun-2005  jmc branches: 1.34.2;
Constify, shadow resolution and some volatile casts
 1.33 13-Mar-2004  bjh21 Abstract the interface between pckbc(4), and the pckbd(4) and pms(4)
drivers that attach to it. This allows for other host interface chips
that use the same keyboards and mice, such as the ones in the ARM
IOMD20, ARM7500, and SA-1111. The PC-compatible driver is still
called pckbc(4), and the new abstraction layer is "pckbport", so the
child devices have moved from sys/dev/pckbc to sys/dev/pckbport, which
also contains some code shared between all host controllers. To avoid
incompatibility, pckbdreg.h is still installed in
/usr/include/dev/pckbc.

In theory, this shouldn't cause any behavioural changes in the drivers
concerned. Thy just use rather more function pointers than before. Tested
on i386 and (with a new host driver) acorn32. Compiled on several other
affected architectures.
 1.32 13-Feb-2004  wiz Uppercase CPU, plural is CPUs.
 1.31 24-Oct-2003  matt Update to latest i386 version.
 1.30 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.29 15-Jul-2003  lukem __KERNEL_RCSID()
 1.28 23-Jun-2003  martin branches: 1.28.2;
Make sure to include opt_foo.h if a defflag option FOO is used.
 1.27 17-Jan-2003  thorpej Merge the nathanw_sa branch.
 1.26 23-Oct-2002  jdolecek merge kqueue branch into -current

kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals

kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)

based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe
 1.25 02-Oct-2002  thorpej Use CFATTACH_DECL().
 1.24 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.23 06-Sep-2002  gehenna Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.

- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.

- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
 1.22 17-Mar-2002  atatat branches: 1.22.4;
Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for
indicating an unhandled "command". ERESTART is -1, which can lead to
confusion. ERESTART has been moved to -3 and EPASSTHROUGH has been
placed at -4. No ioctl code should now return -1 anywhere. The
ioctl() system call is now properly restartable.
 1.21 22-Jul-2001  wiz branches: 1.21.2; 1.21.6;
bcopy -> memmove
 1.20 02-May-2001  scw branches: 1.20.2;
Add `l_poll' to `struct linesw' and provide an xxxpoll() entry point
in each tty driver to indirect through it.

This allows tty line-disciplines to handle poll(2) system calls.
 1.19 02-Nov-2000  eeh branches: 1.19.2;
Adapt to the new line discipline scheme.
 1.18 26-Jun-2000  simonb Change the kernel mmap interface so that the offset to map is an
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes. Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".

Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
 1.17 23-Mar-2000  thorpej branches: 1.17.4;
New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
resource allocation.
- Insertion and removal of callouts is constant time, important as
this facility is used quite a lot in the kernel.

The old timeout()/untimeout() API has been removed from the kernel.
 1.16 06-Mar-2000  thorpej - Implement cnbell() -- ring the console bell. The cn_bell entrypoint
is optional.
- Add cn_bell to statically allocated consdevs as appropriate.
 1.15 19-Mar-1999  cgd branches: 1.15.8;
if you pull in isavar.h, you don't need isa_machdep.h.
 1.14 19-Nov-1998  mrg fix problems in many d_mmap routines:
- returned EOPNOTSUPP rather than -1.
- no check for negative offset.
many of these fix potential security problems in these drivers.


XXX XXX XXX
the d_mmap cdev routine should be changed to have a prototype like:
paddr_t (*d_mmap) __P((dev_t, off_t, int));

by someone!
 1.13 15-Aug-1998  mycroft Assign my copyrights to TNF.
 1.12 15-Aug-1998  mycroft Make copyright notices with my name consistent.
 1.11 27-Jul-1998  perry NORVEGIAN -> NORWEGIAN
 1.10 05-Jul-1998  jonathan * defopt COMPAT_{09,10,11,12,13} and COMPAT_NOMID.
TODO: revisit interaction between native compat and emul compat usage.
 1.9 04-Jul-1998  jonathan defopt DDB.
 1.8 21-Mar-1998  mycroft Eliminate uses of TS_WOPEN in hard-wired devices.
 1.7 02-Feb-1998  sakamoto Eliminate __BROKEN_INDIRECT_CONFIG
 1.6 19-Jan-1998  sakamoto Sync with arch/i386/isa/pccons.c
 1.5 18-Jan-1998  drochner adapt to changed <dev/ic/i8042reg.h>
 1.4 12-Jan-1998  thorpej Update for changes to config.
 1.3 12-Dec-1997  sakamoto add bus_space_{read,write}_multi_N macros
some fix.
 1.2 27-Nov-1997  sakamoto remove/import software interrupt model and external interrupt handler
from OpenBSD/powerpc.
move bus_space_* from bus_machdep.c to bus.h.
 1.1 14-Oct-1997  sakamoto branches: 1.1.2;
Initial commit of NetBSD/bebox port.
 1.1.2.2 23-Nov-1998  cgd Fix many real and potential security problems with character device
driver mmap routines that did not properly bounds check offsets.
See NetBSD security advisory NetBSD-SA1998-005 for details. Done
as a patch because it's large, and a fair number of bits are different
in -current. (mrg)
 1.1.2.1 28-Nov-1997  mellon Pull rev 1.2 up from trunk (sakamoto)
 1.15.8.2 22-Nov-2000  bouyer Sync with HEAD.
 1.15.8.1 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.17.4.1 30-Jun-2000  simonb Pull up mmap paddr_t/off_t changes from trunk.
 1.19.2.1 21-Jun-2001  nathanw Catch up to -current.
 1.20.2.3 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.20.2.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.20.2.1 03-Aug-2001  lukem update to -current
 1.21.6.7 11-Nov-2002  nathanw Catch up to -current
 1.21.6.6 18-Oct-2002  nathanw Catch up to -current.
 1.21.6.5 17-Sep-2002  nathanw Catch up to -current.
 1.21.6.4 24-Jun-2002  nathanw Curproc->curlwp renaming.

Change uses of "curproc->l_proc" back to "curproc", which is more like the
original use. Bare uses of "curproc" are now "curlwp".

"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL)
so that it is always safe to reference curproc (*de*referencing curproc
is another story, but that's always been true).
 1.21.6.3 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.21.6.2 05-Nov-2001  briggs Initial SA support for ppc. Test-booted on sandpoint, macppc, & walnut.
mcontext and cpu_getmcontext()/cpu_setmcontext() from Klaus Klein
<kleink@netbsd.org>.
 1.21.6.1 22-Jul-2001  briggs file pccons.c was added on branch nathanw_sa on 2001-11-05 19:46:13 +0000
 1.21.2.2 13-Oct-2001  fvdl Revert the t_dev -> t_devvp change in struct tty. The way that tty
structs are currently used (especially by console ttys) aren't
ready for it, and this will require quite a few changes.
 1.21.2.1 10-Oct-2001  fvdl Convert all remaining devices.
 1.22.4.1 19-May-2002  gehenna Add device switch.
Replace the access to devsw table and the hard-coded majors with devsw API.
 1.28.2.5 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.28.2.4 17-Jan-2005  skrll Adapt to branch.
 1.28.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.28.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.28.2.1 03-Aug-2004  skrll Sync with HEAD
 1.34.2.4 27-Oct-2007  yamt sync with head.
 1.34.2.3 03-Sep-2007  yamt sync with head.
 1.34.2.2 30-Dec-2006  yamt sync with head.
 1.34.2.1 21-Jun-2006  yamt sync with head.
 1.37.12.2 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.37.12.1 28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.37.10.4 13-May-2006  elad sprinkle some #include <sys/kauth.h> in files that use kauth kpi but
don't include it yet. hopefully this will prevent some fallout.
 1.37.10.3 19-Apr-2006  elad sync with head - hopefully this will work
 1.37.10.2 10-Mar-2006  elad generic_authorize() -> kauth_authorize_generic().
 1.37.10.1 08-Mar-2006  elad Adapt to kernel authorization KPI.

I expect *some* lossage here...
 1.37.8.3 11-Aug-2006  yamt sync with head
 1.37.8.2 24-May-2006  yamt sync with head.
 1.37.8.1 01-Apr-2006  yamt sync with head.
 1.37.6.2 01-Jun-2006  kardel Sync with head.
 1.37.6.1 22-Apr-2006  simonb Sync with head.
 1.37.4.1 09-Sep-2006  rpaulo sync with head
 1.40.6.1 22-Oct-2006  yamt sync with head
 1.40.4.1 18-Nov-2006  ad Sync with head.
 1.41.4.1 12-Mar-2007  rmind Sync with HEAD.
 1.42.10.2 09-Oct-2007  ober Removing unused files replaced by OEA equivalents.
 1.42.10.1 03-Oct-2007  garbled Sync with HEAD
 1.42.4.1 11-Jul-2007  mjf Sync with head.
 1.42.2.2 23-Oct-2007  ad Sync with head.
 1.42.2.1 15-Jul-2007  ad Sync with head.
 1.43.14.1 25-Oct-2007  bouyer Sync with HEAD.
 1.43.12.1 18-Oct-2007  yamt sync with head.
 1.43.10.1 06-Nov-2007  matt sync with HEAD
 1.43.8.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.8 18-Apr-2002  wiz Remove opms(4) for bebox (superseded by pms(4)).

Approved by christos.
 1.7 16-Sep-2001  wiz branches: 1.7.4;
Spell 'occurred' with two 'r's.
 1.6 28-Sep-1998  sakamoto branches: 1.6.24; 1.6.26;
pcvt is no longer used with bebox.
 1.5 15-Aug-1998  mycroft Make copyright notices with my name consistent.
 1.4 02-Feb-1998  sakamoto Eliminate __BROKEN_INDIRECT_CONFIG
 1.3 12-Jan-1998  thorpej Update for changes to config.
 1.2 27-Nov-1997  sakamoto remove/import software interrupt model and external interrupt handler
from OpenBSD/powerpc.
move bus_space_* from bus_machdep.c to bus.h.
 1.1 14-Oct-1997  sakamoto branches: 1.1.2;
Initial commit of NetBSD/bebox port.
 1.1.2.1 28-Nov-1997  mellon Pull rev 1.2 up from trunk (sakamoto)
 1.6.26.3 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.6.26.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.6.26.1 09-Sep-2001  thorpej Add kqueue support (not compiled yet).
 1.6.24.2 10-Oct-2001  fvdl Convert all remaining devices.
 1.6.24.1 01-Oct-2001  fvdl Catch up with -current.
 1.7.4.2 20-Jun-2002  nathanw Catch up to -current.
 1.7.4.1 16-Sep-2001  nathanw file pms.c was added on branch nathanw_sa on 2002-06-20 03:38:23 +0000
 1.19 17-Oct-2007  garbled Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.18 04-Mar-2007  christos branches: 1.18.2; 1.18.10; 1.18.18; 1.18.20; 1.18.22; 1.18.24;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.17 22-Feb-2007  thorpej TRUE -> true, FALSE -> false
 1.16 29-Mar-2006  thorpej branches: 1.16.14;
Use device_cfdata().
 1.15 25-Feb-2006  thorpej branches: 1.15.2; 1.15.4; 1.15.6;
Use device_is_a().
 1.14 11-Dec-2005  christos branches: 1.14.2; 1.14.4; 1.14.6;
merge ktrace-lwp.
 1.13 15-Jul-2003  lukem branches: 1.13.16;
__KERNEL_RCSID()
 1.12 23-Oct-2002  jdolecek branches: 1.12.6;
merge kqueue branch into -current

kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals

kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)

based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe
 1.11 02-Oct-2002  thorpej Use CFATTACH_DECL().
 1.10 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.9 27-Sep-2002  thorpej Rather than referencing the cfdriver directly in the cfdata entries,
instead use a string naming the driver. The cfdriver is then looked
up in a list which is built at run-time.
 1.8 06-Sep-2002  gehenna Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.

- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.

- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
 1.7 27-May-2000  thorpej branches: 1.7.6; 1.7.8; 1.7.12; 1.7.20;
Don't use sleep() and callouts; just use tsleep().
 1.6 23-Mar-2000  thorpej New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
resource allocation.
- Insertion and removal of callouts is constant time, important as
this facility is used quite a lot in the kernel.

The old timeout()/untimeout() API has been removed from the kernel.
 1.5 28-Sep-1998  sakamoto branches: 1.5.12;
pcvt is no longer used with bebox.
 1.4 02-Feb-1998  sakamoto Eliminate __BROKEN_INDIRECT_CONFIG
 1.3 12-Jan-1998  thorpej Update for changes to config.
 1.2 27-Nov-1997  sakamoto remove/import software interrupt model and external interrupt handler
from OpenBSD/powerpc.
move bus_space_* from bus_machdep.c to bus.h.
 1.1 14-Oct-1997  sakamoto branches: 1.1.2;
Initial commit of NetBSD/bebox port.
 1.1.2.1 28-Nov-1997  mellon Pull rev 1.2 up from trunk (sakamoto)
 1.5.12.1 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.7.20.1 17-May-2002  gehenna Add device switch.
 1.7.12.3 11-Nov-2002  nathanw Catch up to -current
 1.7.12.2 18-Oct-2002  nathanw Catch up to -current.
 1.7.12.1 17-Sep-2002  nathanw Catch up to -current.
 1.7.8.1 10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.7.6.1 10-Oct-2001  fvdl Convert all remaining devices.
 1.12.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.12.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.12.6.1 03-Aug-2004  skrll Sync with HEAD
 1.13.16.4 27-Oct-2007  yamt sync with head.
 1.13.16.3 03-Sep-2007  yamt sync with head.
 1.13.16.2 26-Feb-2007  yamt sync with head.
 1.13.16.1 21-Jun-2006  yamt sync with head.
 1.14.6.1 22-Apr-2006  simonb Sync with head.
 1.14.4.1 09-Sep-2006  rpaulo sync with head
 1.14.2.1 01-Mar-2006  yamt sync with head.
 1.15.6.1 31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.15.4.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.15.2.1 01-Apr-2006  yamt sync with head.
 1.16.14.2 12-Mar-2007  rmind Sync with HEAD.
 1.16.14.1 27-Feb-2007  yamt - sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
 1.18.24.1 25-Oct-2007  bouyer Sync with HEAD.
 1.18.22.1 18-Oct-2007  yamt sync with head.
 1.18.20.1 06-Nov-2007  matt sync with HEAD
 1.18.18.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.18.10.1 09-Oct-2007  ober Removing unused files replaced by OEA equivalents.
 1.18.2.1 23-Oct-2007  ad Sync with head.
 1.2 17-Oct-2007  garbled Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.1 14-Oct-1997  sakamoto branches: 1.1.66; 1.1.108; 1.1.116; 1.1.126; 1.1.128; 1.1.130; 1.1.132;
Initial commit of NetBSD/bebox port.
 1.1.132.1 25-Oct-2007  bouyer Sync with HEAD.
 1.1.130.1 18-Oct-2007  yamt sync with head.
 1.1.128.1 06-Nov-2007  matt sync with HEAD
 1.1.126.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.1.116.1 09-Oct-2007  ober Removing unused files replaced by OEA equivalents.
 1.1.108.1 23-Oct-2007  ad Sync with head.
 1.1.66.1 27-Oct-2007  yamt sync with head.
 1.2 03-Feb-1998  sakamoto Remove MD ed,wdc drivers.
 1.1 14-Oct-1997  sakamoto Initial commit of NetBSD/bebox port.
 1.10 17-Oct-2007  garbled Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.9 04-Mar-2007  christos branches: 1.9.2; 1.9.4; 1.9.6; 1.9.10; 1.9.12; 1.9.14;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.8 14-May-2006  elad branches: 1.8.8;
integrate kauth.
 1.7 15-Jul-2003  lukem branches: 1.7.6; 1.7.16; 1.7.20; 1.7.22; 1.7.24;
__KERNEL_RCSID()
 1.6 06-Sep-2002  gehenna branches: 1.6.6;
Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.

- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.

- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
 1.5 13-Aug-1998  eeh branches: 1.5.8; 1.5.10; 1.5.12; 1.5.14; 1.5.24; 1.5.26;
Merge paddr_t changes into the main branch.
 1.4 12-Jan-1998  thorpej branches: 1.4.2;
Update for changes to config.
 1.3 15-Dec-1997  sakamoto support IDE hard disk controllers (wdc) and drives (wd)
put wdc.c into bebox/isa directory temporarily
 1.2 27-Nov-1997  sakamoto remove/import software interrupt model and external interrupt handler
from OpenBSD/powerpc.
move bus_space_* from bus_machdep.c to bus.h.
 1.1 14-Oct-1997  sakamoto branches: 1.1.2;
Initial commit of NetBSD/bebox port.
 1.1.2.2 10-May-1998  mycroft Pull up patch from mycroft.
 1.1.2.1 28-Nov-1997  mellon Pull rev 1.2 up from trunk (sakamoto)
 1.4.2.1 08-Aug-1998  eeh Revert cdevsw mmap routines to return int.
 1.5.26.2 17-Sep-2002  nathanw Catch up to -current.
 1.5.26.1 13-Aug-2002  nathanw Catch up to -current.
 1.5.24.1 17-May-2002  gehenna Add device switch.
 1.5.14.1 01-Oct-2001  fvdl Catch up with -current.
 1.5.12.1 11-Feb-2002  jdolecek Sync w/ -current.
 1.5.10.1 21-Jun-2001  nathanw Catch up to -current.
 1.5.8.1 15-Nov-1999  fvdl Sync with -current
 1.6.6.1 03-Aug-2004  skrll Sync with HEAD
 1.7.24.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.7.22.2 28-Mar-2006  tron Remove dead file which the last merge brought back for some strange reason.
 1.7.22.1 28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.7.20.1 14-Sep-2006  yamt sync with head.
 1.7.16.1 09-Sep-2006  rpaulo sync with head
 1.7.6.2 27-Oct-2007  yamt sync with head.
 1.7.6.1 03-Sep-2007  yamt sync with head.
 1.8.8.1 12-Mar-2007  rmind Sync with HEAD.
 1.9.14.1 25-Oct-2007  bouyer Sync with HEAD.
 1.9.12.1 18-Oct-2007  yamt sync with head.
 1.9.10.1 26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.9.6.2 11-Jul-2007  mjf Sync with head.
 1.9.6.1 04-Mar-2007  mjf file wd.c was added on branch mjf-ufs-trans on 2007-07-11 19:58:26 +0000
 1.9.4.1 09-Oct-2007  ober Removing unused files replaced by OEA equivalents.
 1.9.2.3 23-Oct-2007  ad Sync with head.
 1.9.2.2 09-Oct-2007  ad Sync with head.
 1.9.2.1 09-Jun-2007  ad Sync with head.
 1.4 03-Feb-1998  sakamoto Remove MD ed,wdc drivers.
 1.3 12-Jan-1998  thorpej Update for changes to config.
 1.2 12-Jan-1998  sakamoto Sync w/ dev/isa/wdc.c
 1.1 15-Dec-1997  sakamoto support IDE hard disk controllers (wdc) and drives (wd)
put wdc.c into bebox/isa directory temporarily

RSS XML Feed