Home | History | Annotate | only in /src/sys/arch/alpha/isa
History log of /src/sys/arch/alpha/isa
RevisionDateAuthorComments
 1.11 15-Jan-1998  thorpej No longer needed; we use the MI IDE driver now.
 1.10 12-Jan-1998  thorpej Adjust for config changes.
 1.9 08-Oct-1997  thorpej branches: 1.9.2;
Implement DIOCGDEFLABEL.
 1.8 19-Jul-1997  cgd branches: 1.8.2;
sync with dev/isa/wd.c rev. 1.162:
>date: 1997/07/18 00:26:22; author: fvdl; state: Exp; lines: +10 -10
>Work around possible race condition with 2 drives on one controller
>in wd_get_parms. PR 3773, from Onno van der Linden (onno@simplex.nl)
S: ----------------------------------------------------------------------
 1.7 17-Jul-1997  jtk use locator defines in "locators.h" to index cf_loc[]
 1.6 24-Jun-1997  thorpej foosize()'s return value is in DEV_BSIZE units; adjust the size obtained
from the disklabel accordingly.
 1.5 18-Jun-1997  pk Remove spurious line left over in previous commit.
Also, use parentheses like in <dev/isa/wd.c>
 1.4 18-Jun-1997  pk wdsize(): only call wdopen()/wdclose() if not already open, per the
