#
1.81 |
|
04-Dec-2023 |
thorpej |
Convert the Alpha port's bus_space back-end to manage address space with vmem(9) arenas (using statically-allocated private boundary tags for very early-in-boot) rather than extent(9).
As a side-effect, there's arguments to some initialization functions that are no longer required, so garbage-collect those, update all the call sites.
|
Revision tags: thorpej-ifq-base thorpej-altq-separation-base netbsd-10-0-RC1 netbsd-10-base bouyer-sunxi-drm-base
|
#
1.80 |
|
22-May-2022 |
andvar |
fix various small typos, mainly in comments.
|
Revision tags: thorpej-i2c-spi-conf2-base
|
#
1.79 |
|
07-Aug-2021 |
thorpej |
Merge thorpej-cfargs2.
|
Revision tags: thorpej-futex2-base thorpej-cfargs2-base thorpej-i2c-spi-conf-base
|
#
1.78 |
|
04-Jul-2021 |
thorpej |
branches: 1.78.2; Remove unnecessary #include <sys/malloc.h>
|
#
1.77 |
|
19-Jun-2021 |
thorpej |
Don't use a bunch of switch() statements in the core logic drivers to select the PCI interrupt initialization routine. Instead, register said routines by systype in a link set, and look them up and invoke them in a new function alpha_pci_intr_init().
|
#
1.76 |
|
18-Jun-2021 |
thorpej |
Sprinkle some static.
|
Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
|
#
1.75 |
|
24-Apr-2021 |
thorpej |
branches: 1.75.2; Merge thorpej-cfargs branch:
Simplify and make extensible the config_search() / config_found() / config_attach() interfaces: rather than having different variants for which arguments you want pass along, just have a single call that takes a variadic list of tag-value arguments.
Adjust all call sites: - Simplify wherever possible; don't pass along arguments that aren't actually needed. - Don't be explicit about what interface attribute is attaching if the device only has one. (More simplification.) - Add a config_probe() function to be used in indirect configuiration situations, making is visibly easier to see when indirect config is in play, and allowing for future change in semantics. (As of now, this is just a wrapper around config_match(), but that is an implementation detail.)
Remove unnecessary or redundant interface attributes where they're not needed.
There are currently 5 "cfargs" defined: - CFARG_SUBMATCH (submatch function for direct config) - CFARG_SEARCH (search function for indirect config) - CFARG_IATTR (interface attribte) - CFARG_LOCATORS (locators array) - CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)
...and a sentinel value CFARG_EOL.
Add some extra sanity checking to ensure that interface attributes aren't ambiguous.
Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark ports to associate those device handles with device_t instance. This will trickle trough to more places over time (need back-end for pre-OFW Sun OBP; any others?).
|
Revision tags: netbsd-9-3-RELEASE netbsd-9-2-RELEASE thorpej-cfargs-base thorpej-futex-base netbsd-9-1-RELEASE bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 netbsd-8-2-RELEASE ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 isaki-audio2-base pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226
|
#
1.74 |
|
11-Oct-2015 |
martin |
branches: 1.74.32; Felix Deichmann in PR port-alpha/50326: cosmetic patch for Pyxis attach message.
|
Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE rmind-smpnet-nbase netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base rmind-smpnet-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 tls-maxphys-base matt-nb6-plus-base netbsd-6-0-RC1 jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9 yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-base2 netbsd-6-base
|
#
1.73 |
|
06-Feb-2012 |
matt |
branches: 1.73.6; 1.73.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
|
Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.72 |
|
14-Jun-2011 |
matt |
branches: 1.72.2; 1.72.6; Major cleanup of alpha device drivers. Switch to CFATTACH_DECL_NEW. struct device * -> device_t struct cfdata * -> cfdata_t Use of device_xname. No direct access to struct device members. Use aprint* (not complete).
|
Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
|
#
1.71 |
|
17-May-2011 |
dyoung |
branches: 1.71.2; PCI_FLAGS_IO_ENABLED and PCI_FLAGS_MEM_ENABLED changed their functional role in NetBSD (drivers are no longer supposed to write these to pa_flags) without changing name. Correct that.
Rename PCI_FLAGS_IO_ENABLED to PCI_FLAGS_IO_OKAY and PCI_FLAGS_MEM_ENABLED to PCI_FLAGS_MEM_OKAY, thus making their names consistent with the other PCI flags and poisoning 3rd-party driver sources that use the flags in the old bad way.
This patch produces no binary changes in this set of PCI kernels when they are compiled w/o 'options DIAGNOSTIC' and w/ -V MKREPRO=yes:
algor P4032 P5064 P6032 alpha GENERIC amd64 GENERIC XEN3_DOM0 arc GENERIC atari HADES MILAN-PCIIDE bebox GENERIC cats GENERIC cobalt GENERIC evbarm-el ADI_BRH ARMADILLO9 CP3100 GEMINI GEMINI_MASTER GEMINI_SLAVE evbarm-el GUMSTIX HDL_G IMX31LITE INTEGRATOR IQ31244 IQ80310 IQ80321 evbarm-el IXDP425 IXM1200 KUROBOX_PRO evbarm-el LUBBOCK MARVELL_NAS NAPPI NSLU2 SHEEVAPLUG SMDK2800 TEAMASA_NPWR evbarm-el TEAMASA_NPWR_FC TS7200 TWINTAIL ZAO425 evbmips-el AP30 DBAU1500 DBAU1550 MALTA MERAKI MTX-1 OMSAL400 RB153 WGT624V3 evbmips64-el XLSATX evbppc EV64260 MPC8536DS MPC8548CDS OPENBLOCKS200 OPENBLOCKS266 evbppc OPENBLOCKS266_OPT P2020RDB PMPPC RB800 WALNUT hp700 GENERIC i386 ALL XEN3_DOM0 XEN3_DOMU ibmnws GENERIC iyonix GENERIC landisk GENERIC macppc GENERIC mvmeppc GENERIC netwinder GENERIC ofppc GENERIC prep GENERIC sandpoint GENERIC sbmips-el GENERIC sgimips GENERIC32_IP2x GENERIC32_IP3x sparc GENERIC_SUN4U KRUPS sparc64 GENERIC
|
Revision tags: jym-xensuspend-nbase uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base jruoho-x86intr-base matt-mips64-premerge-20101231 jym-xensuspend-base
|
#
1.70 |
|
15-Dec-2010 |
matt |
branches: 1.70.2; Remove unneeded includes of <uvm/uvm_extern.h>
|
Revision tags: uebayasi-xip-base6 uebayasi-xip-base5 uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10 uebayasi-xip-base1 yamt-nfs-mp-base9 uebayasi-xip-base matt-premerge-20091211 yamt-nfs-mp-base8 yamt-nfs-mp-base7 jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 nick-hppapmap-base
|
#
1.69 |
|
14-Mar-2009 |
dsl |
branches: 1.69.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.68 |
|
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.67 |
|
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.
|
Revision tags: nick-hppapmap-base2 mjf-devfs2-base
|
#
1.66 |
|
16-Dec-2008 |
christos |
branches: 1.66.2; replace bitmask_snprintf(9) with snprintb(3)
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 haad-dm-base wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-base2 yamt-nfs-mp-base2 wrstuden-revivesa-base
|
#
1.65 |
|
28-Apr-2008 |
martin |
branches: 1.65.8; Remove clause 3 and 4 from TNF licenses
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase nick-csl-alignment-base5 yamt-pf42-baseX yamt-nfs-mp-base yamt-pf42-base ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base bouyer-xeni386-merge1 matt-armv6-prevmlocking wrstuden-fixsa-base-1 vmlocking2-base3 netbsd-4-0-RELEASE bouyer-xeni386-nbase yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 bouyer-xeni386-base yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 netbsd-4-0-RC5 matt-nb4-arm-base matt-armv6-nbase jmcneill-base netbsd-4-0-RC4 mjf-devfs-base bouyer-xenamd64-base2 vmlocking-nbase yamt-x86pmap-base4 bouyer-xenamd64-base netbsd-4-0-RC3 yamt-x86pmap-base3 yamt-x86pmap-base2 netbsd-4-0-RC2 yamt-x86pmap-base netbsd-4-0-RC1 matt-armv6-base jmcneill-pm-base hpcarm-cleanup-base nick-csl-alignment-base matt-mips64-base yamt-idlelwp-base8 wrstuden-fixsa-base ppcoea-renovation-base thorpej-atomic-base reinoud-bufcleanup-base mjf-ufs-trans-base vmlocking-base ad-audiomp-base post-newlock2-merge newlock2-nbase yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 abandoned-netbsd-4-base yamt-splraiseipl-base2 yamt-splraiseipl-base yamt-pdpolicy-base9 newlock2-base yamt-pdpolicy-base8 yamt-pdpolicy-base7 netbsd-4-base yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base simonb-timcounters-final yamt-pdpolicy-base5 chap-midi-base yamt-pdpolicy-base4 yamt-pdpolicy-base3 peter-altq-base yamt-pdpolicy-base2 elad-kernelauth-base yamt-pdpolicy-base yamt-uio_vmspace-base5 simonb-timecounters-base rpaulo-netinet-merge-pcb-base
|
#
1.64 |
|
11-Dec-2005 |
christos |
branches: 1.64.26; 1.64.74; 1.64.76; 1.64.78; merge ktrace-lwp.
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 yamt-readahead-base3 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 yamt-readahead-base2 netbsd-3-0-RC2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base netbsd-3-0-RC1 yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base yamt-km-base4 yamt-km-base3 netbsd-3-base yamt-km-base2 yamt-km-base kent-audio2-base kent-audio1-beforemerge kent-audio1-base ktrace-lwp-base
|
#
1.63 |
|
30-Aug-2004 |
drochner |
Phase out the use of a string as first "attach args" member to control which bustype should be attached with a specific call to config_found() (from a "mainbus" or a bus bridge). Do it for isa/eisa/mca and pci/agp for now. These buses all attach to an mi interface attribute "isabus", "eisabus" etc., and the autoconf framework now allows to specify an interface attribute on config_found() and config_search(), which limits the search of matching config data to these which attach to that specific attribute. So we basically have to call config_found_ia(..., "foobus", ...) where such a bus is attached. As a consequence, where a "mainbus" or alike also attaches other devices (eg CPUs) which do not attach to a specific attribute yet, we need at least pass an attribute name (different from "foobus") so that the foo bus is not found at these places. This made some minor changes necessary which are not obviously related to the mentioned buses.
|
Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
|
#
1.62 |
|
15-Jun-2003 |
fvdl |
branches: 1.62.2; Handle 64bit DMA addresses on PCI for platforms that can (currently only enabled on amd64). Add a dmat64 field to various PCI attach structures, and pass it down where needed. Implement a simple new function called pci_dma64_available(pa) to test if 64bit DMA addresses may be used. This returns 1 iff _PCI_HAVE_DMA64 is defined in <machine/pci_machdep.h>, and there is more than 4G of memory.
|
Revision tags: nathanw_sa_before_merge fvdl_fs64_base nathanw_sa_base
|
#
1.61 |
|
01-Jan-2003 |
thorpej |
Use aprint_normal() for cfprint routines.
|
Revision tags: gmcgarry_ctxsw_base gmcgarry_ucred_base kqueue-aftermerge kqueue-beforemerge kqueue-base
|
#
1.60 |
|
02-Oct-2002 |
thorpej |
Use CFATTACH_DECL().
|
#
1.59 |
|
27-Sep-2002 |
thorpej |
Declare all cfattach structures const.
|
Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base gehenna-devsw-base
|
#
1.58 |
|
16-May-2002 |
thorpej |
* Add "pcitag_t *pba_bridgetag" to pci_attach_args. This is set to NULL for root PCI busses. For busses behind a bridge, it points to a persistent copy of the bridge's pcitag_t. This can be very useful for machine-dependent PCI bus enumeration code. * Implement a machine-dependent pci_enumerate_bus() for sparc64 which uses OFW device nodes to enumerate the bus. When a PCI bus that is behind a bridge is attached, pci_attach_hook() allocates a new PCI chipset tag for the new bus and sets it's "curnode" to the OFW node of the bridge. This is used as a starting point when enumerating that bus. Root busses get the OFW node of the host bridge (psycho). * Garbage-collect "ofpci" and "ofppb" from the sparc64 port.
|
Revision tags: eeh-devprop-base newlock-base ifpoll-base thorpej-mips-cache-base thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base
|
#
1.57 |
|
26-Apr-2001 |
ross |
branches: 1.57.2; 1.57.4; 1.57.16; o IEEE 754 floating-point completion code. o Implement the architected FP_C "Floating Point Control Quadword"
|
Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
|
#
1.56 |
|
29-Jun-2000 |
mrg |
branches: 1.56.2; remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
|
Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
|
#
1.55 |
|
03-Apr-2000 |
thorpej |
Use the new cpu_amask variable rather than calling alpha_implver() and alpha_amask() ourselves.
|
#
1.54 |
|
19-Mar-2000 |
thorpej |
Put the code that enables/disables Pyxis interrupt lines in cia_pyxis_intr_enable().
|
#
1.53 |
|
26-Feb-2000 |
thorpej |
- Add a bus space method for getting the translation for a window. - Add sysarch methods for "get bus window count", "get bus window", and "pci conf read/write".
These are a hack, but they're what's necessary in order to make XFree86 work in its current state.
|
Revision tags: chs-ubc2-newbase
|
#
1.52 |
|
09-Feb-2000 |
thorpej |
Don't force BWX on Pyxis by default; it's just not reliable enough.
|
#
1.51 |
|
06-Feb-2000 |
thorpej |
If we have a Pyxis with the DMA page crossing bug, don't allow coalescing of adjacent DMA segments.
XXX This is still not perfect... but making it perfect will probably require additions to the bus_dma interface and the ISA autoconfiguration interface.
|
#
1.50 |
|
01-Feb-2000 |
thorpej |
Always use BWX for bus access on Pyxis chips.
|
Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base fvdl-softdep-base
|
#
1.49 |
|
04-Nov-1999 |
thorpej |
Don't do rd/line, rd/mult, or wr/inval on the buggy Miata 1's.
|
#
1.48 |
|
04-Nov-1999 |
thorpej |
Tell the PCI layer that Memory Read Line, Memory Read Multiple, and Memory Write and Invalidate are okay PCI commands to use.
|
Revision tags: kame_141_19991130 comdex-fall-1999-base netbsd-1-4-PATCH001 kame_14_19990705 kame_14_19990628 chs-ubc2-base netbsd-1-4-RELEASE netbsd-1-4-base
|
#
1.47 |
|
10-Apr-1999 |
cgd |
branches: 1.47.2; 1.47.8; 1.47.10; 1.47.14; be more consistent about use of 'cputype'. e.g. it's in a header, don't bother 'externing' it everywhere!
|
Revision tags: kenh-if-detach-base chs-ubc-base eeh-paddr_t-base
|
#
1.46 |
|
29-Jul-1998 |
thorpej |
Split up using BWX for PCI config and bus access. Default to using BWX for the former, but not the latter. Hopefully, this will address some problems people have been experiencing w/ some devices on Pyxis systems when BWX is used for bus access. (If it's not used for PCI config access, we can get fatal machine checks while probing behind PCI-PCI bridges!!)
|
#
1.45 |
|
26-Jun-1998 |
ross |
New platforms: Mikasa and Mikasa/Pinnacle, aka Pinkasa.
Like the 1000A, the AlphaServer 1000 has a daughtercard assembly that integrates the CPU and core logic, so these can be ev4/apecs or ev5/cia. New systype, and, sigh, another way of doing interrupts and another mystery icu.
Kill off some EVCNT_COUNTERS calls, since [A] it has to be rewritten anyway before it can be useful, and [B] #ifdefs do not belong at every call site, a common API should be defined and the implementations conditionalized, not all the calls. Duhh.
|
#
1.44 |
|
24-Jun-1998 |
ross |
Call pci_1000a_pickintr() like on other platforms, but for 1000a expand the iot, memt, and pc in the call so that pci_1000a_pickintr() (and the other routines in that module) do not need to be aware of the core logic type just to pass down memory and I/O space tags or to call the decompose function.
|
#
1.43 |
|
06-Jun-1998 |
thorpej |
- Don't call *_dma_init() twice; there's no need to. Just do it in *attach(). - Display Pyxis revision properly.
|
#
1.42 |
|
05-Jun-1998 |
thorpej |
- Egads! There are Pyxis "Pass 1" chips that do not have the DMA bug! Use the check recommended by the Digital Workstation engineers; look for Miata 1 systems (i.e. with Intel SIO). From Andrew Gallatin. - Update copyright (Pyxis and BWX).
|
#
1.41 |
|
05-Jun-1998 |
thorpej |
On Pass 1 Pyxis, disable PCI Read Prefetching, and warn the user about the DMA bug that exists on this Pyxis revision.
|
#
1.40 |
|
05-Jun-1998 |
thorpej |
oops, read CNFG on all Pyxis revs.
|
#
1.39 |
|
05-Jun-1998 |
thorpej |
Support for the Digital Personal Workstation [456]xx, a.k.a. Miata (systype DEC_550). Mostly cloned from the EB164 systype, with some modifications from myself, and a few more from Andrew Gellatin.
|
#
1.38 |
|
04-Jun-1998 |
thorpej |
For whatever reason, the firmware seems to enable PCI loopback mode if it also enables BWX. Make sure it's enabled if we have an old, buggy firmware rev.
|
#
1.37 |
|
04-Jun-1998 |
thorpej |
Add support for using BWX for PCI config space and PCI i/o and mem space on the ALCOR2 and Pyxis. BWX is enabled iff: - It hasn't been disabled by the user (patch `cia_use_bwx' or build cia.o with the option "CIA_USE_BWX=0"), - it's enabled in CIA_CSR_CNFG, - we are running on an EV5-family processor, - BWX is in the processor's capabilities mask.
|
#
1.36 |
|
03-Jun-1998 |
thorpej |
Ok, now we _REALLY_ have Pyxis recognition correct. There are two systypes that can have Pyxis: EB164 (AlphaPC164LX and AlphaPC164SX) and DEC_550 (Miata), and these systypes/variations _always_ have Pyxis.
|
#
1.35 |
|
14-May-1998 |
thorpej |
Garbage-collect the old confargs stuff that was used in the Early Days. It isn't really appropriate anymore. Replace it with a real mainbus attach args structure.
|
#
1.34 |
|
12-May-1998 |
thorpej |
Use flags instead of a bunch of booleans. Add a "use bwx" flag.
|
#
1.33 |
|
11-May-1998 |
thorpej |
Rework ALCOR/ALCOR2/Pyxis recognition Yet Again. (Actually, just the way it's displayed, and mask off the revision once we've determined which chip we're talking to.)
|
#
1.32 |
|
28-Apr-1998 |
thorpej |
Try (again) to get the chip number right for Alcor and Pyxis, using the following (iffy) hueristic:
CIA revision 1 -> 21171 CIA revision 2 -> 21172 CIA revision > 2 -> 21174
|
#
1.31 |
|
12-Feb-1998 |
thorpej |
We can't count on the CIA revision register telling us if we're a 21171 or 21172, so make the chip/revsion output a little more sane.
|
#
1.30 |
|
17-Jan-1998 |
thorpej |
Don't assume that we'll be using direct-mapped DMA for PCI.
|
#
1.29 |
|
12-Jan-1998 |
thorpej |
Adjust for config changes.
|
#
1.28 |
|
27-Oct-1997 |
thorpej |
Clean up printing of chipset revision/capabilities.
|
Revision tags: netbsd-1-3-base marc-pcmcia-base
|
#
1.27 |
|
17-Sep-1997 |
thorpej |
branches: 1.27.2; If the CIA revision is >= 2, read the CIA configuration register, and remember its contents. Print out a bit of information about the chip, including whether or not it supports the EV56 BWX instructions.
|
Revision tags: thorpej-signal-base
|
#
1.26 |
|
02-Sep-1997 |
thorpej |
cia_bus_ -> cia_swiz_bus_
|
#
1.25 |
|
02-Sep-1997 |
thorpej |
Pull in DEC_EB164 and DEC_KN20AA options.
|
#
1.24 |
|
02-Sep-1997 |
thorpej |
Nuke the idea of <machine/options.h>. It completely defeats the purpose of fine-grain option dependencies.
|
#
1.23 |
|
02-Sep-1997 |
thorpej |
Fix oversight in a previous commit.
|
Revision tags: alpha-nwscons-base
|
#
1.22 |
|
02-Sep-1997 |
thorpej |
Treat bus space tags more like pci chipset tags and bus dma tags: allocate them statically within a chipset's state structure, and pass them to the *_bus_{io,mem}_init() functions.
|
Revision tags: marc-pcmcia-bp
|
#
1.21 |
|
06-Jun-1997 |
thorpej |
branches: 1.21.4; 1.21.6; Pull thorpej-bus-dma branch into mainline.
|
Revision tags: thorpej-bus-dma-base
|
#
1.20 |
|
10-Apr-1997 |
cgd |
branches: 1.20.2; pass memory- and i/o-enabled flags down via the PCI bus and device attach arguments, so that a device can tell if its memory and I/O spaces are enabled. The flags are cleared, depending on the contents of devices CSR registers, in the machine-independent PCI bus code.
|
#
1.19 |
|
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.18 |
|
07-Apr-1997 |
cgd |
clean up NetBSD RCS ID strings, include machine/options.h
|
#
1.17 |
|
06-Apr-1997 |
cgd |
clean up some #ifdefs
|
Revision tags: is-newarp-before-merge is-newarp-base
|
#
1.16 |
|
08-Dec-1996 |
cgd |
remove all traces of __BROKEN_INDIRECT_CONFIG (except in shared drivers)
|
#
1.15 |
|
05-Dec-1996 |
cgd |
update these so they compile whether or not __BROKEN_INDIRECT_CONFIG is defined.
|
#
1.14 |
|
25-Nov-1996 |
cgd |
branches: 1.14.2; update for new extent management code. Most importantly, we can't call the chipset space init functions multiple times, since that would clobber extent allocations made between the two calls.
|
#
1.13 |
|
11-Nov-1996 |
cgd |
preliminary support for the EB164. The EB164 is more or less a 'normal' 21164 + 21172 box, with Yet Another Way of doing interrupts. The interrupt mapping and handling code hasn't been written yet, and none of this code has been tested. (Checkpoint of work in progress.)
|
#
1.12 |
|
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.11 |
|
13-Oct-1996 |
christos |
backout previous kprintf change
|
#
1.10 |
|
10-Oct-1996 |
christos |
printf -> kprintf, sprintf -> ksprintf
|
#
1.9 |
|
27-Aug-1996 |
cgd |
change cfprint_t type definition to take a const char *, rather than a char *, because that's what was really intended, and because if the print function modifies the string, various things could become unhappy (so the string should _not_ be modified).
|
#
1.8 |
|
11-Jul-1996 |
cgd |
some cleanup for -Wall
|
#
1.7 |
|
09-Jul-1996 |
cgd |
clean and update for new defintions, prototypes, etc.
|
#
1.6 |
|
10-Jun-1996 |
cgd |
read value of HAE_MEM and HAE_IO, so that the bus_* functions can do window recognition correctly.
|
Revision tags: netbsd-1-2-base
|
#
1.5 |
|
13-Apr-1996 |
cgd |
branches: 1.5.4; update for new ISA/EISA/PCI/'bus' interfaces. Untested
|
#
1.4 |
|
12-Apr-1996 |
cgd |
clean up copyrights and RCS IDs
|
#
1.3 |
|
12-Apr-1996 |
cgd |
partially update for new ISA/EISA/PCI and 'bus' interfaces. not yet complete, or tested.
|
#
1.2 |
|
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.1 |
|
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.80 |
|
22-May-2022 |
andvar |
fix various small typos, mainly in comments.
|
Revision tags: thorpej-i2c-spi-conf2-base
|
#
1.79 |
|
07-Aug-2021 |
thorpej |
Merge thorpej-cfargs2.
|
Revision tags: thorpej-futex2-base thorpej-cfargs2-base thorpej-i2c-spi-conf-base
|
#
1.78 |
|
04-Jul-2021 |
thorpej |
branches: 1.78.2; Remove unnecessary #include <sys/malloc.h>
|
#
1.77 |
|
19-Jun-2021 |
thorpej |
Don't use a bunch of switch() statements in the core logic drivers to select the PCI interrupt initialization routine. Instead, register said routines by systype in a link set, and look them up and invoke them in a new function alpha_pci_intr_init().
|
#
1.76 |
|
18-Jun-2021 |
thorpej |
Sprinkle some static.
|
Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
|
#
1.75 |
|
24-Apr-2021 |
thorpej |
branches: 1.75.2; Merge thorpej-cfargs branch:
Simplify and make extensible the config_search() / config_found() / config_attach() interfaces: rather than having different variants for which arguments you want pass along, just have a single call that takes a variadic list of tag-value arguments.
Adjust all call sites: - Simplify wherever possible; don't pass along arguments that aren't actually needed. - Don't be explicit about what interface attribute is attaching if the device only has one. (More simplification.) - Add a config_probe() function to be used in indirect configuiration situations, making is visibly easier to see when indirect config is in play, and allowing for future change in semantics. (As of now, this is just a wrapper around config_match(), but that is an implementation detail.)
Remove unnecessary or redundant interface attributes where they're not needed.
There are currently 5 "cfargs" defined: - CFARG_SUBMATCH (submatch function for direct config) - CFARG_SEARCH (search function for indirect config) - CFARG_IATTR (interface attribte) - CFARG_LOCATORS (locators array) - CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)
...and a sentinel value CFARG_EOL.
Add some extra sanity checking to ensure that interface attributes aren't ambiguous.
Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark ports to associate those device handles with device_t instance. This will trickle trough to more places over time (need back-end for pre-OFW Sun OBP; any others?).
|
Revision tags: netbsd-9-2-RELEASE thorpej-cfargs-base thorpej-futex-base netbsd-9-1-RELEASE bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 netbsd-8-2-RELEASE ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 isaki-audio2-base pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226
|
#
1.74 |
|
11-Oct-2015 |
martin |
branches: 1.74.32; Felix Deichmann in PR port-alpha/50326: cosmetic patch for Pyxis attach message.
|
Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE rmind-smpnet-nbase netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base rmind-smpnet-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 tls-maxphys-base matt-nb6-plus-base netbsd-6-0-RC1 jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9 yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-base2 netbsd-6-base
|
#
1.73 |
|
06-Feb-2012 |
matt |
branches: 1.73.6; 1.73.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
|
Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.72 |
|
14-Jun-2011 |
matt |
branches: 1.72.2; 1.72.6; Major cleanup of alpha device drivers. Switch to CFATTACH_DECL_NEW. struct device * -> device_t struct cfdata * -> cfdata_t Use of device_xname. No direct access to struct device members. Use aprint* (not complete).
|
Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
|
#
1.71 |
|
17-May-2011 |
dyoung |
branches: 1.71.2; PCI_FLAGS_IO_ENABLED and PCI_FLAGS_MEM_ENABLED changed their functional role in NetBSD (drivers are no longer supposed to write these to pa_flags) without changing name. Correct that.
Rename PCI_FLAGS_IO_ENABLED to PCI_FLAGS_IO_OKAY and PCI_FLAGS_MEM_ENABLED to PCI_FLAGS_MEM_OKAY, thus making their names consistent with the other PCI flags and poisoning 3rd-party driver sources that use the flags in the old bad way.
This patch produces no binary changes in this set of PCI kernels when they are compiled w/o 'options DIAGNOSTIC' and w/ -V MKREPRO=yes:
algor P4032 P5064 P6032 alpha GENERIC amd64 GENERIC XEN3_DOM0 arc GENERIC atari HADES MILAN-PCIIDE bebox GENERIC cats GENERIC cobalt GENERIC evbarm-el ADI_BRH ARMADILLO9 CP3100 GEMINI GEMINI_MASTER GEMINI_SLAVE evbarm-el GUMSTIX HDL_G IMX31LITE INTEGRATOR IQ31244 IQ80310 IQ80321 evbarm-el IXDP425 IXM1200 KUROBOX_PRO evbarm-el LUBBOCK MARVELL_NAS NAPPI NSLU2 SHEEVAPLUG SMDK2800 TEAMASA_NPWR evbarm-el TEAMASA_NPWR_FC TS7200 TWINTAIL ZAO425 evbmips-el AP30 DBAU1500 DBAU1550 MALTA MERAKI MTX-1 OMSAL400 RB153 WGT624V3 evbmips64-el XLSATX evbppc EV64260 MPC8536DS MPC8548CDS OPENBLOCKS200 OPENBLOCKS266 evbppc OPENBLOCKS266_OPT P2020RDB PMPPC RB800 WALNUT hp700 GENERIC i386 ALL XEN3_DOM0 XEN3_DOMU ibmnws GENERIC iyonix GENERIC landisk GENERIC macppc GENERIC mvmeppc GENERIC netwinder GENERIC ofppc GENERIC prep GENERIC sandpoint GENERIC sbmips-el GENERIC sgimips GENERIC32_IP2x GENERIC32_IP3x sparc GENERIC_SUN4U KRUPS sparc64 GENERIC
|
Revision tags: jym-xensuspend-nbase uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base jruoho-x86intr-base matt-mips64-premerge-20101231 jym-xensuspend-base
|
#
1.70 |
|
15-Dec-2010 |
matt |
branches: 1.70.2; Remove unneeded includes of <uvm/uvm_extern.h>
|
Revision tags: uebayasi-xip-base6 uebayasi-xip-base5 uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10 uebayasi-xip-base1 yamt-nfs-mp-base9 uebayasi-xip-base matt-premerge-20091211 yamt-nfs-mp-base8 yamt-nfs-mp-base7 jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 nick-hppapmap-base
|
#
1.69 |
|
14-Mar-2009 |
dsl |
branches: 1.69.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.68 |
|
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.67 |
|
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.
|
Revision tags: nick-hppapmap-base2 mjf-devfs2-base
|
#
1.66 |
|
16-Dec-2008 |
christos |
branches: 1.66.2; replace bitmask_snprintf(9) with snprintb(3)
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 haad-dm-base wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-base2 yamt-nfs-mp-base2 wrstuden-revivesa-base
|
#
1.65 |
|
28-Apr-2008 |
martin |
branches: 1.65.8; Remove clause 3 and 4 from TNF licenses
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase nick-csl-alignment-base5 yamt-pf42-baseX yamt-nfs-mp-base yamt-pf42-base ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base bouyer-xeni386-merge1 matt-armv6-prevmlocking wrstuden-fixsa-base-1 vmlocking2-base3 netbsd-4-0-RELEASE bouyer-xeni386-nbase yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 bouyer-xeni386-base yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 netbsd-4-0-RC5 matt-nb4-arm-base matt-armv6-nbase jmcneill-base netbsd-4-0-RC4 mjf-devfs-base bouyer-xenamd64-base2 vmlocking-nbase yamt-x86pmap-base4 bouyer-xenamd64-base netbsd-4-0-RC3 yamt-x86pmap-base3 yamt-x86pmap-base2 netbsd-4-0-RC2 yamt-x86pmap-base netbsd-4-0-RC1 matt-armv6-base jmcneill-pm-base hpcarm-cleanup-base nick-csl-alignment-base matt-mips64-base yamt-idlelwp-base8 wrstuden-fixsa-base ppcoea-renovation-base thorpej-atomic-base reinoud-bufcleanup-base mjf-ufs-trans-base vmlocking-base ad-audiomp-base post-newlock2-merge newlock2-nbase yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 abandoned-netbsd-4-base yamt-splraiseipl-base2 yamt-splraiseipl-base yamt-pdpolicy-base9 newlock2-base yamt-pdpolicy-base8 yamt-pdpolicy-base7 netbsd-4-base yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base simonb-timcounters-final yamt-pdpolicy-base5 chap-midi-base yamt-pdpolicy-base4 yamt-pdpolicy-base3 peter-altq-base yamt-pdpolicy-base2 elad-kernelauth-base yamt-pdpolicy-base yamt-uio_vmspace-base5 simonb-timecounters-base rpaulo-netinet-merge-pcb-base
|
#
1.64 |
|
11-Dec-2005 |
christos |
branches: 1.64.26; 1.64.74; 1.64.76; 1.64.78; merge ktrace-lwp.
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 yamt-readahead-base3 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 yamt-readahead-base2 netbsd-3-0-RC2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base netbsd-3-0-RC1 yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base yamt-km-base4 yamt-km-base3 netbsd-3-base yamt-km-base2 yamt-km-base kent-audio2-base kent-audio1-beforemerge kent-audio1-base ktrace-lwp-base
|
#
1.63 |
|
30-Aug-2004 |
drochner |
Phase out the use of a string as first "attach args" member to control which bustype should be attached with a specific call to config_found() (from a "mainbus" or a bus bridge). Do it for isa/eisa/mca and pci/agp for now. These buses all attach to an mi interface attribute "isabus", "eisabus" etc., and the autoconf framework now allows to specify an interface attribute on config_found() and config_search(), which limits the search of matching config data to these which attach to that specific attribute. So we basically have to call config_found_ia(..., "foobus", ...) where such a bus is attached. As a consequence, where a "mainbus" or alike also attaches other devices (eg CPUs) which do not attach to a specific attribute yet, we need at least pass an attribute name (different from "foobus") so that the foo bus is not found at these places. This made some minor changes necessary which are not obviously related to the mentioned buses.
|
Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
|
#
1.62 |
|
15-Jun-2003 |
fvdl |
branches: 1.62.2; Handle 64bit DMA addresses on PCI for platforms that can (currently only enabled on amd64). Add a dmat64 field to various PCI attach structures, and pass it down where needed. Implement a simple new function called pci_dma64_available(pa) to test if 64bit DMA addresses may be used. This returns 1 iff _PCI_HAVE_DMA64 is defined in <machine/pci_machdep.h>, and there is more than 4G of memory.
|
Revision tags: nathanw_sa_before_merge fvdl_fs64_base nathanw_sa_base
|
#
1.61 |
|
01-Jan-2003 |
thorpej |
Use aprint_normal() for cfprint routines.
|
Revision tags: gmcgarry_ctxsw_base gmcgarry_ucred_base kqueue-aftermerge kqueue-beforemerge kqueue-base
|
#
1.60 |
|
02-Oct-2002 |
thorpej |
Use CFATTACH_DECL().
|
#
1.59 |
|
27-Sep-2002 |
thorpej |
Declare all cfattach structures const.
|
Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base gehenna-devsw-base
|
#
1.58 |
|
16-May-2002 |
thorpej |
* Add "pcitag_t *pba_bridgetag" to pci_attach_args. This is set to NULL for root PCI busses. For busses behind a bridge, it points to a persistent copy of the bridge's pcitag_t. This can be very useful for machine-dependent PCI bus enumeration code. * Implement a machine-dependent pci_enumerate_bus() for sparc64 which uses OFW device nodes to enumerate the bus. When a PCI bus that is behind a bridge is attached, pci_attach_hook() allocates a new PCI chipset tag for the new bus and sets it's "curnode" to the OFW node of the bridge. This is used as a starting point when enumerating that bus. Root busses get the OFW node of the host bridge (psycho). * Garbage-collect "ofpci" and "ofppb" from the sparc64 port.
|
Revision tags: eeh-devprop-base newlock-base ifpoll-base thorpej-mips-cache-base thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base
|
#
1.57 |
|
26-Apr-2001 |
ross |
branches: 1.57.2; 1.57.4; 1.57.16; o IEEE 754 floating-point completion code. o Implement the architected FP_C "Floating Point Control Quadword"
|
Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
|
#
1.56 |
|
29-Jun-2000 |
mrg |
branches: 1.56.2; remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
|
Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
|
#
1.55 |
|
03-Apr-2000 |
thorpej |
Use the new cpu_amask variable rather than calling alpha_implver() and alpha_amask() ourselves.
|
#
1.54 |
|
19-Mar-2000 |
thorpej |
Put the code that enables/disables Pyxis interrupt lines in cia_pyxis_intr_enable().
|
#
1.53 |
|
26-Feb-2000 |
thorpej |
- Add a bus space method for getting the translation for a window. - Add sysarch methods for "get bus window count", "get bus window", and "pci conf read/write".
These are a hack, but they're what's necessary in order to make XFree86 work in its current state.
|
Revision tags: chs-ubc2-newbase
|
#
1.52 |
|
09-Feb-2000 |
thorpej |
Don't force BWX on Pyxis by default; it's just not reliable enough.
|
#
1.51 |
|
06-Feb-2000 |
thorpej |
If we have a Pyxis with the DMA page crossing bug, don't allow coalescing of adjacent DMA segments.
XXX This is still not perfect... but making it perfect will probably require additions to the bus_dma interface and the ISA autoconfiguration interface.
|
#
1.50 |
|
01-Feb-2000 |
thorpej |
Always use BWX for bus access on Pyxis chips.
|
Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base fvdl-softdep-base
|
#
1.49 |
|
04-Nov-1999 |
thorpej |
Don't do rd/line, rd/mult, or wr/inval on the buggy Miata 1's.
|
#
1.48 |
|
04-Nov-1999 |
thorpej |
Tell the PCI layer that Memory Read Line, Memory Read Multiple, and Memory Write and Invalidate are okay PCI commands to use.
|
Revision tags: kame_141_19991130 comdex-fall-1999-base netbsd-1-4-PATCH001 kame_14_19990705 kame_14_19990628 chs-ubc2-base netbsd-1-4-RELEASE netbsd-1-4-base
|
#
1.47 |
|
10-Apr-1999 |
cgd |
branches: 1.47.2; 1.47.8; 1.47.10; 1.47.14; be more consistent about use of 'cputype'. e.g. it's in a header, don't bother 'externing' it everywhere!
|
Revision tags: kenh-if-detach-base chs-ubc-base eeh-paddr_t-base
|
#
1.46 |
|
29-Jul-1998 |
thorpej |
Split up using BWX for PCI config and bus access. Default to using BWX for the former, but not the latter. Hopefully, this will address some problems people have been experiencing w/ some devices on Pyxis systems when BWX is used for bus access. (If it's not used for PCI config access, we can get fatal machine checks while probing behind PCI-PCI bridges!!)
|
#
1.45 |
|
26-Jun-1998 |
ross |
New platforms: Mikasa and Mikasa/Pinnacle, aka Pinkasa.
Like the 1000A, the AlphaServer 1000 has a daughtercard assembly that integrates the CPU and core logic, so these can be ev4/apecs or ev5/cia. New systype, and, sigh, another way of doing interrupts and another mystery icu.
Kill off some EVCNT_COUNTERS calls, since [A] it has to be rewritten anyway before it can be useful, and [B] #ifdefs do not belong at every call site, a common API should be defined and the implementations conditionalized, not all the calls. Duhh.
|
#
1.44 |
|
24-Jun-1998 |
ross |
Call pci_1000a_pickintr() like on other platforms, but for 1000a expand the iot, memt, and pc in the call so that pci_1000a_pickintr() (and the other routines in that module) do not need to be aware of the core logic type just to pass down memory and I/O space tags or to call the decompose function.
|
#
1.43 |
|
06-Jun-1998 |
thorpej |
- Don't call *_dma_init() twice; there's no need to. Just do it in *attach(). - Display Pyxis revision properly.
|
#
1.42 |
|
05-Jun-1998 |
thorpej |
- Egads! There are Pyxis "Pass 1" chips that do not have the DMA bug! Use the check recommended by the Digital Workstation engineers; look for Miata 1 systems (i.e. with Intel SIO). From Andrew Gallatin. - Update copyright (Pyxis and BWX).
|
#
1.41 |
|
05-Jun-1998 |
thorpej |
On Pass 1 Pyxis, disable PCI Read Prefetching, and warn the user about the DMA bug that exists on this Pyxis revision.
|
#
1.40 |
|
05-Jun-1998 |
thorpej |
oops, read CNFG on all Pyxis revs.
|
#
1.39 |
|
05-Jun-1998 |
thorpej |
Support for the Digital Personal Workstation [456]xx, a.k.a. Miata (systype DEC_550). Mostly cloned from the EB164 systype, with some modifications from myself, and a few more from Andrew Gellatin.
|
#
1.38 |
|
04-Jun-1998 |
thorpej |
For whatever reason, the firmware seems to enable PCI loopback mode if it also enables BWX. Make sure it's enabled if we have an old, buggy firmware rev.
|
#
1.37 |
|
04-Jun-1998 |
thorpej |
Add support for using BWX for PCI config space and PCI i/o and mem space on the ALCOR2 and Pyxis. BWX is enabled iff: - It hasn't been disabled by the user (patch `cia_use_bwx' or build cia.o with the option "CIA_USE_BWX=0"), - it's enabled in CIA_CSR_CNFG, - we are running on an EV5-family processor, - BWX is in the processor's capabilities mask.
|
#
1.36 |
|
03-Jun-1998 |
thorpej |
Ok, now we _REALLY_ have Pyxis recognition correct. There are two systypes that can have Pyxis: EB164 (AlphaPC164LX and AlphaPC164SX) and DEC_550 (Miata), and these systypes/variations _always_ have Pyxis.
|
#
1.35 |
|
14-May-1998 |
thorpej |
Garbage-collect the old confargs stuff that was used in the Early Days. It isn't really appropriate anymore. Replace it with a real mainbus attach args structure.
|
#
1.34 |
|
12-May-1998 |
thorpej |
Use flags instead of a bunch of booleans. Add a "use bwx" flag.
|
#
1.33 |
|
11-May-1998 |
thorpej |
Rework ALCOR/ALCOR2/Pyxis recognition Yet Again. (Actually, just the way it's displayed, and mask off the revision once we've determined which chip we're talking to.)
|
#
1.32 |
|
28-Apr-1998 |
thorpej |
Try (again) to get the chip number right for Alcor and Pyxis, using the following (iffy) hueristic:
CIA revision 1 -> 21171 CIA revision 2 -> 21172 CIA revision > 2 -> 21174
|
#
1.31 |
|
12-Feb-1998 |
thorpej |
We can't count on the CIA revision register telling us if we're a 21171 or 21172, so make the chip/revsion output a little more sane.
|
#
1.30 |
|
17-Jan-1998 |
thorpej |
Don't assume that we'll be using direct-mapped DMA for PCI.
|
#
1.29 |
|
12-Jan-1998 |
thorpej |
Adjust for config changes.
|
#
1.28 |
|
27-Oct-1997 |
thorpej |
Clean up printing of chipset revision/capabilities.
|
Revision tags: netbsd-1-3-base marc-pcmcia-base
|
#
1.27 |
|
17-Sep-1997 |
thorpej |
branches: 1.27.2; If the CIA revision is >= 2, read the CIA configuration register, and remember its contents. Print out a bit of information about the chip, including whether or not it supports the EV56 BWX instructions.
|
Revision tags: thorpej-signal-base
|
#
1.26 |
|
02-Sep-1997 |
thorpej |
cia_bus_ -> cia_swiz_bus_
|
#
1.25 |
|
02-Sep-1997 |
thorpej |
Pull in DEC_EB164 and DEC_KN20AA options.
|
#
1.24 |
|
02-Sep-1997 |
thorpej |
Nuke the idea of <machine/options.h>. It completely defeats the purpose of fine-grain option dependencies.
|
#
1.23 |
|
02-Sep-1997 |
thorpej |
Fix oversight in a previous commit.
|
Revision tags: alpha-nwscons-base
|
#
1.22 |
|
02-Sep-1997 |
thorpej |
Treat bus space tags more like pci chipset tags and bus dma tags: allocate them statically within a chipset's state structure, and pass them to the *_bus_{io,mem}_init() functions.
|
Revision tags: marc-pcmcia-bp
|
#
1.21 |
|
06-Jun-1997 |
thorpej |
branches: 1.21.4; 1.21.6; Pull thorpej-bus-dma branch into mainline.
|
Revision tags: thorpej-bus-dma-base
|
#
1.20 |
|
10-Apr-1997 |
cgd |
branches: 1.20.2; pass memory- and i/o-enabled flags down via the PCI bus and device attach arguments, so that a device can tell if its memory and I/O spaces are enabled. The flags are cleared, depending on the contents of devices CSR registers, in the machine-independent PCI bus code.
|
#
1.19 |
|
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.18 |
|
07-Apr-1997 |
cgd |
clean up NetBSD RCS ID strings, include machine/options.h
|
#
1.17 |
|
06-Apr-1997 |
cgd |
clean up some #ifdefs
|
Revision tags: is-newarp-before-merge is-newarp-base
|
#
1.16 |
|
08-Dec-1996 |
cgd |
remove all traces of __BROKEN_INDIRECT_CONFIG (except in shared drivers)
|
#
1.15 |
|
05-Dec-1996 |
cgd |
update these so they compile whether or not __BROKEN_INDIRECT_CONFIG is defined.
|
#
1.14 |
|
25-Nov-1996 |
cgd |
branches: 1.14.2; update for new extent management code. Most importantly, we can't call the chipset space init functions multiple times, since that would clobber extent allocations made between the two calls.
|
#
1.13 |
|
11-Nov-1996 |
cgd |
preliminary support for the EB164. The EB164 is more or less a 'normal' 21164 + 21172 box, with Yet Another Way of doing interrupts. The interrupt mapping and handling code hasn't been written yet, and none of this code has been tested. (Checkpoint of work in progress.)
|
#
1.12 |
|
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.11 |
|
13-Oct-1996 |
christos |
backout previous kprintf change
|
#
1.10 |
|
10-Oct-1996 |
christos |
printf -> kprintf, sprintf -> ksprintf
|
#
1.9 |
|
27-Aug-1996 |
cgd |
change cfprint_t type definition to take a const char *, rather than a char *, because that's what was really intended, and because if the print function modifies the string, various things could become unhappy (so the string should _not_ be modified).
|
#
1.8 |
|
11-Jul-1996 |
cgd |
some cleanup for -Wall
|
#
1.7 |
|
09-Jul-1996 |
cgd |
clean and update for new defintions, prototypes, etc.
|
#
1.6 |
|
10-Jun-1996 |
cgd |
read value of HAE_MEM and HAE_IO, so that the bus_* functions can do window recognition correctly.
|
Revision tags: netbsd-1-2-base
|
#
1.5 |
|
13-Apr-1996 |
cgd |
branches: 1.5.4; update for new ISA/EISA/PCI/'bus' interfaces. Untested
|
#
1.4 |
|
12-Apr-1996 |
cgd |
clean up copyrights and RCS IDs
|
#
1.3 |
|
12-Apr-1996 |
cgd |
partially update for new ISA/EISA/PCI and 'bus' interfaces. not yet complete, or tested.
|
#
1.2 |
|
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.1 |
|
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.79 |
|
07-Aug-2021 |
thorpej |
Merge thorpej-cfargs2.
|
Revision tags: thorpej-futex2-base thorpej-cfargs2-base thorpej-i2c-spi-conf-base
|
#
1.78 |
|
04-Jul-2021 |
thorpej |
branches: 1.78.2; Remove unnecessary #include <sys/malloc.h>
|
#
1.77 |
|
19-Jun-2021 |
thorpej |
Don't use a bunch of switch() statements in the core logic drivers to select the PCI interrupt initialization routine. Instead, register said routines by systype in a link set, and look them up and invoke them in a new function alpha_pci_intr_init().
|
#
1.76 |
|
18-Jun-2021 |
thorpej |
Sprinkle some static.
|
Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
|
#
1.75 |
|
24-Apr-2021 |
thorpej |
branches: 1.75.2; Merge thorpej-cfargs branch:
Simplify and make extensible the config_search() / config_found() / config_attach() interfaces: rather than having different variants for which arguments you want pass along, just have a single call that takes a variadic list of tag-value arguments.
Adjust all call sites: - Simplify wherever possible; don't pass along arguments that aren't actually needed. - Don't be explicit about what interface attribute is attaching if the device only has one. (More simplification.) - Add a config_probe() function to be used in indirect configuiration situations, making is visibly easier to see when indirect config is in play, and allowing for future change in semantics. (As of now, this is just a wrapper around config_match(), but that is an implementation detail.)
Remove unnecessary or redundant interface attributes where they're not needed.
There are currently 5 "cfargs" defined: - CFARG_SUBMATCH (submatch function for direct config) - CFARG_SEARCH (search function for indirect config) - CFARG_IATTR (interface attribte) - CFARG_LOCATORS (locators array) - CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)
...and a sentinel value CFARG_EOL.
Add some extra sanity checking to ensure that interface attributes aren't ambiguous.
Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark ports to associate those device handles with device_t instance. This will trickle trough to more places over time (need back-end for pre-OFW Sun OBP; any others?).
|
Revision tags: netbsd-9-2-RELEASE thorpej-cfargs-base thorpej-futex-base netbsd-9-1-RELEASE bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 netbsd-8-2-RELEASE ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 isaki-audio2-base pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226
|
#
1.74 |
|
11-Oct-2015 |
martin |
branches: 1.74.32; Felix Deichmann in PR port-alpha/50326: cosmetic patch for Pyxis attach message.
|
Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE rmind-smpnet-nbase netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base rmind-smpnet-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 tls-maxphys-base matt-nb6-plus-base netbsd-6-0-RC1 jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9 yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-base2 netbsd-6-base
|
#
1.73 |
|
06-Feb-2012 |
matt |
branches: 1.73.6; 1.73.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
|
Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.72 |
|
14-Jun-2011 |
matt |
branches: 1.72.2; 1.72.6; Major cleanup of alpha device drivers. Switch to CFATTACH_DECL_NEW. struct device * -> device_t struct cfdata * -> cfdata_t Use of device_xname. No direct access to struct device members. Use aprint* (not complete).
|
Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
|
#
1.71 |
|
17-May-2011 |
dyoung |
branches: 1.71.2; PCI_FLAGS_IO_ENABLED and PCI_FLAGS_MEM_ENABLED changed their functional role in NetBSD (drivers are no longer supposed to write these to pa_flags) without changing name. Correct that.
Rename PCI_FLAGS_IO_ENABLED to PCI_FLAGS_IO_OKAY and PCI_FLAGS_MEM_ENABLED to PCI_FLAGS_MEM_OKAY, thus making their names consistent with the other PCI flags and poisoning 3rd-party driver sources that use the flags in the old bad way.
This patch produces no binary changes in this set of PCI kernels when they are compiled w/o 'options DIAGNOSTIC' and w/ -V MKREPRO=yes:
algor P4032 P5064 P6032 alpha GENERIC amd64 GENERIC XEN3_DOM0 arc GENERIC atari HADES MILAN-PCIIDE bebox GENERIC cats GENERIC cobalt GENERIC evbarm-el ADI_BRH ARMADILLO9 CP3100 GEMINI GEMINI_MASTER GEMINI_SLAVE evbarm-el GUMSTIX HDL_G IMX31LITE INTEGRATOR IQ31244 IQ80310 IQ80321 evbarm-el IXDP425 IXM1200 KUROBOX_PRO evbarm-el LUBBOCK MARVELL_NAS NAPPI NSLU2 SHEEVAPLUG SMDK2800 TEAMASA_NPWR evbarm-el TEAMASA_NPWR_FC TS7200 TWINTAIL ZAO425 evbmips-el AP30 DBAU1500 DBAU1550 MALTA MERAKI MTX-1 OMSAL400 RB153 WGT624V3 evbmips64-el XLSATX evbppc EV64260 MPC8536DS MPC8548CDS OPENBLOCKS200 OPENBLOCKS266 evbppc OPENBLOCKS266_OPT P2020RDB PMPPC RB800 WALNUT hp700 GENERIC i386 ALL XEN3_DOM0 XEN3_DOMU ibmnws GENERIC iyonix GENERIC landisk GENERIC macppc GENERIC mvmeppc GENERIC netwinder GENERIC ofppc GENERIC prep GENERIC sandpoint GENERIC sbmips-el GENERIC sgimips GENERIC32_IP2x GENERIC32_IP3x sparc GENERIC_SUN4U KRUPS sparc64 GENERIC
|
Revision tags: jym-xensuspend-nbase uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base jruoho-x86intr-base matt-mips64-premerge-20101231 jym-xensuspend-base
|
#
1.70 |
|
15-Dec-2010 |
matt |
branches: 1.70.2; Remove unneeded includes of <uvm/uvm_extern.h>
|
Revision tags: uebayasi-xip-base6 uebayasi-xip-base5 uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10 uebayasi-xip-base1 yamt-nfs-mp-base9 uebayasi-xip-base matt-premerge-20091211 yamt-nfs-mp-base8 yamt-nfs-mp-base7 jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 nick-hppapmap-base
|
#
1.69 |
|
14-Mar-2009 |
dsl |
branches: 1.69.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.68 |
|
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.67 |
|
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.
|
Revision tags: nick-hppapmap-base2 mjf-devfs2-base
|
#
1.66 |
|
16-Dec-2008 |
christos |
branches: 1.66.2; replace bitmask_snprintf(9) with snprintb(3)
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 haad-dm-base wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-base2 yamt-nfs-mp-base2 wrstuden-revivesa-base
|
#
1.65 |
|
28-Apr-2008 |
martin |
branches: 1.65.8; Remove clause 3 and 4 from TNF licenses
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase nick-csl-alignment-base5 yamt-pf42-baseX yamt-nfs-mp-base yamt-pf42-base ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base bouyer-xeni386-merge1 matt-armv6-prevmlocking wrstuden-fixsa-base-1 vmlocking2-base3 netbsd-4-0-RELEASE bouyer-xeni386-nbase yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 bouyer-xeni386-base yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 netbsd-4-0-RC5 matt-nb4-arm-base matt-armv6-nbase jmcneill-base netbsd-4-0-RC4 mjf-devfs-base bouyer-xenamd64-base2 vmlocking-nbase yamt-x86pmap-base4 bouyer-xenamd64-base netbsd-4-0-RC3 yamt-x86pmap-base3 yamt-x86pmap-base2 netbsd-4-0-RC2 yamt-x86pmap-base netbsd-4-0-RC1 matt-armv6-base jmcneill-pm-base hpcarm-cleanup-base nick-csl-alignment-base matt-mips64-base yamt-idlelwp-base8 wrstuden-fixsa-base ppcoea-renovation-base thorpej-atomic-base reinoud-bufcleanup-base mjf-ufs-trans-base vmlocking-base ad-audiomp-base post-newlock2-merge newlock2-nbase yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 abandoned-netbsd-4-base yamt-splraiseipl-base2 yamt-splraiseipl-base yamt-pdpolicy-base9 newlock2-base yamt-pdpolicy-base8 yamt-pdpolicy-base7 netbsd-4-base yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base simonb-timcounters-final yamt-pdpolicy-base5 chap-midi-base yamt-pdpolicy-base4 yamt-pdpolicy-base3 peter-altq-base yamt-pdpolicy-base2 elad-kernelauth-base yamt-pdpolicy-base yamt-uio_vmspace-base5 simonb-timecounters-base rpaulo-netinet-merge-pcb-base
|
#
1.64 |
|
11-Dec-2005 |
christos |
branches: 1.64.26; 1.64.74; 1.64.76; 1.64.78; merge ktrace-lwp.
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 yamt-readahead-base3 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 yamt-readahead-base2 netbsd-3-0-RC2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base netbsd-3-0-RC1 yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base yamt-km-base4 yamt-km-base3 netbsd-3-base yamt-km-base2 yamt-km-base kent-audio2-base kent-audio1-beforemerge kent-audio1-base ktrace-lwp-base
|
#
1.63 |
|
30-Aug-2004 |
drochner |
Phase out the use of a string as first "attach args" member to control which bustype should be attached with a specific call to config_found() (from a "mainbus" or a bus bridge). Do it for isa/eisa/mca and pci/agp for now. These buses all attach to an mi interface attribute "isabus", "eisabus" etc., and the autoconf framework now allows to specify an interface attribute on config_found() and config_search(), which limits the search of matching config data to these which attach to that specific attribute. So we basically have to call config_found_ia(..., "foobus", ...) where such a bus is attached. As a consequence, where a "mainbus" or alike also attaches other devices (eg CPUs) which do not attach to a specific attribute yet, we need at least pass an attribute name (different from "foobus") so that the foo bus is not found at these places. This made some minor changes necessary which are not obviously related to the mentioned buses.
|
Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
|
#
1.62 |
|
15-Jun-2003 |
fvdl |
branches: 1.62.2; Handle 64bit DMA addresses on PCI for platforms that can (currently only enabled on amd64). Add a dmat64 field to various PCI attach structures, and pass it down where needed. Implement a simple new function called pci_dma64_available(pa) to test if 64bit DMA addresses may be used. This returns 1 iff _PCI_HAVE_DMA64 is defined in <machine/pci_machdep.h>, and there is more than 4G of memory.
|
Revision tags: nathanw_sa_before_merge fvdl_fs64_base nathanw_sa_base
|
#
1.61 |
|
01-Jan-2003 |
thorpej |
Use aprint_normal() for cfprint routines.
|
Revision tags: gmcgarry_ctxsw_base gmcgarry_ucred_base kqueue-aftermerge kqueue-beforemerge kqueue-base
|
#
1.60 |
|
02-Oct-2002 |
thorpej |
Use CFATTACH_DECL().
|
#
1.59 |
|
27-Sep-2002 |
thorpej |
Declare all cfattach structures const.
|
Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base gehenna-devsw-base
|
#
1.58 |
|
16-May-2002 |
thorpej |
* Add "pcitag_t *pba_bridgetag" to pci_attach_args. This is set to NULL for root PCI busses. For busses behind a bridge, it points to a persistent copy of the bridge's pcitag_t. This can be very useful for machine-dependent PCI bus enumeration code. * Implement a machine-dependent pci_enumerate_bus() for sparc64 which uses OFW device nodes to enumerate the bus. When a PCI bus that is behind a bridge is attached, pci_attach_hook() allocates a new PCI chipset tag for the new bus and sets it's "curnode" to the OFW node of the bridge. This is used as a starting point when enumerating that bus. Root busses get the OFW node of the host bridge (psycho). * Garbage-collect "ofpci" and "ofppb" from the sparc64 port.
|
Revision tags: eeh-devprop-base newlock-base ifpoll-base thorpej-mips-cache-base thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base
|
#
1.57 |
|
26-Apr-2001 |
ross |
branches: 1.57.2; 1.57.4; 1.57.16; o IEEE 754 floating-point completion code. o Implement the architected FP_C "Floating Point Control Quadword"
|
Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
|
#
1.56 |
|
29-Jun-2000 |
mrg |
branches: 1.56.2; remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
|
Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
|
#
1.55 |
|
03-Apr-2000 |
thorpej |
Use the new cpu_amask variable rather than calling alpha_implver() and alpha_amask() ourselves.
|
#
1.54 |
|
19-Mar-2000 |
thorpej |
Put the code that enables/disables Pyxis interrupt lines in cia_pyxis_intr_enable().
|
#
1.53 |
|
26-Feb-2000 |
thorpej |
- Add a bus space method for getting the translation for a window. - Add sysarch methods for "get bus window count", "get bus window", and "pci conf read/write".
These are a hack, but they're what's necessary in order to make XFree86 work in its current state.
|
Revision tags: chs-ubc2-newbase
|
#
1.52 |
|
09-Feb-2000 |
thorpej |
Don't force BWX on Pyxis by default; it's just not reliable enough.
|
#
1.51 |
|
06-Feb-2000 |
thorpej |
If we have a Pyxis with the DMA page crossing bug, don't allow coalescing of adjacent DMA segments.
XXX This is still not perfect... but making it perfect will probably require additions to the bus_dma interface and the ISA autoconfiguration interface.
|
#
1.50 |
|
01-Feb-2000 |
thorpej |
Always use BWX for bus access on Pyxis chips.
|
Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base fvdl-softdep-base
|
#
1.49 |
|
04-Nov-1999 |
thorpej |
Don't do rd/line, rd/mult, or wr/inval on the buggy Miata 1's.
|
#
1.48 |
|
04-Nov-1999 |
thorpej |
Tell the PCI layer that Memory Read Line, Memory Read Multiple, and Memory Write and Invalidate are okay PCI commands to use.
|
Revision tags: kame_141_19991130 comdex-fall-1999-base netbsd-1-4-PATCH001 kame_14_19990705 kame_14_19990628 chs-ubc2-base netbsd-1-4-RELEASE netbsd-1-4-base
|
#
1.47 |
|
10-Apr-1999 |
cgd |
branches: 1.47.2; 1.47.8; 1.47.10; 1.47.14; be more consistent about use of 'cputype'. e.g. it's in a header, don't bother 'externing' it everywhere!
|
Revision tags: kenh-if-detach-base chs-ubc-base eeh-paddr_t-base
|
#
1.46 |
|
29-Jul-1998 |
thorpej |
Split up using BWX for PCI config and bus access. Default to using BWX for the former, but not the latter. Hopefully, this will address some problems people have been experiencing w/ some devices on Pyxis systems when BWX is used for bus access. (If it's not used for PCI config access, we can get fatal machine checks while probing behind PCI-PCI bridges!!)
|
#
1.45 |
|
26-Jun-1998 |
ross |
New platforms: Mikasa and Mikasa/Pinnacle, aka Pinkasa.
Like the 1000A, the AlphaServer 1000 has a daughtercard assembly that integrates the CPU and core logic, so these can be ev4/apecs or ev5/cia. New systype, and, sigh, another way of doing interrupts and another mystery icu.
Kill off some EVCNT_COUNTERS calls, since [A] it has to be rewritten anyway before it can be useful, and [B] #ifdefs do not belong at every call site, a common API should be defined and the implementations conditionalized, not all the calls. Duhh.
|
#
1.44 |
|
24-Jun-1998 |
ross |
Call pci_1000a_pickintr() like on other platforms, but for 1000a expand the iot, memt, and pc in the call so that pci_1000a_pickintr() (and the other routines in that module) do not need to be aware of the core logic type just to pass down memory and I/O space tags or to call the decompose function.
|
#
1.43 |
|
06-Jun-1998 |
thorpej |
- Don't call *_dma_init() twice; there's no need to. Just do it in *attach(). - Display Pyxis revision properly.
|
#
1.42 |
|
05-Jun-1998 |
thorpej |
- Egads! There are Pyxis "Pass 1" chips that do not have the DMA bug! Use the check recommended by the Digital Workstation engineers; look for Miata 1 systems (i.e. with Intel SIO). From Andrew Gallatin. - Update copyright (Pyxis and BWX).
|
#
1.41 |
|
05-Jun-1998 |
thorpej |
On Pass 1 Pyxis, disable PCI Read Prefetching, and warn the user about the DMA bug that exists on this Pyxis revision.
|
#
1.40 |
|
05-Jun-1998 |
thorpej |
oops, read CNFG on all Pyxis revs.
|
#
1.39 |
|
05-Jun-1998 |
thorpej |
Support for the Digital Personal Workstation [456]xx, a.k.a. Miata (systype DEC_550). Mostly cloned from the EB164 systype, with some modifications from myself, and a few more from Andrew Gellatin.
|
#
1.38 |
|
04-Jun-1998 |
thorpej |
For whatever reason, the firmware seems to enable PCI loopback mode if it also enables BWX. Make sure it's enabled if we have an old, buggy firmware rev.
|
#
1.37 |
|
04-Jun-1998 |
thorpej |
Add support for using BWX for PCI config space and PCI i/o and mem space on the ALCOR2 and Pyxis. BWX is enabled iff: - It hasn't been disabled by the user (patch `cia_use_bwx' or build cia.o with the option "CIA_USE_BWX=0"), - it's enabled in CIA_CSR_CNFG, - we are running on an EV5-family processor, - BWX is in the processor's capabilities mask.
|
#
1.36 |
|
03-Jun-1998 |
thorpej |
Ok, now we _REALLY_ have Pyxis recognition correct. There are two systypes that can have Pyxis: EB164 (AlphaPC164LX and AlphaPC164SX) and DEC_550 (Miata), and these systypes/variations _always_ have Pyxis.
|
#
1.35 |
|
14-May-1998 |
thorpej |
Garbage-collect the old confargs stuff that was used in the Early Days. It isn't really appropriate anymore. Replace it with a real mainbus attach args structure.
|
#
1.34 |
|
12-May-1998 |
thorpej |
Use flags instead of a bunch of booleans. Add a "use bwx" flag.
|
#
1.33 |
|
11-May-1998 |
thorpej |
Rework ALCOR/ALCOR2/Pyxis recognition Yet Again. (Actually, just the way it's displayed, and mask off the revision once we've determined which chip we're talking to.)
|
#
1.32 |
|
28-Apr-1998 |
thorpej |
Try (again) to get the chip number right for Alcor and Pyxis, using the following (iffy) hueristic:
CIA revision 1 -> 21171 CIA revision 2 -> 21172 CIA revision > 2 -> 21174
|
#
1.31 |
|
12-Feb-1998 |
thorpej |
We can't count on the CIA revision register telling us if we're a 21171 or 21172, so make the chip/revsion output a little more sane.
|
#
1.30 |
|
17-Jan-1998 |
thorpej |
Don't assume that we'll be using direct-mapped DMA for PCI.
|
#
1.29 |
|
12-Jan-1998 |
thorpej |
Adjust for config changes.
|
#
1.28 |
|
27-Oct-1997 |
thorpej |
Clean up printing of chipset revision/capabilities.
|
Revision tags: netbsd-1-3-base marc-pcmcia-base
|
#
1.27 |
|
17-Sep-1997 |
thorpej |
branches: 1.27.2; If the CIA revision is >= 2, read the CIA configuration register, and remember its contents. Print out a bit of information about the chip, including whether or not it supports the EV56 BWX instructions.
|
Revision tags: thorpej-signal-base
|
#
1.26 |
|
02-Sep-1997 |
thorpej |
cia_bus_ -> cia_swiz_bus_
|
#
1.25 |
|
02-Sep-1997 |
thorpej |
Pull in DEC_EB164 and DEC_KN20AA options.
|
#
1.24 |
|
02-Sep-1997 |
thorpej |
Nuke the idea of <machine/options.h>. It completely defeats the purpose of fine-grain option dependencies.
|
#
1.23 |
|
02-Sep-1997 |
thorpej |
Fix oversight in a previous commit.
|
Revision tags: alpha-nwscons-base
|
#
1.22 |
|
02-Sep-1997 |
thorpej |
Treat bus space tags more like pci chipset tags and bus dma tags: allocate them statically within a chipset's state structure, and pass them to the *_bus_{io,mem}_init() functions.
|
Revision tags: marc-pcmcia-bp
|
#
1.21 |
|
06-Jun-1997 |
thorpej |
branches: 1.21.4; 1.21.6; Pull thorpej-bus-dma branch into mainline.
|
Revision tags: thorpej-bus-dma-base
|
#
1.20 |
|
10-Apr-1997 |
cgd |
branches: 1.20.2; pass memory- and i/o-enabled flags down via the PCI bus and device attach arguments, so that a device can tell if its memory and I/O spaces are enabled. The flags are cleared, depending on the contents of devices CSR registers, in the machine-independent PCI bus code.
|
#
1.19 |
|
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.18 |
|
07-Apr-1997 |
cgd |
clean up NetBSD RCS ID strings, include machine/options.h
|
#
1.17 |
|
06-Apr-1997 |
cgd |
clean up some #ifdefs
|
Revision tags: is-newarp-before-merge is-newarp-base
|
#
1.16 |
|
08-Dec-1996 |
cgd |
remove all traces of __BROKEN_INDIRECT_CONFIG (except in shared drivers)
|
#
1.15 |
|
05-Dec-1996 |
cgd |
update these so they compile whether or not __BROKEN_INDIRECT_CONFIG is defined.
|
#
1.14 |
|
25-Nov-1996 |
cgd |
branches: 1.14.2; update for new extent management code. Most importantly, we can't call the chipset space init functions multiple times, since that would clobber extent allocations made between the two calls.
|
#
1.13 |
|
11-Nov-1996 |
cgd |
preliminary support for the EB164. The EB164 is more or less a 'normal' 21164 + 21172 box, with Yet Another Way of doing interrupts. The interrupt mapping and handling code hasn't been written yet, and none of this code has been tested. (Checkpoint of work in progress.)
|
#
1.12 |
|
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.11 |
|
13-Oct-1996 |
christos |
backout previous kprintf change
|
#
1.10 |
|
10-Oct-1996 |
christos |
printf -> kprintf, sprintf -> ksprintf
|
#
1.9 |
|
27-Aug-1996 |
cgd |
change cfprint_t type definition to take a const char *, rather than a char *, because that's what was really intended, and because if the print function modifies the string, various things could become unhappy (so the string should _not_ be modified).
|
#
1.8 |
|
11-Jul-1996 |
cgd |
some cleanup for -Wall
|
#
1.7 |
|
09-Jul-1996 |
cgd |
clean and update for new defintions, prototypes, etc.
|
#
1.6 |
|
10-Jun-1996 |
cgd |
read value of HAE_MEM and HAE_IO, so that the bus_* functions can do window recognition correctly.
|
Revision tags: netbsd-1-2-base
|
#
1.5 |
|
13-Apr-1996 |
cgd |
branches: 1.5.4; update for new ISA/EISA/PCI/'bus' interfaces. Untested
|
#
1.4 |
|
12-Apr-1996 |
cgd |
clean up copyrights and RCS IDs
|
#
1.3 |
|
12-Apr-1996 |
cgd |
partially update for new ISA/EISA/PCI and 'bus' interfaces. not yet complete, or tested.
|
#
1.2 |
|
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.1 |
|
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.78 |
|
04-Jul-2021 |
thorpej |
Remove unnecessary #include <sys/malloc.h>
|
#
1.77 |
|
19-Jun-2021 |
thorpej |
Don't use a bunch of switch() statements in the core logic drivers to select the PCI interrupt initialization routine. Instead, register said routines by systype in a link set, and look them up and invoke them in a new function alpha_pci_intr_init().
|
#
1.76 |
|
18-Jun-2021 |
thorpej |
Sprinkle some static.
|
Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base
|
#
1.75 |
|
24-Apr-2021 |
thorpej |
Merge thorpej-cfargs branch:
Simplify and make extensible the config_search() / config_found() / config_attach() interfaces: rather than having different variants for which arguments you want pass along, just have a single call that takes a variadic list of tag-value arguments.
Adjust all call sites: - Simplify wherever possible; don't pass along arguments that aren't actually needed. - Don't be explicit about what interface attribute is attaching if the device only has one. (More simplification.) - Add a config_probe() function to be used in indirect configuiration situations, making is visibly easier to see when indirect config is in play, and allowing for future change in semantics. (As of now, this is just a wrapper around config_match(), but that is an implementation detail.)
Remove unnecessary or redundant interface attributes where they're not needed.
There are currently 5 "cfargs" defined: - CFARG_SUBMATCH (submatch function for direct config) - CFARG_SEARCH (search function for indirect config) - CFARG_IATTR (interface attribte) - CFARG_LOCATORS (locators array) - CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)
...and a sentinel value CFARG_EOL.
Add some extra sanity checking to ensure that interface attributes aren't ambiguous.
Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark ports to associate those device handles with device_t instance. This will trickle trough to more places over time (need back-end for pre-OFW Sun OBP; any others?).
|
Revision tags: netbsd-9-2-RELEASE thorpej-cfargs-base thorpej-futex-base netbsd-9-1-RELEASE bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 netbsd-8-2-RELEASE ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 isaki-audio2-base pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226
|
#
1.74 |
|
11-Oct-2015 |
martin |
branches: 1.74.32; Felix Deichmann in PR port-alpha/50326: cosmetic patch for Pyxis attach message.
|
Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE rmind-smpnet-nbase netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base rmind-smpnet-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 tls-maxphys-base matt-nb6-plus-base netbsd-6-0-RC1 jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9 yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-base2 netbsd-6-base
|
#
1.73 |
|
06-Feb-2012 |
matt |
branches: 1.73.6; 1.73.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
|
Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.72 |
|
14-Jun-2011 |
matt |
branches: 1.72.2; 1.72.6; Major cleanup of alpha device drivers. Switch to CFATTACH_DECL_NEW. struct device * -> device_t struct cfdata * -> cfdata_t Use of device_xname. No direct access to struct device members. Use aprint* (not complete).
|
Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
|
#
1.71 |
|
17-May-2011 |
dyoung |
branches: 1.71.2; PCI_FLAGS_IO_ENABLED and PCI_FLAGS_MEM_ENABLED changed their functional role in NetBSD (drivers are no longer supposed to write these to pa_flags) without changing name. Correct that.
Rename PCI_FLAGS_IO_ENABLED to PCI_FLAGS_IO_OKAY and PCI_FLAGS_MEM_ENABLED to PCI_FLAGS_MEM_OKAY, thus making their names consistent with the other PCI flags and poisoning 3rd-party driver sources that use the flags in the old bad way.
This patch produces no binary changes in this set of PCI kernels when they are compiled w/o 'options DIAGNOSTIC' and w/ -V MKREPRO=yes:
algor P4032 P5064 P6032 alpha GENERIC amd64 GENERIC XEN3_DOM0 arc GENERIC atari HADES MILAN-PCIIDE bebox GENERIC cats GENERIC cobalt GENERIC evbarm-el ADI_BRH ARMADILLO9 CP3100 GEMINI GEMINI_MASTER GEMINI_SLAVE evbarm-el GUMSTIX HDL_G IMX31LITE INTEGRATOR IQ31244 IQ80310 IQ80321 evbarm-el IXDP425 IXM1200 KUROBOX_PRO evbarm-el LUBBOCK MARVELL_NAS NAPPI NSLU2 SHEEVAPLUG SMDK2800 TEAMASA_NPWR evbarm-el TEAMASA_NPWR_FC TS7200 TWINTAIL ZAO425 evbmips-el AP30 DBAU1500 DBAU1550 MALTA MERAKI MTX-1 OMSAL400 RB153 WGT624V3 evbmips64-el XLSATX evbppc EV64260 MPC8536DS MPC8548CDS OPENBLOCKS200 OPENBLOCKS266 evbppc OPENBLOCKS266_OPT P2020RDB PMPPC RB800 WALNUT hp700 GENERIC i386 ALL XEN3_DOM0 XEN3_DOMU ibmnws GENERIC iyonix GENERIC landisk GENERIC macppc GENERIC mvmeppc GENERIC netwinder GENERIC ofppc GENERIC prep GENERIC sandpoint GENERIC sbmips-el GENERIC sgimips GENERIC32_IP2x GENERIC32_IP3x sparc GENERIC_SUN4U KRUPS sparc64 GENERIC
|
Revision tags: jym-xensuspend-nbase uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base jruoho-x86intr-base matt-mips64-premerge-20101231 jym-xensuspend-base
|
#
1.70 |
|
15-Dec-2010 |
matt |
branches: 1.70.2; Remove unneeded includes of <uvm/uvm_extern.h>
|
Revision tags: uebayasi-xip-base6 uebayasi-xip-base5 uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10 uebayasi-xip-base1 yamt-nfs-mp-base9 uebayasi-xip-base matt-premerge-20091211 yamt-nfs-mp-base8 yamt-nfs-mp-base7 jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 nick-hppapmap-base
|
#
1.69 |
|
14-Mar-2009 |
dsl |
branches: 1.69.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.68 |
|
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.67 |
|
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.
|
Revision tags: nick-hppapmap-base2 mjf-devfs2-base
|
#
1.66 |
|
16-Dec-2008 |
christos |
branches: 1.66.2; replace bitmask_snprintf(9) with snprintb(3)
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 haad-dm-base wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-base2 yamt-nfs-mp-base2 wrstuden-revivesa-base
|
#
1.65 |
|
28-Apr-2008 |
martin |
branches: 1.65.8; Remove clause 3 and 4 from TNF licenses
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase nick-csl-alignment-base5 yamt-pf42-baseX yamt-nfs-mp-base yamt-pf42-base ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base bouyer-xeni386-merge1 matt-armv6-prevmlocking wrstuden-fixsa-base-1 vmlocking2-base3 netbsd-4-0-RELEASE bouyer-xeni386-nbase yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 bouyer-xeni386-base yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 netbsd-4-0-RC5 matt-nb4-arm-base matt-armv6-nbase jmcneill-base netbsd-4-0-RC4 mjf-devfs-base bouyer-xenamd64-base2 vmlocking-nbase yamt-x86pmap-base4 bouyer-xenamd64-base netbsd-4-0-RC3 yamt-x86pmap-base3 yamt-x86pmap-base2 netbsd-4-0-RC2 yamt-x86pmap-base netbsd-4-0-RC1 matt-armv6-base jmcneill-pm-base hpcarm-cleanup-base nick-csl-alignment-base matt-mips64-base yamt-idlelwp-base8 wrstuden-fixsa-base ppcoea-renovation-base thorpej-atomic-base reinoud-bufcleanup-base mjf-ufs-trans-base vmlocking-base ad-audiomp-base post-newlock2-merge newlock2-nbase yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 abandoned-netbsd-4-base yamt-splraiseipl-base2 yamt-splraiseipl-base yamt-pdpolicy-base9 newlock2-base yamt-pdpolicy-base8 yamt-pdpolicy-base7 netbsd-4-base yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base simonb-timcounters-final yamt-pdpolicy-base5 chap-midi-base yamt-pdpolicy-base4 yamt-pdpolicy-base3 peter-altq-base yamt-pdpolicy-base2 elad-kernelauth-base yamt-pdpolicy-base yamt-uio_vmspace-base5 simonb-timecounters-base rpaulo-netinet-merge-pcb-base
|
#
1.64 |
|
11-Dec-2005 |
christos |
branches: 1.64.26; 1.64.74; 1.64.76; 1.64.78; merge ktrace-lwp.
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 yamt-readahead-base3 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 yamt-readahead-base2 netbsd-3-0-RC2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base netbsd-3-0-RC1 yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base yamt-km-base4 yamt-km-base3 netbsd-3-base yamt-km-base2 yamt-km-base kent-audio2-base kent-audio1-beforemerge kent-audio1-base ktrace-lwp-base
|
#
1.63 |
|
30-Aug-2004 |
drochner |
Phase out the use of a string as first "attach args" member to control which bustype should be attached with a specific call to config_found() (from a "mainbus" or a bus bridge). Do it for isa/eisa/mca and pci/agp for now. These buses all attach to an mi interface attribute "isabus", "eisabus" etc., and the autoconf framework now allows to specify an interface attribute on config_found() and config_search(), which limits the search of matching config data to these which attach to that specific attribute. So we basically have to call config_found_ia(..., "foobus", ...) where such a bus is attached. As a consequence, where a "mainbus" or alike also attaches other devices (eg CPUs) which do not attach to a specific attribute yet, we need at least pass an attribute name (different from "foobus") so that the foo bus is not found at these places. This made some minor changes necessary which are not obviously related to the mentioned buses.
|
Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
|
#
1.62 |
|
15-Jun-2003 |
fvdl |
branches: 1.62.2; Handle 64bit DMA addresses on PCI for platforms that can (currently only enabled on amd64). Add a dmat64 field to various PCI attach structures, and pass it down where needed. Implement a simple new function called pci_dma64_available(pa) to test if 64bit DMA addresses may be used. This returns 1 iff _PCI_HAVE_DMA64 is defined in <machine/pci_machdep.h>, and there is more than 4G of memory.
|
Revision tags: nathanw_sa_before_merge fvdl_fs64_base nathanw_sa_base
|
#
1.61 |
|
01-Jan-2003 |
thorpej |
Use aprint_normal() for cfprint routines.
|
Revision tags: gmcgarry_ctxsw_base gmcgarry_ucred_base kqueue-aftermerge kqueue-beforemerge kqueue-base
|
#
1.60 |
|
02-Oct-2002 |
thorpej |
Use CFATTACH_DECL().
|
#
1.59 |
|
27-Sep-2002 |
thorpej |
Declare all cfattach structures const.
|
Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base gehenna-devsw-base
|
#
1.58 |
|
16-May-2002 |
thorpej |
* Add "pcitag_t *pba_bridgetag" to pci_attach_args. This is set to NULL for root PCI busses. For busses behind a bridge, it points to a persistent copy of the bridge's pcitag_t. This can be very useful for machine-dependent PCI bus enumeration code. * Implement a machine-dependent pci_enumerate_bus() for sparc64 which uses OFW device nodes to enumerate the bus. When a PCI bus that is behind a bridge is attached, pci_attach_hook() allocates a new PCI chipset tag for the new bus and sets it's "curnode" to the OFW node of the bridge. This is used as a starting point when enumerating that bus. Root busses get the OFW node of the host bridge (psycho). * Garbage-collect "ofpci" and "ofppb" from the sparc64 port.
|
Revision tags: eeh-devprop-base newlock-base ifpoll-base thorpej-mips-cache-base thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base
|
#
1.57 |
|
26-Apr-2001 |
ross |
branches: 1.57.2; 1.57.4; 1.57.16; o IEEE 754 floating-point completion code. o Implement the architected FP_C "Floating Point Control Quadword"
|
Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
|
#
1.56 |
|
29-Jun-2000 |
mrg |
branches: 1.56.2; remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
|
Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
|
#
1.55 |
|
03-Apr-2000 |
thorpej |
Use the new cpu_amask variable rather than calling alpha_implver() and alpha_amask() ourselves.
|
#
1.54 |
|
19-Mar-2000 |
thorpej |
Put the code that enables/disables Pyxis interrupt lines in cia_pyxis_intr_enable().
|
#
1.53 |
|
26-Feb-2000 |
thorpej |
- Add a bus space method for getting the translation for a window. - Add sysarch methods for "get bus window count", "get bus window", and "pci conf read/write".
These are a hack, but they're what's necessary in order to make XFree86 work in its current state.
|
Revision tags: chs-ubc2-newbase
|
#
1.52 |
|
09-Feb-2000 |
thorpej |
Don't force BWX on Pyxis by default; it's just not reliable enough.
|
#
1.51 |
|
06-Feb-2000 |
thorpej |
If we have a Pyxis with the DMA page crossing bug, don't allow coalescing of adjacent DMA segments.
XXX This is still not perfect... but making it perfect will probably require additions to the bus_dma interface and the ISA autoconfiguration interface.
|
#
1.50 |
|
01-Feb-2000 |
thorpej |
Always use BWX for bus access on Pyxis chips.
|
Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base fvdl-softdep-base
|
#
1.49 |
|
04-Nov-1999 |
thorpej |
Don't do rd/line, rd/mult, or wr/inval on the buggy Miata 1's.
|
#
1.48 |
|
04-Nov-1999 |
thorpej |
Tell the PCI layer that Memory Read Line, Memory Read Multiple, and Memory Write and Invalidate are okay PCI commands to use.
|
Revision tags: kame_141_19991130 comdex-fall-1999-base netbsd-1-4-PATCH001 kame_14_19990705 kame_14_19990628 chs-ubc2-base netbsd-1-4-RELEASE netbsd-1-4-base
|
#
1.47 |
|
10-Apr-1999 |
cgd |
branches: 1.47.2; 1.47.8; 1.47.10; 1.47.14; be more consistent about use of 'cputype'. e.g. it's in a header, don't bother 'externing' it everywhere!
|
Revision tags: kenh-if-detach-base chs-ubc-base eeh-paddr_t-base
|
#
1.46 |
|
29-Jul-1998 |
thorpej |
Split up using BWX for PCI config and bus access. Default to using BWX for the former, but not the latter. Hopefully, this will address some problems people have been experiencing w/ some devices on Pyxis systems when BWX is used for bus access. (If it's not used for PCI config access, we can get fatal machine checks while probing behind PCI-PCI bridges!!)
|
#
1.45 |
|
26-Jun-1998 |
ross |
New platforms: Mikasa and Mikasa/Pinnacle, aka Pinkasa.
Like the 1000A, the AlphaServer 1000 has a daughtercard assembly that integrates the CPU and core logic, so these can be ev4/apecs or ev5/cia. New systype, and, sigh, another way of doing interrupts and another mystery icu.
Kill off some EVCNT_COUNTERS calls, since [A] it has to be rewritten anyway before it can be useful, and [B] #ifdefs do not belong at every call site, a common API should be defined and the implementations conditionalized, not all the calls. Duhh.
|
#
1.44 |
|
24-Jun-1998 |
ross |
Call pci_1000a_pickintr() like on other platforms, but for 1000a expand the iot, memt, and pc in the call so that pci_1000a_pickintr() (and the other routines in that module) do not need to be aware of the core logic type just to pass down memory and I/O space tags or to call the decompose function.
|
#
1.43 |
|
06-Jun-1998 |
thorpej |
- Don't call *_dma_init() twice; there's no need to. Just do it in *attach(). - Display Pyxis revision properly.
|
#
1.42 |
|
05-Jun-1998 |
thorpej |
- Egads! There are Pyxis "Pass 1" chips that do not have the DMA bug! Use the check recommended by the Digital Workstation engineers; look for Miata 1 systems (i.e. with Intel SIO). From Andrew Gallatin. - Update copyright (Pyxis and BWX).
|
#
1.41 |
|
05-Jun-1998 |
thorpej |
On Pass 1 Pyxis, disable PCI Read Prefetching, and warn the user about the DMA bug that exists on this Pyxis revision.
|
#
1.40 |
|
05-Jun-1998 |
thorpej |
oops, read CNFG on all Pyxis revs.
|
#
1.39 |
|
05-Jun-1998 |
thorpej |
Support for the Digital Personal Workstation [456]xx, a.k.a. Miata (systype DEC_550). Mostly cloned from the EB164 systype, with some modifications from myself, and a few more from Andrew Gellatin.
|
#
1.38 |
|
04-Jun-1998 |
thorpej |
For whatever reason, the firmware seems to enable PCI loopback mode if it also enables BWX. Make sure it's enabled if we have an old, buggy firmware rev.
|
#
1.37 |
|
04-Jun-1998 |
thorpej |
Add support for using BWX for PCI config space and PCI i/o and mem space on the ALCOR2 and Pyxis. BWX is enabled iff: - It hasn't been disabled by the user (patch `cia_use_bwx' or build cia.o with the option "CIA_USE_BWX=0"), - it's enabled in CIA_CSR_CNFG, - we are running on an EV5-family processor, - BWX is in the processor's capabilities mask.
|
#
1.36 |
|
03-Jun-1998 |
thorpej |
Ok, now we _REALLY_ have Pyxis recognition correct. There are two systypes that can have Pyxis: EB164 (AlphaPC164LX and AlphaPC164SX) and DEC_550 (Miata), and these systypes/variations _always_ have Pyxis.
|
#
1.35 |
|
14-May-1998 |
thorpej |
Garbage-collect the old confargs stuff that was used in the Early Days. It isn't really appropriate anymore. Replace it with a real mainbus attach args structure.
|
#
1.34 |
|
12-May-1998 |
thorpej |
Use flags instead of a bunch of booleans. Add a "use bwx" flag.
|
#
1.33 |
|
11-May-1998 |
thorpej |
Rework ALCOR/ALCOR2/Pyxis recognition Yet Again. (Actually, just the way it's displayed, and mask off the revision once we've determined which chip we're talking to.)
|
#
1.32 |
|
28-Apr-1998 |
thorpej |
Try (again) to get the chip number right for Alcor and Pyxis, using the following (iffy) hueristic:
CIA revision 1 -> 21171 CIA revision 2 -> 21172 CIA revision > 2 -> 21174
|
#
1.31 |
|
12-Feb-1998 |
thorpej |
We can't count on the CIA revision register telling us if we're a 21171 or 21172, so make the chip/revsion output a little more sane.
|
#
1.30 |
|
17-Jan-1998 |
thorpej |
Don't assume that we'll be using direct-mapped DMA for PCI.
|
#
1.29 |
|
12-Jan-1998 |
thorpej |
Adjust for config changes.
|
#
1.28 |
|
27-Oct-1997 |
thorpej |
Clean up printing of chipset revision/capabilities.
|
Revision tags: netbsd-1-3-base marc-pcmcia-base
|
#
1.27 |
|
17-Sep-1997 |
thorpej |
branches: 1.27.2; If the CIA revision is >= 2, read the CIA configuration register, and remember its contents. Print out a bit of information about the chip, including whether or not it supports the EV56 BWX instructions.
|
Revision tags: thorpej-signal-base
|
#
1.26 |
|
02-Sep-1997 |
thorpej |
cia_bus_ -> cia_swiz_bus_
|
#
1.25 |
|
02-Sep-1997 |
thorpej |
Pull in DEC_EB164 and DEC_KN20AA options.
|
#
1.24 |
|
02-Sep-1997 |
thorpej |
Nuke the idea of <machine/options.h>. It completely defeats the purpose of fine-grain option dependencies.
|
#
1.23 |
|
02-Sep-1997 |
thorpej |
Fix oversight in a previous commit.
|
Revision tags: alpha-nwscons-base
|
#
1.22 |
|
02-Sep-1997 |
thorpej |
Treat bus space tags more like pci chipset tags and bus dma tags: allocate them statically within a chipset's state structure, and pass them to the *_bus_{io,mem}_init() functions.
|
Revision tags: marc-pcmcia-bp
|
#
1.21 |
|
06-Jun-1997 |
thorpej |
branches: 1.21.4; 1.21.6; Pull thorpej-bus-dma branch into mainline.
|
Revision tags: thorpej-bus-dma-base
|
#
1.20 |
|
10-Apr-1997 |
cgd |
branches: 1.20.2; pass memory- and i/o-enabled flags down via the PCI bus and device attach arguments, so that a device can tell if its memory and I/O spaces are enabled. The flags are cleared, depending on the contents of devices CSR registers, in the machine-independent PCI bus code.
|
#
1.19 |
|
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.18 |
|
07-Apr-1997 |
cgd |
clean up NetBSD RCS ID strings, include machine/options.h
|
#
1.17 |
|
06-Apr-1997 |
cgd |
clean up some #ifdefs
|
Revision tags: is-newarp-before-merge is-newarp-base
|
#
1.16 |
|
08-Dec-1996 |
cgd |
remove all traces of __BROKEN_INDIRECT_CONFIG (except in shared drivers)
|
#
1.15 |
|
05-Dec-1996 |
cgd |
update these so they compile whether or not __BROKEN_INDIRECT_CONFIG is defined.
|
#
1.14 |
|
25-Nov-1996 |
cgd |
branches: 1.14.2; update for new extent management code. Most importantly, we can't call the chipset space init functions multiple times, since that would clobber extent allocations made between the two calls.
|
#
1.13 |
|
11-Nov-1996 |
cgd |
preliminary support for the EB164. The EB164 is more or less a 'normal' 21164 + 21172 box, with Yet Another Way of doing interrupts. The interrupt mapping and handling code hasn't been written yet, and none of this code has been tested. (Checkpoint of work in progress.)
|
#
1.12 |
|
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.11 |
|
13-Oct-1996 |
christos |
backout previous kprintf change
|
#
1.10 |
|
10-Oct-1996 |
christos |
printf -> kprintf, sprintf -> ksprintf
|
#
1.9 |
|
27-Aug-1996 |
cgd |
change cfprint_t type definition to take a const char *, rather than a char *, because that's what was really intended, and because if the print function modifies the string, various things could become unhappy (so the string should _not_ be modified).
|
#
1.8 |
|
11-Jul-1996 |
cgd |
some cleanup for -Wall
|
#
1.7 |
|
09-Jul-1996 |
cgd |
clean and update for new defintions, prototypes, etc.
|
#
1.6 |
|
10-Jun-1996 |
cgd |
read value of HAE_MEM and HAE_IO, so that the bus_* functions can do window recognition correctly.
|
Revision tags: netbsd-1-2-base
|
#
1.5 |
|
13-Apr-1996 |
cgd |
branches: 1.5.4; update for new ISA/EISA/PCI/'bus' interfaces. Untested
|
#
1.4 |
|
12-Apr-1996 |
cgd |
clean up copyrights and RCS IDs
|
#
1.3 |
|
12-Apr-1996 |
cgd |
partially update for new ISA/EISA/PCI and 'bus' interfaces. not yet complete, or tested.
|
#
1.2 |
|
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.1 |
|
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.77 |
|
19-Jun-2021 |
thorpej |
Don't use a bunch of switch() statements in the core logic drivers to select the PCI interrupt initialization routine. Instead, register said routines by systype in a link set, and look them up and invoke them in a new function alpha_pci_intr_init().
|
#
1.76 |
|
18-Jun-2021 |
thorpej |
Sprinkle some static.
|
Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base
|
#
1.75 |
|
24-Apr-2021 |
thorpej |
Merge thorpej-cfargs branch:
Simplify and make extensible the config_search() / config_found() / config_attach() interfaces: rather than having different variants for which arguments you want pass along, just have a single call that takes a variadic list of tag-value arguments.
Adjust all call sites: - Simplify wherever possible; don't pass along arguments that aren't actually needed. - Don't be explicit about what interface attribute is attaching if the device only has one. (More simplification.) - Add a config_probe() function to be used in indirect configuiration situations, making is visibly easier to see when indirect config is in play, and allowing for future change in semantics. (As of now, this is just a wrapper around config_match(), but that is an implementation detail.)
Remove unnecessary or redundant interface attributes where they're not needed.
There are currently 5 "cfargs" defined: - CFARG_SUBMATCH (submatch function for direct config) - CFARG_SEARCH (search function for indirect config) - CFARG_IATTR (interface attribte) - CFARG_LOCATORS (locators array) - CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)
...and a sentinel value CFARG_EOL.
Add some extra sanity checking to ensure that interface attributes aren't ambiguous.
Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark ports to associate those device handles with device_t instance. This will trickle trough to more places over time (need back-end for pre-OFW Sun OBP; any others?).
|
Revision tags: netbsd-9-2-RELEASE thorpej-cfargs-base thorpej-futex-base netbsd-9-1-RELEASE bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 netbsd-8-2-RELEASE ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 isaki-audio2-base pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226
|
#
1.74 |
|
11-Oct-2015 |
martin |
branches: 1.74.32; Felix Deichmann in PR port-alpha/50326: cosmetic patch for Pyxis attach message.
|
Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE rmind-smpnet-nbase netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base rmind-smpnet-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 tls-maxphys-base matt-nb6-plus-base netbsd-6-0-RC1 jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9 yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-base2 netbsd-6-base
|
#
1.73 |
|
06-Feb-2012 |
matt |
branches: 1.73.6; 1.73.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
|
Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.72 |
|
14-Jun-2011 |
matt |
branches: 1.72.2; 1.72.6; Major cleanup of alpha device drivers. Switch to CFATTACH_DECL_NEW. struct device * -> device_t struct cfdata * -> cfdata_t Use of device_xname. No direct access to struct device members. Use aprint* (not complete).
|
Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
|
#
1.71 |
|
17-May-2011 |
dyoung |
branches: 1.71.2; PCI_FLAGS_IO_ENABLED and PCI_FLAGS_MEM_ENABLED changed their functional role in NetBSD (drivers are no longer supposed to write these to pa_flags) without changing name. Correct that.
Rename PCI_FLAGS_IO_ENABLED to PCI_FLAGS_IO_OKAY and PCI_FLAGS_MEM_ENABLED to PCI_FLAGS_MEM_OKAY, thus making their names consistent with the other PCI flags and poisoning 3rd-party driver sources that use the flags in the old bad way.
This patch produces no binary changes in this set of PCI kernels when they are compiled w/o 'options DIAGNOSTIC' and w/ -V MKREPRO=yes:
algor P4032 P5064 P6032 alpha GENERIC amd64 GENERIC XEN3_DOM0 arc GENERIC atari HADES MILAN-PCIIDE bebox GENERIC cats GENERIC cobalt GENERIC evbarm-el ADI_BRH ARMADILLO9 CP3100 GEMINI GEMINI_MASTER GEMINI_SLAVE evbarm-el GUMSTIX HDL_G IMX31LITE INTEGRATOR IQ31244 IQ80310 IQ80321 evbarm-el IXDP425 IXM1200 KUROBOX_PRO evbarm-el LUBBOCK MARVELL_NAS NAPPI NSLU2 SHEEVAPLUG SMDK2800 TEAMASA_NPWR evbarm-el TEAMASA_NPWR_FC TS7200 TWINTAIL ZAO425 evbmips-el AP30 DBAU1500 DBAU1550 MALTA MERAKI MTX-1 OMSAL400 RB153 WGT624V3 evbmips64-el XLSATX evbppc EV64260 MPC8536DS MPC8548CDS OPENBLOCKS200 OPENBLOCKS266 evbppc OPENBLOCKS266_OPT P2020RDB PMPPC RB800 WALNUT hp700 GENERIC i386 ALL XEN3_DOM0 XEN3_DOMU ibmnws GENERIC iyonix GENERIC landisk GENERIC macppc GENERIC mvmeppc GENERIC netwinder GENERIC ofppc GENERIC prep GENERIC sandpoint GENERIC sbmips-el GENERIC sgimips GENERIC32_IP2x GENERIC32_IP3x sparc GENERIC_SUN4U KRUPS sparc64 GENERIC
|
Revision tags: jym-xensuspend-nbase uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base jruoho-x86intr-base matt-mips64-premerge-20101231 jym-xensuspend-base
|
#
1.70 |
|
15-Dec-2010 |
matt |
branches: 1.70.2; Remove unneeded includes of <uvm/uvm_extern.h>
|
Revision tags: uebayasi-xip-base6 uebayasi-xip-base5 uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10 uebayasi-xip-base1 yamt-nfs-mp-base9 uebayasi-xip-base matt-premerge-20091211 yamt-nfs-mp-base8 yamt-nfs-mp-base7 jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 nick-hppapmap-base
|
#
1.69 |
|
14-Mar-2009 |
dsl |
branches: 1.69.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.68 |
|
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.67 |
|
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.
|
Revision tags: nick-hppapmap-base2 mjf-devfs2-base
|
#
1.66 |
|
16-Dec-2008 |
christos |
branches: 1.66.2; replace bitmask_snprintf(9) with snprintb(3)
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 haad-dm-base wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-base2 yamt-nfs-mp-base2 wrstuden-revivesa-base
|
#
1.65 |
|
28-Apr-2008 |
martin |
branches: 1.65.8; Remove clause 3 and 4 from TNF licenses
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase nick-csl-alignment-base5 yamt-pf42-baseX yamt-nfs-mp-base yamt-pf42-base ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base bouyer-xeni386-merge1 matt-armv6-prevmlocking wrstuden-fixsa-base-1 vmlocking2-base3 netbsd-4-0-RELEASE bouyer-xeni386-nbase yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 bouyer-xeni386-base yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 netbsd-4-0-RC5 matt-nb4-arm-base matt-armv6-nbase jmcneill-base netbsd-4-0-RC4 mjf-devfs-base bouyer-xenamd64-base2 vmlocking-nbase yamt-x86pmap-base4 bouyer-xenamd64-base netbsd-4-0-RC3 yamt-x86pmap-base3 yamt-x86pmap-base2 netbsd-4-0-RC2 yamt-x86pmap-base netbsd-4-0-RC1 matt-armv6-base jmcneill-pm-base hpcarm-cleanup-base nick-csl-alignment-base matt-mips64-base yamt-idlelwp-base8 wrstuden-fixsa-base ppcoea-renovation-base thorpej-atomic-base reinoud-bufcleanup-base mjf-ufs-trans-base vmlocking-base ad-audiomp-base post-newlock2-merge newlock2-nbase yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 abandoned-netbsd-4-base yamt-splraiseipl-base2 yamt-splraiseipl-base yamt-pdpolicy-base9 newlock2-base yamt-pdpolicy-base8 yamt-pdpolicy-base7 netbsd-4-base yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base simonb-timcounters-final yamt-pdpolicy-base5 chap-midi-base yamt-pdpolicy-base4 yamt-pdpolicy-base3 peter-altq-base yamt-pdpolicy-base2 elad-kernelauth-base yamt-pdpolicy-base yamt-uio_vmspace-base5 simonb-timecounters-base rpaulo-netinet-merge-pcb-base
|
#
1.64 |
|
11-Dec-2005 |
christos |
branches: 1.64.26; 1.64.74; 1.64.76; 1.64.78; merge ktrace-lwp.
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 yamt-readahead-base3 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 yamt-readahead-base2 netbsd-3-0-RC2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base netbsd-3-0-RC1 yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base yamt-km-base4 yamt-km-base3 netbsd-3-base yamt-km-base2 yamt-km-base kent-audio2-base kent-audio1-beforemerge kent-audio1-base ktrace-lwp-base
|
#
1.63 |
|
30-Aug-2004 |
drochner |
Phase out the use of a string as first "attach args" member to control which bustype should be attached with a specific call to config_found() (from a "mainbus" or a bus bridge). Do it for isa/eisa/mca and pci/agp for now. These buses all attach to an mi interface attribute "isabus", "eisabus" etc., and the autoconf framework now allows to specify an interface attribute on config_found() and config_search(), which limits the search of matching config data to these which attach to that specific attribute. So we basically have to call config_found_ia(..., "foobus", ...) where such a bus is attached. As a consequence, where a "mainbus" or alike also attaches other devices (eg CPUs) which do not attach to a specific attribute yet, we need at least pass an attribute name (different from "foobus") so that the foo bus is not found at these places. This made some minor changes necessary which are not obviously related to the mentioned buses.
|
Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
|
#
1.62 |
|
15-Jun-2003 |
fvdl |
branches: 1.62.2; Handle 64bit DMA addresses on PCI for platforms that can (currently only enabled on amd64). Add a dmat64 field to various PCI attach structures, and pass it down where needed. Implement a simple new function called pci_dma64_available(pa) to test if 64bit DMA addresses may be used. This returns 1 iff _PCI_HAVE_DMA64 is defined in <machine/pci_machdep.h>, and there is more than 4G of memory.
|
Revision tags: nathanw_sa_before_merge fvdl_fs64_base nathanw_sa_base
|
#
1.61 |
|
01-Jan-2003 |
thorpej |
Use aprint_normal() for cfprint routines.
|
Revision tags: gmcgarry_ctxsw_base gmcgarry_ucred_base kqueue-aftermerge kqueue-beforemerge kqueue-base
|
#
1.60 |
|
02-Oct-2002 |
thorpej |
Use CFATTACH_DECL().
|
#
1.59 |
|
27-Sep-2002 |
thorpej |
Declare all cfattach structures const.
|
Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base gehenna-devsw-base
|
#
1.58 |
|
16-May-2002 |
thorpej |
* Add "pcitag_t *pba_bridgetag" to pci_attach_args. This is set to NULL for root PCI busses. For busses behind a bridge, it points to a persistent copy of the bridge's pcitag_t. This can be very useful for machine-dependent PCI bus enumeration code. * Implement a machine-dependent pci_enumerate_bus() for sparc64 which uses OFW device nodes to enumerate the bus. When a PCI bus that is behind a bridge is attached, pci_attach_hook() allocates a new PCI chipset tag for the new bus and sets it's "curnode" to the OFW node of the bridge. This is used as a starting point when enumerating that bus. Root busses get the OFW node of the host bridge (psycho). * Garbage-collect "ofpci" and "ofppb" from the sparc64 port.
|
Revision tags: eeh-devprop-base newlock-base ifpoll-base thorpej-mips-cache-base thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base
|
#
1.57 |
|
26-Apr-2001 |
ross |
branches: 1.57.2; 1.57.4; 1.57.16; o IEEE 754 floating-point completion code. o Implement the architected FP_C "Floating Point Control Quadword"
|
Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
|
#
1.56 |
|
29-Jun-2000 |
mrg |
branches: 1.56.2; remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
|
Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
|
#
1.55 |
|
03-Apr-2000 |
thorpej |
Use the new cpu_amask variable rather than calling alpha_implver() and alpha_amask() ourselves.
|
#
1.54 |
|
19-Mar-2000 |
thorpej |
Put the code that enables/disables Pyxis interrupt lines in cia_pyxis_intr_enable().
|
#
1.53 |
|
26-Feb-2000 |
thorpej |
- Add a bus space method for getting the translation for a window. - Add sysarch methods for "get bus window count", "get bus window", and "pci conf read/write".
These are a hack, but they're what's necessary in order to make XFree86 work in its current state.
|
Revision tags: chs-ubc2-newbase
|
#
1.52 |
|
09-Feb-2000 |
thorpej |
Don't force BWX on Pyxis by default; it's just not reliable enough.
|
#
1.51 |
|
06-Feb-2000 |
thorpej |
If we have a Pyxis with the DMA page crossing bug, don't allow coalescing of adjacent DMA segments.
XXX This is still not perfect... but making it perfect will probably require additions to the bus_dma interface and the ISA autoconfiguration interface.
|
#
1.50 |
|
01-Feb-2000 |
thorpej |
Always use BWX for bus access on Pyxis chips.
|
Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base fvdl-softdep-base
|
#
1.49 |
|
04-Nov-1999 |
thorpej |
Don't do rd/line, rd/mult, or wr/inval on the buggy Miata 1's.
|
#
1.48 |
|
04-Nov-1999 |
thorpej |
Tell the PCI layer that Memory Read Line, Memory Read Multiple, and Memory Write and Invalidate are okay PCI commands to use.
|
Revision tags: kame_141_19991130 comdex-fall-1999-base netbsd-1-4-PATCH001 kame_14_19990705 kame_14_19990628 chs-ubc2-base netbsd-1-4-RELEASE netbsd-1-4-base
|
#
1.47 |
|
10-Apr-1999 |
cgd |
branches: 1.47.2; 1.47.8; 1.47.10; 1.47.14; be more consistent about use of 'cputype'. e.g. it's in a header, don't bother 'externing' it everywhere!
|
Revision tags: kenh-if-detach-base chs-ubc-base eeh-paddr_t-base
|
#
1.46 |
|
29-Jul-1998 |
thorpej |
Split up using BWX for PCI config and bus access. Default to using BWX for the former, but not the latter. Hopefully, this will address some problems people have been experiencing w/ some devices on Pyxis systems when BWX is used for bus access. (If it's not used for PCI config access, we can get fatal machine checks while probing behind PCI-PCI bridges!!)
|
#
1.45 |
|
26-Jun-1998 |
ross |
New platforms: Mikasa and Mikasa/Pinnacle, aka Pinkasa.
Like the 1000A, the AlphaServer 1000 has a daughtercard assembly that integrates the CPU and core logic, so these can be ev4/apecs or ev5/cia. New systype, and, sigh, another way of doing interrupts and another mystery icu.
Kill off some EVCNT_COUNTERS calls, since [A] it has to be rewritten anyway before it can be useful, and [B] #ifdefs do not belong at every call site, a common API should be defined and the implementations conditionalized, not all the calls. Duhh.
|
#
1.44 |
|
24-Jun-1998 |
ross |
Call pci_1000a_pickintr() like on other platforms, but for 1000a expand the iot, memt, and pc in the call so that pci_1000a_pickintr() (and the other routines in that module) do not need to be aware of the core logic type just to pass down memory and I/O space tags or to call the decompose function.
|
#
1.43 |
|
06-Jun-1998 |
thorpej |
- Don't call *_dma_init() twice; there's no need to. Just do it in *attach(). - Display Pyxis revision properly.
|
#
1.42 |
|
05-Jun-1998 |
thorpej |
- Egads! There are Pyxis "Pass 1" chips that do not have the DMA bug! Use the check recommended by the Digital Workstation engineers; look for Miata 1 systems (i.e. with Intel SIO). From Andrew Gallatin. - Update copyright (Pyxis and BWX).
|
#
1.41 |
|
05-Jun-1998 |
thorpej |
On Pass 1 Pyxis, disable PCI Read Prefetching, and warn the user about the DMA bug that exists on this Pyxis revision.
|
#
1.40 |
|
05-Jun-1998 |
thorpej |
oops, read CNFG on all Pyxis revs.
|
#
1.39 |
|
05-Jun-1998 |
thorpej |
Support for the Digital Personal Workstation [456]xx, a.k.a. Miata (systype DEC_550). Mostly cloned from the EB164 systype, with some modifications from myself, and a few more from Andrew Gellatin.
|
#
1.38 |
|
04-Jun-1998 |
thorpej |
For whatever reason, the firmware seems to enable PCI loopback mode if it also enables BWX. Make sure it's enabled if we have an old, buggy firmware rev.
|
#
1.37 |
|
04-Jun-1998 |
thorpej |
Add support for using BWX for PCI config space and PCI i/o and mem space on the ALCOR2 and Pyxis. BWX is enabled iff: - It hasn't been disabled by the user (patch `cia_use_bwx' or build cia.o with the option "CIA_USE_BWX=0"), - it's enabled in CIA_CSR_CNFG, - we are running on an EV5-family processor, - BWX is in the processor's capabilities mask.
|
#
1.36 |
|
03-Jun-1998 |
thorpej |
Ok, now we _REALLY_ have Pyxis recognition correct. There are two systypes that can have Pyxis: EB164 (AlphaPC164LX and AlphaPC164SX) and DEC_550 (Miata), and these systypes/variations _always_ have Pyxis.
|
#
1.35 |
|
14-May-1998 |
thorpej |
Garbage-collect the old confargs stuff that was used in the Early Days. It isn't really appropriate anymore. Replace it with a real mainbus attach args structure.
|
#
1.34 |
|
12-May-1998 |
thorpej |
Use flags instead of a bunch of booleans. Add a "use bwx" flag.
|
#
1.33 |
|
11-May-1998 |
thorpej |
Rework ALCOR/ALCOR2/Pyxis recognition Yet Again. (Actually, just the way it's displayed, and mask off the revision once we've determined which chip we're talking to.)
|
#
1.32 |
|
28-Apr-1998 |
thorpej |
Try (again) to get the chip number right for Alcor and Pyxis, using the following (iffy) hueristic:
CIA revision 1 -> 21171 CIA revision 2 -> 21172 CIA revision > 2 -> 21174
|
#
1.31 |
|
12-Feb-1998 |
thorpej |
We can't count on the CIA revision register telling us if we're a 21171 or 21172, so make the chip/revsion output a little more sane.
|
#
1.30 |
|
17-Jan-1998 |
thorpej |
Don't assume that we'll be using direct-mapped DMA for PCI.
|
#
1.29 |
|
12-Jan-1998 |
thorpej |
Adjust for config changes.
|
#
1.28 |
|
27-Oct-1997 |
thorpej |
Clean up printing of chipset revision/capabilities.
|
Revision tags: netbsd-1-3-base marc-pcmcia-base
|
#
1.27 |
|
17-Sep-1997 |
thorpej |
branches: 1.27.2; If the CIA revision is >= 2, read the CIA configuration register, and remember its contents. Print out a bit of information about the chip, including whether or not it supports the EV56 BWX instructions.
|
Revision tags: thorpej-signal-base
|
#
1.26 |
|
02-Sep-1997 |
thorpej |
cia_bus_ -> cia_swiz_bus_
|
#
1.25 |
|
02-Sep-1997 |
thorpej |
Pull in DEC_EB164 and DEC_KN20AA options.
|
#
1.24 |
|
02-Sep-1997 |
thorpej |
Nuke the idea of <machine/options.h>. It completely defeats the purpose of fine-grain option dependencies.
|
#
1.23 |
|
02-Sep-1997 |
thorpej |
Fix oversight in a previous commit.
|
Revision tags: alpha-nwscons-base
|
#
1.22 |
|
02-Sep-1997 |
thorpej |
Treat bus space tags more like pci chipset tags and bus dma tags: allocate them statically within a chipset's state structure, and pass them to the *_bus_{io,mem}_init() functions.
|
Revision tags: marc-pcmcia-bp
|
#
1.21 |
|
06-Jun-1997 |
thorpej |
branches: 1.21.4; 1.21.6; Pull thorpej-bus-dma branch into mainline.
|
Revision tags: thorpej-bus-dma-base
|
#
1.20 |
|
10-Apr-1997 |
cgd |
branches: 1.20.2; pass memory- and i/o-enabled flags down via the PCI bus and device attach arguments, so that a device can tell if its memory and I/O spaces are enabled. The flags are cleared, depending on the contents of devices CSR registers, in the machine-independent PCI bus code.
|
#
1.19 |
|
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.18 |
|
07-Apr-1997 |
cgd |
clean up NetBSD RCS ID strings, include machine/options.h
|
#
1.17 |
|
06-Apr-1997 |
cgd |
clean up some #ifdefs
|
Revision tags: is-newarp-before-merge is-newarp-base
|
#
1.16 |
|
08-Dec-1996 |
cgd |
remove all traces of __BROKEN_INDIRECT_CONFIG (except in shared drivers)
|
#
1.15 |
|
05-Dec-1996 |
cgd |
update these so they compile whether or not __BROKEN_INDIRECT_CONFIG is defined.
|
#
1.14 |
|
25-Nov-1996 |
cgd |
branches: 1.14.2; update for new extent management code. Most importantly, we can't call the chipset space init functions multiple times, since that would clobber extent allocations made between the two calls.
|
#
1.13 |
|
11-Nov-1996 |
cgd |
preliminary support for the EB164. The EB164 is more or less a 'normal' 21164 + 21172 box, with Yet Another Way of doing interrupts. The interrupt mapping and handling code hasn't been written yet, and none of this code has been tested. (Checkpoint of work in progress.)
|
#
1.12 |
|
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.11 |
|
13-Oct-1996 |
christos |
backout previous kprintf change
|
#
1.10 |
|
10-Oct-1996 |
christos |
printf -> kprintf, sprintf -> ksprintf
|
#
1.9 |
|
27-Aug-1996 |
cgd |
change cfprint_t type definition to take a const char *, rather than a char *, because that's what was really intended, and because if the print function modifies the string, various things could become unhappy (so the string should _not_ be modified).
|
#
1.8 |
|
11-Jul-1996 |
cgd |
some cleanup for -Wall
|
#
1.7 |
|
09-Jul-1996 |
cgd |
clean and update for new defintions, prototypes, etc.
|
#
1.6 |
|
10-Jun-1996 |
cgd |
read value of HAE_MEM and HAE_IO, so that the bus_* functions can do window recognition correctly.
|
Revision tags: netbsd-1-2-base
|
#
1.5 |
|
13-Apr-1996 |
cgd |
branches: 1.5.4; update for new ISA/EISA/PCI/'bus' interfaces. Untested
|
#
1.4 |
|
12-Apr-1996 |
cgd |
clean up copyrights and RCS IDs
|
#
1.3 |
|
12-Apr-1996 |
cgd |
partially update for new ISA/EISA/PCI and 'bus' interfaces. not yet complete, or tested.
|
#
1.2 |
|
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.1 |
|
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.76 |
|
18-Jun-2021 |
thorpej |
Sprinkle some static.
|
Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base
|
#
1.75 |
|
24-Apr-2021 |
thorpej |
Merge thorpej-cfargs branch:
Simplify and make extensible the config_search() / config_found() / config_attach() interfaces: rather than having different variants for which arguments you want pass along, just have a single call that takes a variadic list of tag-value arguments.
Adjust all call sites: - Simplify wherever possible; don't pass along arguments that aren't actually needed. - Don't be explicit about what interface attribute is attaching if the device only has one. (More simplification.) - Add a config_probe() function to be used in indirect configuiration situations, making is visibly easier to see when indirect config is in play, and allowing for future change in semantics. (As of now, this is just a wrapper around config_match(), but that is an implementation detail.)
Remove unnecessary or redundant interface attributes where they're not needed.
There are currently 5 "cfargs" defined: - CFARG_SUBMATCH (submatch function for direct config) - CFARG_SEARCH (search function for indirect config) - CFARG_IATTR (interface attribte) - CFARG_LOCATORS (locators array) - CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)
...and a sentinel value CFARG_EOL.
Add some extra sanity checking to ensure that interface attributes aren't ambiguous.
Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark ports to associate those device handles with device_t instance. This will trickle trough to more places over time (need back-end for pre-OFW Sun OBP; any others?).
|
Revision tags: netbsd-9-2-RELEASE thorpej-cfargs-base thorpej-futex-base netbsd-9-1-RELEASE bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 netbsd-8-2-RELEASE ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 isaki-audio2-base pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226
|
#
1.74 |
|
11-Oct-2015 |
martin |
branches: 1.74.32; Felix Deichmann in PR port-alpha/50326: cosmetic patch for Pyxis attach message.
|
Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE netbsd-7-base yamt-pagecache-base9 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE rmind-smpnet-nbase netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base rmind-smpnet-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 tls-maxphys-base matt-nb6-plus-base netbsd-6-0-RC1 jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9 yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-base2 netbsd-6-base
|
#
1.73 |
|
06-Feb-2012 |
matt |
branches: 1.73.6; 1.73.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
|
Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.72 |
|
14-Jun-2011 |
matt |
branches: 1.72.2; 1.72.6; Major cleanup of alpha device drivers. Switch to CFATTACH_DECL_NEW. struct device * -> device_t struct cfdata * -> cfdata_t Use of device_xname. No direct access to struct device members. Use aprint* (not complete).
|
Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
|
#
1.71 |
|
17-May-2011 |
dyoung |
branches: 1.71.2; PCI_FLAGS_IO_ENABLED and PCI_FLAGS_MEM_ENABLED changed their functional role in NetBSD (drivers are no longer supposed to write these to pa_flags) without changing name. Correct that.
Rename PCI_FLAGS_IO_ENABLED to PCI_FLAGS_IO_OKAY and PCI_FLAGS_MEM_ENABLED to PCI_FLAGS_MEM_OKAY, thus making their names consistent with the other PCI flags and poisoning 3rd-party driver sources that use the flags in the old bad way.
This patch produces no binary changes in this set of PCI kernels when they are compiled w/o 'options DIAGNOSTIC' and w/ -V MKREPRO=yes:
algor P4032 P5064 P6032 alpha GENERIC amd64 GENERIC XEN3_DOM0 arc GENERIC atari HADES MILAN-PCIIDE bebox GENERIC cats GENERIC cobalt GENERIC evbarm-el ADI_BRH ARMADILLO9 CP3100 GEMINI GEMINI_MASTER GEMINI_SLAVE evbarm-el GUMSTIX HDL_G IMX31LITE INTEGRATOR IQ31244 IQ80310 IQ80321 evbarm-el IXDP425 IXM1200 KUROBOX_PRO evbarm-el LUBBOCK MARVELL_NAS NAPPI NSLU2 SHEEVAPLUG SMDK2800 TEAMASA_NPWR evbarm-el TEAMASA_NPWR_FC TS7200 TWINTAIL ZAO425 evbmips-el AP30 DBAU1500 DBAU1550 MALTA MERAKI MTX-1 OMSAL400 RB153 WGT624V3 evbmips64-el XLSATX evbppc EV64260 MPC8536DS MPC8548CDS OPENBLOCKS200 OPENBLOCKS266 evbppc OPENBLOCKS266_OPT P2020RDB PMPPC RB800 WALNUT hp700 GENERIC i386 ALL XEN3_DOM0 XEN3_DOMU ibmnws GENERIC iyonix GENERIC landisk GENERIC macppc GENERIC mvmeppc GENERIC netwinder GENERIC ofppc GENERIC prep GENERIC sandpoint GENERIC sbmips-el GENERIC sgimips GENERIC32_IP2x GENERIC32_IP3x sparc GENERIC_SUN4U KRUPS sparc64 GENERIC
|
Revision tags: jym-xensuspend-nbase uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base jruoho-x86intr-base matt-mips64-premerge-20101231 jym-xensuspend-base
|
#
1.70 |
|
15-Dec-2010 |
matt |
branches: 1.70.2; Remove unneeded includes of <uvm/uvm_extern.h>
|
Revision tags: uebayasi-xip-base6 uebayasi-xip-base5 uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10 uebayasi-xip-base1 yamt-nfs-mp-base9 uebayasi-xip-base matt-premerge-20091211 yamt-nfs-mp-base8 yamt-nfs-mp-base7 jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 nick-hppapmap-base
|
#
1.69 |
|
14-Mar-2009 |
dsl |
branches: 1.69.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.68 |
|
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.67 |
|
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.
|
Revision tags: nick-hppapmap-base2 mjf-devfs2-base
|
#
1.66 |
|
16-Dec-2008 |
christos |
branches: 1.66.2; replace bitmask_snprintf(9) with snprintb(3)
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 haad-dm-base2 haad-nbase2 ad-audiomp2-base netbsd-5-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 haad-dm-base wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-base2 yamt-nfs-mp-base2 wrstuden-revivesa-base
|
#
1.65 |
|
28-Apr-2008 |
martin |
branches: 1.65.8; Remove clause 3 and 4 from TNF licenses
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase nick-csl-alignment-base5 yamt-pf42-baseX yamt-nfs-mp-base yamt-pf42-base ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base bouyer-xeni386-merge1 matt-armv6-prevmlocking wrstuden-fixsa-base-1 vmlocking2-base3 netbsd-4-0-RELEASE bouyer-xeni386-nbase yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 bouyer-xeni386-base yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 netbsd-4-0-RC5 matt-nb4-arm-base matt-armv6-nbase jmcneill-base netbsd-4-0-RC4 mjf-devfs-base bouyer-xenamd64-base2 vmlocking-nbase yamt-x86pmap-base4 bouyer-xenamd64-base netbsd-4-0-RC3 yamt-x86pmap-base3 yamt-x86pmap-base2 netbsd-4-0-RC2 yamt-x86pmap-base netbsd-4-0-RC1 matt-armv6-base jmcneill-pm-base hpcarm-cleanup-base nick-csl-alignment-base matt-mips64-base yamt-idlelwp-base8 wrstuden-fixsa-base ppcoea-renovation-base thorpej-atomic-base reinoud-bufcleanup-base mjf-ufs-trans-base vmlocking-base ad-audiomp-base post-newlock2-merge newlock2-nbase yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 abandoned-netbsd-4-base yamt-splraiseipl-base2 yamt-splraiseipl-base yamt-pdpolicy-base9 newlock2-base yamt-pdpolicy-base8 yamt-pdpolicy-base7 netbsd-4-base yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base simonb-timcounters-final yamt-pdpolicy-base5 chap-midi-base yamt-pdpolicy-base4 yamt-pdpolicy-base3 peter-altq-base yamt-pdpolicy-base2 elad-kernelauth-base yamt-pdpolicy-base yamt-uio_vmspace-base5 simonb-timecounters-base rpaulo-netinet-merge-pcb-base
|
#
1.64 |
|
11-Dec-2005 |
christos |
branches: 1.64.26; 1.64.74; 1.64.76; 1.64.78; merge ktrace-lwp.
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 yamt-readahead-base3 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 yamt-readahead-base2 netbsd-3-0-RC2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base netbsd-3-0-RC1 yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base yamt-km-base4 yamt-km-base3 netbsd-3-base yamt-km-base2 yamt-km-base kent-audio2-base kent-audio1-beforemerge kent-audio1-base ktrace-lwp-base
|
#
1.63 |
|
30-Aug-2004 |
drochner |
Phase out the use of a string as first "attach args" member to control which bustype should be attached with a specific call to config_found() (from a "mainbus" or a bus bridge). Do it for isa/eisa/mca and pci/agp for now. These buses all attach to an mi interface attribute "isabus", "eisabus" etc., and the autoconf framework now allows to specify an interface attribute on config_found() and config_search(), which limits the search of matching config data to these which attach to that specific attribute. So we basically have to call config_found_ia(..., "foobus", ...) where such a bus is attached. As a consequence, where a "mainbus" or alike also attaches other devices (eg CPUs) which do not attach to a specific attribute yet, we need at least pass an attribute name (different from "foobus") so that the foo bus is not found at these places. This made some minor changes necessary which are not obviously related to the mentioned buses.
|
Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
|
#
1.62 |
|
15-Jun-2003 |
fvdl |
branches: 1.62.2; Handle 64bit DMA addresses on PCI for platforms that can (currently only enabled on amd64). Add a dmat64 field to various PCI attach structures, and pass it down where needed. Implement a simple new function called pci_dma64_available(pa) to test if 64bit DMA addresses may be used. This returns 1 iff _PCI_HAVE_DMA64 is defined in <machine/pci_machdep.h>, and there is more than 4G of memory.
|
Revision tags: nathanw_sa_before_merge fvdl_fs64_base nathanw_sa_base
|
#
1.61 |
|
01-Jan-2003 |
thorpej |
Use aprint_normal() for cfprint routines.
|
Revision tags: gmcgarry_ctxsw_base gmcgarry_ucred_base kqueue-aftermerge kqueue-beforemerge kqueue-base
|
#
1.60 |
|
02-Oct-2002 |
thorpej |
Use CFATTACH_DECL().
|
#
1.59 |
|
27-Sep-2002 |
thorpej |
Declare all cfattach structures const.
|
Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base gehenna-devsw-base
|
#
1.58 |
|
16-May-2002 |
thorpej |
* Add "pcitag_t *pba_bridgetag" to pci_attach_args. This is set to NULL for root PCI busses. For busses behind a bridge, it points to a persistent copy of the bridge's pcitag_t. This can be very useful for machine-dependent PCI bus enumeration code. * Implement a machine-dependent pci_enumerate_bus() for sparc64 which uses OFW device nodes to enumerate the bus. When a PCI bus that is behind a bridge is attached, pci_attach_hook() allocates a new PCI chipset tag for the new bus and sets it's "curnode" to the OFW node of the bridge. This is used as a starting point when enumerating that bus. Root busses get the OFW node of the host bridge (psycho). * Garbage-collect "ofpci" and "ofppb" from the sparc64 port.
|
Revision tags: eeh-devprop-base newlock-base ifpoll-base thorpej-mips-cache-base thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base
|
#
1.57 |
|
26-Apr-2001 |
ross |
branches: 1.57.2; 1.57.4; 1.57.16; o IEEE 754 floating-point completion code. o Implement the architected FP_C "Floating Point Control Quadword"
|
Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
|
#
1.56 |
|
29-Jun-2000 |
mrg |
branches: 1.56.2; remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
|
Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
|
#
1.55 |
|
03-Apr-2000 |
thorpej |
Use the new cpu_amask variable rather than calling alpha_implver() and alpha_amask() ourselves.
|
#
1.54 |
|
19-Mar-2000 |
thorpej |
Put the code that enables/disables Pyxis interrupt lines in cia_pyxis_intr_enable().
|
#
1.53 |
|
26-Feb-2000 |
thorpej |
- Add a bus space method for getting the translation for a window. - Add sysarch methods for "get bus window count", "get bus window", and "pci conf read/write".
These are a hack, but they're what's necessary in order to make XFree86 work in its current state.
|
Revision tags: chs-ubc2-newbase
|
#
1.52 |
|
09-Feb-2000 |
thorpej |
Don't force BWX on Pyxis by default; it's just not reliable enough.
|
#
1.51 |
|
06-Feb-2000 |
thorpej |
If we have a Pyxis with the DMA page crossing bug, don't allow coalescing of adjacent DMA segments.
XXX This is still not perfect... but making it perfect will probably require additions to the bus_dma interface and the ISA autoconfiguration interface.
|
#
1.50 |
|
01-Feb-2000 |
thorpej |
Always use BWX for bus access on Pyxis chips.
|
Revision tags: wrstuden-devbsize-19991221 wrstuden-devbsize-base fvdl-softdep-base
|
#
1.49 |
|
04-Nov-1999 |
thorpej |
Don't do rd/line, rd/mult, or wr/inval on the buggy Miata 1's.
|
#
1.48 |
|
04-Nov-1999 |
thorpej |
Tell the PCI layer that Memory Read Line, Memory Read Multiple, and Memory Write and Invalidate are okay PCI commands to use.
|
Revision tags: kame_141_19991130 comdex-fall-1999-base netbsd-1-4-PATCH001 kame_14_19990705 kame_14_19990628 chs-ubc2-base netbsd-1-4-RELEASE netbsd-1-4-base
|
#
1.47 |
|
10-Apr-1999 |
cgd |
branches: 1.47.2; 1.47.8; 1.47.10; 1.47.14; be more consistent about use of 'cputype'. e.g. it's in a header, don't bother 'externing' it everywhere!
|
Revision tags: kenh-if-detach-base chs-ubc-base eeh-paddr_t-base
|
#
1.46 |
|
29-Jul-1998 |
thorpej |
Split up using BWX for PCI config and bus access. Default to using BWX for the former, but not the latter. Hopefully, this will address some problems people have been experiencing w/ some devices on Pyxis systems when BWX is used for bus access. (If it's not used for PCI config access, we can get fatal machine checks while probing behind PCI-PCI bridges!!)
|
#
1.45 |
|
26-Jun-1998 |
ross |
New platforms: Mikasa and Mikasa/Pinnacle, aka Pinkasa.
Like the 1000A, the AlphaServer 1000 has a daughtercard assembly that integrates the CPU and core logic, so these can be ev4/apecs or ev5/cia. New systype, and, sigh, another way of doing interrupts and another mystery icu.
Kill off some EVCNT_COUNTERS calls, since [A] it has to be rewritten anyway before it can be useful, and [B] #ifdefs do not belong at every call site, a common API should be defined and the implementations conditionalized, not all the calls. Duhh.
|
#
1.44 |
|
24-Jun-1998 |
ross |
Call pci_1000a_pickintr() like on other platforms, but for 1000a expand the iot, memt, and pc in the call so that pci_1000a_pickintr() (and the other routines in that module) do not need to be aware of the core logic type just to pass down memory and I/O space tags or to call the decompose function.
|
#
1.43 |
|
06-Jun-1998 |
thorpej |
- Don't call *_dma_init() twice; there's no need to. Just do it in *attach(). - Display Pyxis revision properly.
|
#
1.42 |
|
05-Jun-1998 |
thorpej |
- Egads! There are Pyxis "Pass 1" chips that do not have the DMA bug! Use the check recommended by the Digital Workstation engineers; look for Miata 1 systems (i.e. with Intel SIO). From Andrew Gallatin. - Update copyright (Pyxis and BWX).
|
#
1.41 |
|
05-Jun-1998 |
thorpej |
On Pass 1 Pyxis, disable PCI Read Prefetching, and warn the user about the DMA bug that exists on this Pyxis revision.
|
#
1.40 |
|
05-Jun-1998 |
thorpej |
oops, read CNFG on all Pyxis revs.
|
#
1.39 |
|
05-Jun-1998 |
thorpej |
Support for the Digital Personal Workstation [456]xx, a.k.a. Miata (systype DEC_550). Mostly cloned from the EB164 systype, with some modifications from myself, and a few more from Andrew Gellatin.
|
#
1.38 |
|
04-Jun-1998 |
thorpej |
For whatever reason, the firmware seems to enable PCI loopback mode if it also enables BWX. Make sure it's enabled if we have an old, buggy firmware rev.
|
#
1.37 |
|
04-Jun-1998 |
thorpej |
Add support for using BWX for PCI config space and PCI i/o and mem space on the ALCOR2 and Pyxis. BWX is enabled iff: - It hasn't been disabled by the user (patch `cia_use_bwx' or build cia.o with the option "CIA_USE_BWX=0"), - it's enabled in CIA_CSR_CNFG, - we are running on an EV5-family processor, - BWX is in the processor's capabilities mask.
|
#
1.36 |
|
03-Jun-1998 |
thorpej |
Ok, now we _REALLY_ have Pyxis recognition correct. There are two systypes that can have Pyxis: EB164 (AlphaPC164LX and AlphaPC164SX) and DEC_550 (Miata), and these systypes/variations _always_ have Pyxis.
|
#
1.35 |
|
14-May-1998 |
thorpej |
Garbage-collect the old confargs stuff that was used in the Early Days. It isn't really appropriate anymore. Replace it with a real mainbus attach args structure.
|
#
1.34 |
|
12-May-1998 |
thorpej |
Use flags instead of a bunch of booleans. Add a "use bwx" flag.
|
#
1.33 |
|
11-May-1998 |
thorpej |
Rework ALCOR/ALCOR2/Pyxis recognition Yet Again. (Actually, just the way it's displayed, and mask off the revision once we've determined which chip we're talking to.)
|
#
1.32 |
|
28-Apr-1998 |
thorpej |
Try (again) to get the chip number right for Alcor and Pyxis, using the following (iffy) hueristic:
CIA revision 1 -> 21171 CIA revision 2 -> 21172 CIA revision > 2 -> 21174
|
#
1.31 |
|
12-Feb-1998 |
thorpej |
We can't count on the CIA revision register telling us if we're a 21171 or 21172, so make the chip/revsion output a little more sane.
|
#
1.30 |
|
17-Jan-1998 |
thorpej |
Don't assume that we'll be using direct-mapped DMA for PCI.
|
#
1.29 |
|
12-Jan-1998 |
thorpej |
Adjust for config changes.
|
#
1.28 |
|
27-Oct-1997 |
thorpej |
Clean up printing of chipset revision/capabilities.
|
Revision tags: netbsd-1-3-base marc-pcmcia-base
|
#
1.27 |
|
17-Sep-1997 |
thorpej |
branches: 1.27.2; If the CIA revision is >= 2, read the CIA configuration register, and remember its contents. Print out a bit of information about the chip, including whether or not it supports the EV56 BWX instructions.
|
Revision tags: thorpej-signal-base
|
#
1.26 |
|
02-Sep-1997 |
thorpej |
cia_bus_ -> cia_swiz_bus_
|
#
1.25 |
|
02-Sep-1997 |
thorpej |
Pull in DEC_EB164 and DEC_KN20AA options.
|
#
1.24 |
|
02-Sep-1997 |
thorpej |
Nuke the idea of <machine/options.h>. It completely defeats the purpose of fine-grain option dependencies.
|
#
1.23 |
|
02-Sep-1997 |
thorpej |
Fix oversight in a previous commit.
|
Revision tags: alpha-nwscons-base
|
#
1.22 |
|
02-Sep-1997 |
thorpej |
Treat bus space tags more like pci chipset tags and bus dma tags: allocate them statically within a chipset's state structure, and pass them to the *_bus_{io,mem}_init() functions.
|
Revision tags: marc-pcmcia-bp
|
#
1.21 |
|
06-Jun-1997 |
thorpej |
branches: 1.21.4; 1.21.6; Pull thorpej-bus-dma branch into mainline.
|
Revision tags: thorpej-bus-dma-base
|
#
1.20 |
|
10-Apr-1997 |
cgd |
branches: 1.20.2; pass memory- and i/o-enabled flags down via the PCI bus and device attach arguments, so that a device can tell if its memory and I/O spaces are enabled. The flags are cleared, depending on the contents of devices CSR registers, in the machine-independent PCI bus code.
|
#
1.19 |
|
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.18 |
|
07-Apr-1997 |
cgd |
clean up NetBSD RCS ID strings, include machine/options.h
|
#
1.17 |
|
06-Apr-1997 |
cgd |
clean up some #ifdefs
|
Revision tags: is-newarp-before-merge is-newarp-base
|
#
1.16 |
|
08-Dec-1996 |
cgd |
remove all traces of __BROKEN_INDIRECT_CONFIG (except in shared drivers)
|
#
1.15 |
|
05-Dec-1996 |
cgd |
update these so they compile whether or not __BROKEN_INDIRECT_CONFIG is defined.
|
#
1.14 |
|
25-Nov-1996 |
cgd |
branches: 1.14.2; update for new extent management code. Most importantly, we can't call the chipset space init functions multiple times, since that would clobber extent allocations made between the two calls.
|
#
1.13 |
|
11-Nov-1996 |
cgd |
preliminary support for the EB164. The EB164 is more or less a 'normal' 21164 + 21172 box, with Yet Another Way of doing interrupts. The interrupt mapping and handling code hasn't been written yet, and none of this code has been tested. (Checkpoint of work in progress.)
|
#
1.12 |
|
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.11 |
|
13-Oct-1996 |
christos |
backout previous kprintf change
|
#
1.10 |
|
10-Oct-1996 |
christos |
printf -> kprintf, sprintf -> ksprintf
|
#
1.9 |
|
27-Aug-1996 |
cgd |
change cfprint_t type definition to take a const char *, rather than a char *, because that's what was really intended, and because if the print function modifies the string, various things could become unhappy (so the string should _not_ be modified).
|
#
1.8 |
|
11-Jul-1996 |
cgd |
some cleanup for -Wall
|
#
1.7 |
|
09-Jul-1996 |
cgd |
clean and update for new defintions, prototypes, etc.
|
#
1.6 |
|
10-Jun-1996 |
cgd |
read value of HAE_MEM and HAE_IO, so that the bus_* functions can do window recognition correctly.
|
Revision tags: netbsd-1-2-base
|
#
1.5 |
|
13-Apr-1996 |
cgd |
branches: 1.5.4; update for new ISA/EISA/PCI/'bus' interfaces. Untested
|
#
1.4 |
|
12-Apr-1996 |
cgd |
clean up copyrights and RCS IDs
|
#
1.3 |
|
12-Apr-1996 |
cgd |
partially update for new ISA/EISA/PCI and 'bus' interfaces. not yet complete, or tested.
|
#
1.2 |
|
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.1 |
|
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.
|