current `openmask'.
 1.3 21-Apr-1997  cgd branches: 1.3.2;
minimal changes to make hacked wd driver work under a different name.
It is configured (in config files) as 'awdc'/'awd', but shows up as
'wdc'/'wd', so that a minimal amount of code had to be modified to make
the name change work. This is only intended to be temporary, anyway.
 1.2 21-Apr-1997  cgd Convert to use bus_space_* macros. The resulting code isn't quite correct,
but works on the alpha (since there's currently no floppy drive support).
 1.1 21-Apr-1997  cgd copy ISA wd driver from /sys/dev/isa/wd.c. This rev is unmodified.
This is temporary, until /sys/dev/isa/wd.c is properly bus_space_*-ified.
 1.3.2.3 22-Jul-1997  cgd sync nwscons branch with changes in -current as of July 21, 1997
 1.3.2.2 01-Jun-1997  cgd sync the nwscons branch up with yesterday's version of the trunk.
Lots of conflicts/changes because of the RCS Id format changes.
Also, a few cleanups and corrections.
 1.3.2.1 21-Apr-1997  cgd file awd.c was added on branch alpha-nwscons on 1997-06-01 04:12:45 +0000
 1.8.2.1 14-Oct-1997  thorpej Update marc-pcmcia branch from trunk.
 1.9.2.1 10-May-1998  mycroft Pull up patch from mycroft.
 1.11 07-Apr-2000  thorpej Use dev/isa/fd.c.
 1.10 24-Mar-2000  thorpej Fallout from callout.
 1.9 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.8 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.7 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.6 21-Jan-2000  thorpej Update for sys/buf.h/disksort_*() changes.
 1.5 24-Mar-1999  mrg branches: 1.5.8; 1.5.14;
completely remove Mach VM support. all that is left is the all the
header files as UVM still uses (most of) these.
 1.4 28-Feb-1999  explorer Update to slightly altered rnd_attach_source() api
 1.3 22-Feb-1999  mycroft Use DMAMODE_DEMAND. Tested on an AS200.
 1.2 19-Feb-1999  mycroft Kill vestiges of isa_establish().
 1.1 18-Feb-1999  thorpej Floppy driver for NetBSD/alpha, copied from i386 port, and munged to take
out the i386'isms (i.e. no NVRAM read for default floppy type; floppies
just default to 1.44MB).
 1.5.14.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.5.8.1 20-Nov-2000  bouyer Remove files that are no longer on the trunck
 1.3 07-Apr-2000  thorpej Use dev/isa/fd.c.
 1.2 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.1 18-Feb-1999  thorpej branches: 1.1.8;
Floppy driver for NetBSD/alpha, copied from i386 port, and munged to take
out the i386'isms (i.e. no NVRAM read for default floppy type; floppies
just default to 1.44MB).
 1.1.8.1 20-Nov-2000  bouyer Remove files that are no longer on the trunck
 1.2 23-Nov-1995  cgd wholesale update from my NetBSD/Alpha source tree. Includes:
Support for AXPpci CPUs,
Support for AlphaStation 600 CPUs,
new boot block structure, which requires an 'installboot'
program and works a lot like the NetBSD/sparc boot blocks.
 1.1 28-Jun-1995  cgd ISA and PCI support for DEC AlphaStations
 1.2 23-Nov-1995  cgd wholesale update from my NetBSD/Alpha source tree. Includes:
Support for AXPpci CPUs,
Support for AlphaStation 600 CPUs,
new boot block structure, which requires an 'installboot'
program and works a lot like the NetBSD/sparc boot blocks.
 1.1 28-Jun-1995  cgd ISA and PCI support for DEC AlphaStations
 1.22 07-May-2021  thorpej Liberally sprinkle static around to get more symbols out of the
global namespace. A small bit of const poisoning in the TC code.
 1.21 06-Feb-2012  matt branches: 1.21.64;
Do a minor cleanup of alpha (this will make applying pullups post branching
easier).
u_int{8,16,32,64}_t -> uint{*}_t
Change all old-style definitions to C89 prototypes.
Whitespace cleanup.
Constification in db_disasm.c
 1.20 06-Jun-2011  matt branches: 1.20.2; 1.20.6;
CFATTACH_DECL(..., sizeof(struct device), -> CFATTACH_DECL_NEW(..., 0
struct device * -> device_t
struct cfdata * -> cfdata_t
 1.19 15-Dec-2010  matt branches: 1.19.6;
rework <uvm/uvm_extern.h> includes.
 1.18 14-Mar-2009  dsl branches: 1.18.4;
ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.
 1.17 14-Mar-2009  dsl Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.16 14-Mar-2009  dsl Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
 1.15 02-Oct-2002  thorpej branches: 1.15.112; 1.15.120; 1.15.126;
Use CFATTACH_DECL().
 1.14 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.13 29-Jun-2000  mrg branches: 1.13.2; 1.13.4;
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
 1.12 07-Aug-1998  drochner branches: 1.12.12;
implemt a simple "beep" device to access the ISA speaker
 1.11 28-May-1998  drochner pull in new PC display headers
 1.10 15-Apr-1998  drochner Adapt ISA console selection ti new mi drivers.
(was broken anyway, a "++" was missing somewhere)
 1.9 02-Sep-1997  thorpej Nuke the idea of <machine/options.h>. It completely defeats the purpose
of fine-grain option dependencies.
 1.8 07-Apr-1997  cgd branches: 1.8.4;
by default, provide RCS IDs for NetBSD/alpha kernel files in kernel binaries.
This can be disabled (to save a bit of space) with the NO_KERNEL_RCSIDS
options, which is present but commented out in the ALPHA config file.
In ELF-format kernels, these strings are present in the kernel binary but
are not loaded into memory. (In ECOFF-format kernels, there's no easy way
to keep them from being loaded, so they _are_ loaded into memory.)
 1.7 06-Apr-1997  cgd clean up NetBSD RCS ID strings, include machine/options.h
 1.6 06-Apr-1997  cgd fix bogon in comment (s/PCI/ISA/)
 1.5 23-Nov-1996  cgd branches: 1.5.2;
update for new names for ISA VGA console match and attach functions
 1.4 19-Nov-1996  cgd implement isa_display_console(), to be used when console is an ISA display dev
 1.3 23-Nov-1995  cgd wholesale update from my NetBSD/Alpha source tree. Includes:
Support for AXPpci CPUs,
Support for AlphaStation 600 CPUs,
new boot block structure, which requires an 'installboot'
program and works a lot like the NetBSD/sparc boot blocks.
 1.2 03-Aug-1995  cgd oops; trim some bogus 1994's from copyrights
 1.1 28-Jun-1995  cgd ISA and PCI support for DEC AlphaStations
 1.5.2.1 01-Jun-1997  cgd sync the nwscons branch up with yesterday's version of the trunk.
Lots of conflicts/changes because of the RCS Id format changes.
Also, a few cleanups and corrections.
 1.8.4.1 04-Sep-1997  thorpej Update marc-pcmcia branch from trunk.
 1.12.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.13.4.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.13.2.1 18-Oct-2002  nathanw Catch up to -current.
 1.15.126.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.15.120.1 28-Apr-2009  skrll Sync with HEAD.
 1.15.112.1 04-May-2009  yamt sync with head.
 1.18.4.2 12-Jun-2011  rmind sync with head
 1.18.4.1 05-Mar-2011  rmind sync with head
 1.19.6.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.20.6.1 18-Feb-2012  mrg merge to -current.
 1.20.2.1 17-Apr-2012  yamt sync with head
 1.21.64.1 13-May-2021  thorpej Sync with HEAD.
 1.10 19-Mar-1999  cgd move isa/isa_machdep.h to include/isa_machdep.h. (can't do it via
repository copy because alpha already had an include/isa_machdep.h in
the attic.)
 1.9 07-Aug-1998  drochner implemt a simple "beep" device to access the ISA speaker
 1.8 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.7 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.6 23-May-1998  matt Add isa_intr_alloc macro (for PCMCIA).
 1.5 15-Apr-1998  drochner Adapt ISA console selection ti new mi drivers.
(was broken anyway, a "++" was missing somewhere)
 1.4 06-Apr-1997  cgd clean up NetBSD RCS ID strings
 1.3 19-Nov-1996  cgd branches: 1.3.2;
add an isa_display_console() function, to be used when console is an ISA dev
 1.2 12-Apr-1996  cgd define all of the appropriate functions, as indirections through
a function switch.
 1.1 12-Apr-1996  cgd (incomplete) machine-dependent ISA definitions.
 1.3.2.1 01-Jun-1997  cgd sync the nwscons branch up with yesterday's version of the trunk.
Lots of conflicts/changes because of the RCS Id format changes.
Also, a few cleanups and corrections.
 1.17 22-Jan-2022  skrll Ensure bus_dmatag_subregion is called with an inclusive max_addr
everywhere.
 1.16 17-Dec-2021  skrll Correct copypaste comment grammar.
 1.15 07-May-2021  thorpej Liberally sprinkle static around to get more symbols out of the
global namespace. A small bit of const poisoning in the TC code.
 1.14 18-Nov-2020  thorpej branches: 1.14.4;
malloc(9) -> kmem(9)
 1.13 29-Feb-2016  christos branches: 1.13.30;
PR/50854: David Binderman: Remove redundant code.
 1.12 06-Feb-2012  matt branches: 1.12.6; 1.12.24;
Do a minor cleanup of alpha (this will make applying pullups post branching
easier).
u_int{8,16,32,64}_t -> uint{*}_t
Change all old-style definitions to C89 prototypes.
Whitespace cleanup.
Constification in db_disasm.c
 1.11 01-Jul-2011  dyoung branches: 1.11.2; 1.11.6;
#include <sys/bus.h> instead of <machine/bus.h>.
 1.10 15-Dec-2010  matt rework <uvm/uvm_extern.h> includes.
 1.9 14-Mar-2009  dsl branches: 1.9.4;
Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
 1.8 28-Apr-2008  martin branches: 1.8.8; 1.8.14;
Remove clause 3 and 4 from TNF licenses
 1.7 04-Mar-2007  yamt branches: 1.7.40; 1.7.42; 1.7.44;
fix fallout from caddr_t changes.
 1.6 04-Mar-2007  christos Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.5 05-May-2003  fvdl branches: 1.5.18; 1.5.56;
Move definition of ISA_DMA_BOUNCE_THRESHOLD to dev/isa/isareg.h.
 1.4 26-Apr-2002  thorpej Keep track of which DMA window was actually used to map the
request (not always the passed in DMA tag if we try direct-map
and then fall back to sgmap-mapped). Use the actual window
when performing dmamap_sync and dmamap_unload operations.

Fixes DMA resource leak on systems with 2G+ RAM. Thanks to
Matt Thomas for help debugging this.
 1.3 29-Jun-2000  mrg branches: 1.3.2; 1.3.4; 1.3.6;
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
 1.2 01-Jun-2000  thorpej branches: 1.2.2; 1.2.4;
Forgot __KERNEL_RCSID().
 1.1 01-Jun-2000  thorpej ISA DMA bounce buffer code, needed for a couple of SGMAP-less
systems, support for which will be hitting the tree soon.
 1.2.4.2 22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.2.4.1 01-Jun-2000  minoura file isadma_bounce.c was added on branch minoura-xpg4dl on 2000-06-22 16:58:37 +0000
 1.2.2.1 27-Apr-2002  he Pull up revision 1.4 (requested by thorpej):
Fix a DMA resource leak on Alpha systems with more than 1GB of
RAM.
 1.3.6.1 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.3.4.1 20-Jun-2002  nathanw Catch up to -current.
 1.3.2.2 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.3.2.1 29-Jun-2000  bouyer file isadma_bounce.c was added on branch thorpej_scsipi on 2000-11-20 19:56:57 +0000
 1.5.56.1 12-Mar-2007  rmind Sync with HEAD.
 1.5.18.1 03-Sep-2007  yamt sync with head.
 1.7.44.2 04-May-2009  yamt sync with head.
 1.7.44.1 16-May-2008  yamt sync with head.
 1.7.42.1 18-May-2008  yamt sync with head.
 1.7.40.1 02-Jun-2008  mjf Sync with HEAD.
 1.8.14.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.8.8.1 28-Apr-2009  skrll Sync with HEAD.
 1.9.4.1 05-Mar-2011  rmind sync with head
 1.11.6.1 18-Feb-2012  mrg merge to -current.
 1.11.2.1 17-Apr-2012  yamt sync with head
 1.12.24.1 19-Mar-2016  skrll Sync with HEAD
 1.12.6.1 03-Dec-2017  jdolecek update from HEAD
 1.13.30.1 14-Dec-2020  thorpej Sync w/ HEAD.
 1.14.4.1 13-May-2021  thorpej Sync with HEAD.
 1.8 19-Jul-2000  thorpej This file is obsolsete.
 1.7 02-Sep-1997  thorpej branches: 1.7.18; 1.7.28;
Nuke the idea of <machine/options.h>. It completely defeats the purpose
of fine-grain option dependencies.
 1.6 07-Apr-1997  cgd branches: 1.6.4;
by default, provide RCS IDs for NetBSD/alpha kernel files in kernel binaries.
This can be disabled (to save a bit of space) with the NO_KERNEL_RCSIDS
options, which is present but commented out in the ALPHA config file.
In ELF-format kernels, these strings are present in the kernel binary but
are not loaded into memory. (In ECOFF-format kernels, there's no easy way
to keep them from being loaded, so they _are_ loaded into memory.)
 1.5 06-Apr-1997  cgd clean up NetBSD RCS ID strings, include machine/options.h
 1.4 13-Oct-1996  christos branches: 1.4.2;
backout previous kprintf change
 1.3 10-Oct-1996  christos printf -> kprintf, sprintf -> ksprintf
 1.2 12-Apr-1996  cgd add CMU copyright notice
 1.1 28-Jun-1995  cgd ISA and PCI support for DEC AlphaStations
 1.4.2.1 01-Jun-1997  cgd sync the nwscons branch up with yesterday's version of the trunk.
Lots of conflicts/changes because of the RCS Id format changes.
Also, a few cleanups and corrections.
 1.6.4.1 04-Sep-1997  thorpej Update marc-pcmcia branch from trunk.
 1.7.28.1 19-Jul-2000  thorpej Update from trunk:
This file is obsolete.
 1.7.18.1 20-Nov-2000  bouyer Remove files that are no longer on the trunck
 1.9 04-Jul-2021  thorpej Remove unnecessary #include <sys/malloc.h>
 1.8 01-Jul-2011  dyoung branches: 1.8.70;
#include <sys/bus.h> instead of <machine/bus.h>.
 1.7 14-Mar-2009  dsl Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.6 28-Apr-2008  martin branches: 1.6.8; 1.6.14;
Remove clause 3 and 4 from TNF licenses
 1.5 11-Dec-2005  christos branches: 1.5.74; 1.5.76; 1.5.78;
merge ktrace-lwp.
 1.4 14-Jul-2003  lukem add __KERNEL_RCSID() (using 1, for #included .c files)
 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;
Machine-dependent ISA PnP goo for NetBSD/alpha.
 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:35 +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.5.78.2 04-May-2009  yamt sync with head.
 1.5.78.1 16-May-2008  yamt sync with head.
 1.5.76.1 18-May-2008  yamt sync with head.
 1.5.74.1 02-Jun-2008  mjf Sync with HEAD.
 1.6.14.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.6.8.1 28-Apr-2009  skrll Sync with HEAD.
 1.8.70.1 01-Aug-2021  thorpej Sync with HEAD.
 1.4 19-Mar-1999  cgd Moved to arch/alpha/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;
Machine-dependent ISA PnP goo for NetBSD/alpha.
 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:35 +0000
 1.22 06-Mar-2024  thorpej Wrap the mcclock driver's mc146818_softc inside a new mcclock_softc.
This commit represents no functional change, but forms the basis for
a future functional change.
 1.21 07-May-2021  thorpej Liberally sprinkle static around to get more symbols out of the
global namespace. A small bit of const poisoning in the TC code.
 1.20 01-Jul-2011  dyoung branches: 1.20.70;
#include <sys/bus.h> instead of <machine/bus.h>.
 1.19 29-Mar-2008  tsutsui Don't forget to initialize sc_dev.
 1.18 28-Mar-2008  tsutsui Split device_t and softc for MI mc146818 clock,
and other related misc cosmetics.
 1.17 17-Oct-2007  garbled branches: 1.17.16;
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.16 21-Jul-2007  tsutsui branches: 1.16.6;
Add MI todr(9) support and timercounter(9) support with kern_cctr.c to alpha:
- use todr(9) API with MI mc146818(4) driver and remove homegrown
todr stuff from MD alpha/clock.c and alpha/mcclock.c
- also remove obsolete cc_microtime stuff from MD code
- add ci_pcc_freq member in struct cpu_info for cpu_frequency(), and
calibrate it with mc146818 interval clock in mcclock attachment
- call cc_init() in cpu_initclocks(9) because all alpha cpus have
a pcc counter

Tested on DEC 3000/300 and AlphaPC 164, but not on any SMP machines yet.
 1.15 11-Dec-2005  christos branches: 1.15.30; 1.15.38; 1.15.42; 1.15.44;
merge ktrace-lwp.
 1.14 14-Sep-2004  drochner branches: 1.14.12;
adapt to ISA "unknown address" namespace separation
 1.13 02-Oct-2002  thorpej branches: 1.13.6;
Use CFATTACH_DECL().
 1.12 27-Sep-2002  thorpej Declare all cfattach structures const.
 1.11 07-Jan-2002  thorpej Overhaul of the ISA autoconfiguration code to support direct
configuration of devices logically attached to the ISA bus:

* Change the isa_attach_args to have arrays of io, mem, irq, drq
resources.
* Add a "pnpnames" and a linked list of "pnpcompatnames" to the
isa_attach_args. If either of these members are non-NULL,
direct configuration of the bus is being performed. Add an
ISA_DIRECT_CONFIG() macro to test for this.
* Drivers are not allowed to modify the isa_attach_args unless
direct configuration is not being performed and the probe fucntion
is returning success.
* Adapt device drivers -- currently, all driver probe routines return
"no match" if ISA_DIRECT_CONFIG() evaluates to true.
 1.10 02-Sep-1997  thorpej branches: 1.10.30; 1.10.32;
Nuke the idea of <machine/options.h>. It completely defeats the purpose
of fine-grain option dependencies.
 1.9 22-Jul-1997  jonathan branches: 1.9.2;
Use new <dev/dec/clockvar.h> and and <dev/dec/mcclokvar.h>.
Garbage-collect original headers from sys/arch/alpha.
 1.8 07-Apr-1997  cgd by default, provide RCS IDs for NetBSD/alpha kernel files in kernel binaries.
This can be disabled (to save a bit of space) with the NO_KERNEL_RCSIDS
options, which is present but commented out in the ALPHA config file.
In ELF-format kernels, these strings are present in the kernel binary but
are not loaded into memory. (In ECOFF-format kernels, there's no easy way
to keep them from being loaded, so they _are_ loaded into memory.)
 1.7 06-Apr-1997  cgd clean up NetBSD RCS ID strings, include machine/options.h
 1.6 08-Dec-1996  cgd remove all traces of __BROKEN_INDIRECT_CONFIG (except in shared drivers)
 1.5 05-Dec-1996  cgd update these so they compile whether or not __BROKEN_INDIRECT_CONFIG
is defined.
 1.4 23-Nov-1996  cgd branches: 1.4.2;
clean up match: check args more carefully, make sure I/O space can be mapped
 1.3 23-Oct-1996  cgd update for new bus.h macros. bus_io_* and bus_mem_* integrated into
single bus_space_* framework. Unfortunately, bus_space_{read,write}_*
operations still imply barriers. That will change soon.
 1.2 17-Apr-1996  cgd fix copyrights
 1.1 17-Apr-1996  cgd clean up clock handling: clock drivers are now seperate from the
chip-independent clock code. 'clock' has been renamed 'mcclock' 'clock'
has been renamed 'mcclock' (since it's a driver for that particular
clock, and since eventually there may be another clock chip driver),
and now attaches via seperate match/attach functions to both TC and ISA.
This removes a whole lot of #ifdefs...
 1.4.2.4 12-Aug-1997  cgd sync with -current as of August 11, 1997
 1.4.2.3 01-Jun-1997  cgd sync the nwscons branch up with yesterday's version of the trunk.
Lots of conflicts/changes because of the RCS Id format changes.
Also, a few cleanups and corrections.
 1.4.2.2 08-Dec-1996  cgd sync __BROKEN_INDIRECT_CONFIG removal with trunk.
 1.4.2.1 07-Dec-1996  cgd mostly sync with changes on the trunk
 1.9.2.1 04-Sep-1997  thorpej Update marc-pcmcia branch from trunk.
 1.10.32.2 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.10.32.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.10.30.3 18-Oct-2002  nathanw Catch up to -current.
 1.10.30.2 28-Feb-2002  nathanw Catch up to -current.
 1.10.30.1 11-Jan-2002  nathanw More catchup.
 1.13.6.2 21-Sep-2004  skrll Fix the sync with head I botched.
 1.13.6.1 18-Sep-2004  skrll Sync with HEAD.
 1.14.12.1 03-Sep-2007  yamt sync with head.
 1.15.44.1 15-Aug-2007  skrll Sync with HEAD.
 1.15.42.1 07-Aug-2007  matt Sync with HEAD.
 1.15.38.1 03-Oct-2007  garbled Sync with HEAD
 1.15.30.1 20-Aug-2007  ad Sync with HEAD.
 1.16.6.1 06-Nov-2007  matt sync with HEAD
 1.17.16.1 03-Apr-2008  mjf Sync with HEAD.
 1.20.70.1 13-May-2021  thorpej Sync with HEAD.
 1.24 24-Apr-1998  drochner Drivers for PC-like console devices are MI now.
 1.23 15-Apr-1998  thorpej Don't use the ISA `delay port', since it no longer exists.
 1.22 18-Jan-1998  drochner adapt to changed <dev/ic/i8042reg.h>
 1.21 12-Jan-1998  thorpej Adjust for config changes.
 1.20 25-Sep-1997  thorpej Enter DDB on cntl-alt-esc (a'la i386).
 1.19 02-Sep-1997  thorpej Nuke the idea of <machine/options.h>. It completely defeats the purpose
of fine-grain option dependencies.
 1.18 07-Apr-1997  cgd branches: 1.18.4;
by default, provide RCS IDs for NetBSD/alpha kernel files in kernel binaries.
This can be disabled (to save a bit of space) with the NO_KERNEL_RCSIDS
options, which is present but commented out in the ALPHA config file.
In ELF-format kernels, these strings are present in the kernel binary but
are not loaded into memory. (In ECOFF-format kernels, there's no easy way
to keep them from being loaded, so they _are_ loaded into memory.)
 1.17 07-Apr-1997  cgd use machine/conf.h instead of sys/conf.h and/or machine/cpuconf.h
 1.16 06-Apr-1997  cgd clean up NetBSD RCS ID strings, include machine/options.h
 1.15 08-Dec-1996  cgd remove all traces of __BROKEN_INDIRECT_CONFIG (except in shared drivers)
 1.14 05-Dec-1996  cgd update these so they compile whether or not __BROKEN_INDIRECT_CONFIG
is defined.
 1.13 25-Nov-1996  cgd branches: 1.13.2;
Add a primitive driver for the PC-ish Programmable Peripheral Interface
and PC-ish keyboard controller. (Actually, on alphas, the built-in PPI
(in the SIO) appears to be a lobotomized version of the original, but
i'd not call that a bad thing.) This driver should eventually handle all
speaker tone requests and keyboard commands, but for now it just maps
the relevant ports and passes them on to the keyboard and mouse drivers,
which are now its children (rather than children of ISA).
 1.12 19-Nov-1996  cgd catch up with wscons frame buffer attachment, mmap, and ioctl
interface changes.
 1.11 13-Nov-1996  cgd compile cleanly with:
-Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual
 1.10 23-Oct-1996  cgd update for new bus.h macros. bus_io_* and bus_mem_* integrated into
single bus_space_* framework. Unfortunately, bus_space_{read,write}_*
operations still imply barriers. That will change soon.
 1.9 13-Oct-1996  christos backout previous kprintf change
 1.8 10-Oct-1996  christos printf -> kprintf, sprintf -> ksprintf
 1.7 05-May-1996  thorpej Don't attempt to map the `delay port' (0x84). It's mapped and exported
by the ISA bus attach code.
 1.6 23-Apr-1996  cgd Changes from Trevor Mendez <tmendez@bbn.com> to make this compile
with NWSCONS == 0.
 1.5 12-Apr-1996  cgd update for bus.h, add support for X, and provide use of the bell.
 1.4 17-Mar-1996  thorpej New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.
 1.3 24-Dec-1995  mycroft The IST_* and IPL_* constants are not bus-specific; don't treat them as such.
Change splimp -> splnet in Ethernet, ARCnet, and FDDI drivers.
 1.2 23-Nov-1995  cgd wholesale update from my NetBSD/Alpha source tree. Includes:
Support for AXPpci CPUs,
Support for AlphaStation 600 CPUs,
new boot block structure, which requires an 'installboot'
program and works a lot like the NetBSD/sparc boot blocks.
 1.1 03-Aug-1995  cgd pc keyboard driver, largely snarfed from i386. should be MI, but
until the i386 is capable of using a 'split' version, no point.
 1.13.2.6 01-Jun-1997  cgd sync the nwscons branch up with yesterday's version of the trunk.
Lots of conflicts/changes because of the RCS Id format changes.
Also, a few cleanups and corrections.
 1.13.2.5 01-Feb-1997  cgd Add (gross) hacks to allow proper early attachment of console keyboard.
The pckbd driver is getting nastier and nastier. "It needs cleaned."
 1.13.2.4 31-Jan-1997  cgd fix type/value reporting
 1.13.2.3 08-Dec-1996  cgd sync __BROKEN_INDIRECT_CONFIG removal with trunk.
 1.13.2.2 07-Dec-1996  cgd mostly sync with changes on the trunk
 1.13.2.1 07-Dec-1996  cgd snapshot of work in progress (on private branch): first checkin of
reimplemented 'wscons' interfaces.
 1.18.4.2 29-Sep-1997  thorpej Update marc-pcmcia branch from trunk.
 1.18.4.1 04-Sep-1997  thorpej Update marc-pcmcia branch from trunk.
 1.3 24-Apr-1998  drochner Drivers for PC-like console devices are MI now.
 1.2 06-Apr-1997  cgd clean up NetBSD RCS ID strings
 1.1 03-Aug-1995  cgd branches: 1.1.4;
pc keyboard driver, largely snarfed from i386. should be MI, but
until the i386 is capable of using a 'split' version, no point.
 1.1.4.1 01-Jun-1997  cgd sync the nwscons branch up with yesterday's version of the trunk.
Lots of conflicts/changes because of the RCS Id format changes.
Also, a few cleanups and corrections.
 1.10 24-Apr-1998  drochner Drivers for PC-like console devices are MI now.
 1.9 15-Apr-1998  mjacob delay handle was removed
 1.8 12-Jan-1998  thorpej Adjust for config changes.
 1.7 02-Sep-1997  thorpej Nuke the idea of <machine/options.h>. It completely defeats the purpose
of fine-grain option dependencies.
 1.6 07-Apr-1997  cgd branches: 1.6.4;
by default, provide RCS IDs for NetBSD/alpha kernel files in kernel binaries.
This can be disabled (to save a bit of space) with the NO_KERNEL_RCSIDS
options, which is present but commented out in the ALPHA config file.
In ELF-format kernels, these strings are present in the kernel binary but
are not loaded into memory. (In ECOFF-format kernels, there's no easy way
to keep them from being loaded, so they _are_ loaded into memory.)
 1.5 06-Apr-1997  cgd clean up NetBSD RCS ID strings, include machine/options.h
 1.4 08-Dec-1996  cgd remove all traces of __BROKEN_INDIRECT_CONFIG (except in shared drivers)
 1.3 05-Dec-1996  cgd update these so they compile whether or not __BROKEN_INDIRECT_CONFIG
is defined.
 1.2 25-Nov-1996  cgd branches: 1.2.2;
hide a bogosity by not printing a message when pms not attached
 1.1 25-Nov-1996  cgd Add a primitive driver for the PC-ish Programmable Peripheral Interface
and PC-ish keyboard controller. (Actually, on alphas, the built-in PPI
(in the SIO) appears to be a lobotomized version of the original, but
i'd not call that a bad thing.) This driver should eventually handle all
speaker tone requests and keyboard commands, but for now it just maps
the relevant ports and passes them on to the keyboard and mouse drivers,
which are now its children (rather than children of ISA).
 1.2.2.4 01-Jun-1997  cgd sync the nwscons branch up with yesterday's version of the trunk.
Lots of conflicts/changes because of the RCS Id format changes.
Also, a few cleanups and corrections.
 1.2.2.3 01-Feb-1997  cgd Add (gross) hacks to allow proper early attachment of console keyboard.
The pckbd driver is getting nastier and nastier. "It needs cleaned."
 1.2.2.2 08-Dec-1996  cgd sync __BROKEN_INDIRECT_CONFIG removal with trunk.
 1.2.2.1 07-Dec-1996  cgd mostly sync with changes on the trunk
 1.6.4.1 04-Sep-1997  thorpej Update marc-pcmcia branch from trunk.
 1.4 24-Apr-1998  drochner Drivers for PC-like console devices are MI now.
 1.3 15-Apr-1998  thorpej Don't need "delaybah" in the attach args anymore.
 1.2 06-Apr-1997  cgd clean up NetBSD RCS ID strings
 1.1 25-Nov-1996  cgd branches: 1.1.2;
Add a primitive driver for the PC-ish Programmable Peripheral Interface
and PC-ish keyboard controller. (Actually, on alphas, the built-in PPI
(in the SIO) appears to be a lobotomized version of the original, but
i'd not call that a bad thing.) This driver should eventually handle all
speaker tone requests and keyboard commands, but for now it just maps
the relevant ports and passes them on to the keyboard and mouse drivers,
which are now its children (rather than children of ISA).
 1.1.2.2 01-Jun-1997  cgd sync the nwscons branch up with yesterday's version of the trunk.
Lots of conflicts/changes because of the RCS Id format changes.
Also, a few cleanups and corrections.
 1.1.2.1 01-Feb-1997  cgd Add (gross) hacks to allow proper early attachment of console keyboard.
The pckbd driver is getting nastier and nastier. "It needs cleaned."
 1.13 24-Apr-1998  drochner Drivers for PC-like console devices are MI now.
 1.12 12-Jan-1998  thorpej Adjust for config changes.
 1.11 02-Sep-1997  thorpej Nuke the idea of <machine/options.h>. It completely defeats the purpose
of fine-grain option dependencies.
 1.10 07-Apr-1997  cgd branches: 1.10.4;
by default, provide RCS IDs for NetBSD/alpha kernel files in kernel binaries.
This can be disabled (to save a bit of space) with the NO_KERNEL_RCSIDS
options, which is present but commented out in the ALPHA config file.
In ELF-format kernels, these strings are present in the kernel binary but
are not loaded into memory. (In ECOFF-format kernels, there's no easy way
to keep them from being loaded, so they _are_ loaded into memory.)
 1.9 06-Apr-1997  cgd clean up NetBSD RCS ID strings, include machine/options.h
 1.8 08-Dec-1996  cgd remove all traces of __BROKEN_INDIRECT_CONFIG (except in shared drivers)
 1.7 05-Dec-1996  cgd update these so they compile whether or not __BROKEN_INDIRECT_CONFIG
is defined.
 1.6 25-Nov-1996  cgd branches: 1.6.2;
Add a primitive driver for the PC-ish Programmable Peripheral Interface
and PC-ish keyboard controller. (Actually, on alphas, the built-in PPI
(in the SIO) appears to be a lobotomized version of the original, but
i'd not call that a bad thing.) This driver should eventually handle all
speaker tone requests and keyboard commands, but for now it just maps
the relevant ports and passes them on to the keyboard and mouse drivers,
which are now its children (rather than children of ISA).
 1.5 13-Nov-1996  cgd compile cleanly with:
-Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual
 1.4 23-Oct-1996  cgd update for new bus.h macros. bus_io_* and bus_mem_* integrated into
single bus_space_* framework. Unfortunately, bus_space_{read,write}_*
operations still imply barriers. That will change soon.
 1.3 13-Oct-1996  christos backout previous kprintf change
 1.2 10-Oct-1996  christos printf -> kprintf, sprintf -> ksprintf
 1.1 12-Apr-1996  cgd support for PS/2-style mice
 1.6.2.4 01-Jun-1997  cgd sync the nwscons branch up with yesterday's version of the trunk.
Lots of conflicts/changes because of the RCS Id format changes.
Also, a few cleanups and corrections.
 1.6.2.3 08-Dec-1996  cgd sync __BROKEN_INDIRECT_CONFIG removal with trunk.
 1.6.2.2 07-Dec-1996  cgd mostly sync with changes on the trunk
 1.6.2.1 07-Dec-1996  cgd snapshot of work in progress (on private branch): first checkin of
reimplemented 'wscons' interfaces.
 1.10.4.1 04-Sep-1997  thorpej Update marc-pcmcia branch from trunk.
 1.3 24-Apr-1998  drochner Drivers for PC-like console devices are MI now.
 1.2 06-Apr-1997  cgd clean up NetBSD RCS ID strings
 1.1 12-Apr-1996  cgd branches: 1.1.2;
speaker (PIT AUX port) definitions
 1.1.2.1 01-Jun-1997  cgd sync the nwscons branch up with yesterday's version of the trunk.
Lots of conflicts/changes because of the RCS Id format changes.
Also, a few cleanups and corrections.
 1.3 24-Apr-1998  drochner Drivers for PC-like console devices are MI now.
 1.2 06-Apr-1997  cgd clean up NetBSD RCS ID strings
 1.1 12-Apr-1996  cgd branches: 1.1.2;
PC timer definitions
 1.1.2.1 01-Jun-1997  cgd sync the nwscons branch up with yesterday's version of the trunk.
Lots of conflicts/changes because of the RCS Id format changes.
Also, a few cleanups and corrections.
 1.9 24-Apr-1998  drochner Drivers for PC-like console devices are MI now.
 1.8 02-Sep-1997  thorpej Nuke the idea of <machine/options.h>. It completely defeats the purpose
of fine-grain option dependencies.
 1.7 07-Apr-1997  cgd branches: 1.7.4; 1.7.6;
by default, provide RCS IDs for NetBSD/alpha kernel files in kernel binaries.
This can be disabled (to save a bit of space) with the NO_KERNEL_RCSIDS
options, which is present but commented out in the ALPHA config file.
In ELF-format kernels, these strings are present in the kernel binary but
are not loaded into memory. (In ECOFF-format kernels, there's no easy way
to keep them from being loaded, so they _are_ loaded into memory.)
 1.6 06-Apr-1997  cgd clean up NetBSD RCS ID strings, include machine/options.h
 1.5 08-Dec-1996  cgd remove all traces of __BROKEN_INDIRECT_CONFIG (except in shared drivers)
 1.4 05-Dec-1996  cgd update these so they compile whether or not __BROKEN_INDIRECT_CONFIG
is defined.
 1.3 23-Nov-1996  cgd branches: 1.3.2;
move probe and setup code into common functions. always probe (i.e.
even if PCI and the IDs are right), just for sanity, before declaring
success. Split the single 0x3b0 -> 0x3df allocation into three seperate
ones: 0x3b0 -> 0x3bc (leaving the 4 ports available for lpt),
0x3c0 -> 0x3cf, and 0x3d0 -> 0x3df. The former chunk has to be split
off if the lpt can exist there, and it's sort-of pretty to have each
group (based on second hex digit) have its own handle.
 1.2 20-Nov-1996  cgd try mapping the I/O space (as well as the memory space) in the probe routine.
 1.1 19-Nov-1996  cgd replace old PCI VGA driver with a common VGA back-end and ISA and PCI
front-ends. Unfortunately, because of the way ISA and PCI are currently
probed, if you have a PCI VGA board in your machine and both drivers
in your kernel, the ISA VGA driver may accidentally match the PCI board.
For now, the only solution to this is to not put both drivers in
the GENERIC kernels.
 1.3.2.5 12-Aug-1997  cgd sync with -current as of August 11, 1997
 1.3.2.4 01-Jun-1997  cgd sync the nwscons branch up with yesterday's version of the trunk.
Lots of conflicts/changes because of the RCS Id format changes.
Also, a few cleanups and corrections.
 1.3.2.3 08-Dec-1996  cgd sync __BROKEN_INDIRECT_CONFIG removal with trunk.
 1.3.2.2 07-Dec-1996  cgd mostly sync with changes on the trunk
 1.3.2.1 07-Dec-1996  cgd snapshot of work in progress (on private branch): first checkin of
reimplemented 'wscons' interfaces.
 1.7.6.2 04-Sep-1997  thorpej Update marc-pcmcia branch from trunk.
 1.7.6.1 01-Sep-1997  thorpej Repair marc-pcmcia branch.
 1.7.4.1 23-Aug-1997  thorpej Update marc-pcmcia branch from trunk.
 1.4 24-Apr-1998  drochner Drivers for PC-like console devices are MI now.
 1.3 06-Apr-1997  cgd clean up NetBSD RCS ID strings
 1.2 23-Nov-1996  cgd branches: 1.2.2;
move probe and setup code into common functions. always probe (i.e.
even if PCI and the IDs are right), just for sanity, before declaring
success. Split the single 0x3b0 -> 0x3df allocation into three seperate
ones: 0x3b0 -> 0x3bc (leaving the 4 ports available for lpt),
0x3c0 -> 0x3cf, and 0x3d0 -> 0x3df. The former chunk has to be split
off if the lpt can exist there, and it's sort-of pretty to have each
group (based on second hex digit) have its own handle.
 1.1 19-Nov-1996  cgd replace old PCI VGA driver with a common VGA back-end and ISA and PCI
front-ends. Unfortunately, because of the way ISA and PCI are currently
probed, if you have a PCI VGA board in your machine and both drivers
in your kernel, the ISA VGA driver may accidentally match the PCI board.
For now, the only solution to this is to not put both drivers in
the GENERIC kernels.
 1.2.2.1 01-Jun-1997  cgd sync the nwscons branch up with yesterday's version of the trunk.
Lots of conflicts/changes because of the RCS Id format changes.
Also, a few cleanups and corrections.

RSS XML Feed