The NetBSD Project

CVS log for src/sys/arch/sgimips/dev/imc.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / sgimips / dev

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.37 / (download) - annotate - [select for diffs], Sat Aug 7 16:19:04 2021 UTC (2 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.36: +4 -6 lines
Diff to previous 1.36 (colored)

Merge thorpej-cfargs2.

Revision 1.36.8.1 / (download) - annotate - [select for diffs], Wed Aug 4 02:53:00 2021 UTC (2 years, 8 months ago) by thorpej
Branch: thorpej-cfargs2
Changes since 1.36: +4 -6 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

Adapt to CFARGS().

Revision 1.36 / (download) - annotate - [select for diffs], Sat Apr 24 23:36:47 2021 UTC (2 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-cfargs2
Changes since 1.35: +8 -4 lines
Diff to previous 1.35 (colored)

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 1.35.12.1 / (download) - annotate - [select for diffs], Fri Apr 2 22:17:42 2021 UTC (3 years ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.35: +8 -4 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

config_found_ia() -> config_found() w/ CFARG_IATTR.

Revision 1.34.18.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:43 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (colored) next main 1.35 (colored)

Sync with HEAD

Revision 1.35 / (download) - annotate - [select for diffs], Fri Apr 26 21:02:42 2019 UTC (4 years, 11 months ago) by macallan
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: thorpej-cfargs
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (colored)

fix misleading error message

Revision 1.32.12.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:41 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.32.12.1: +4 -4 lines
Diff to previous 1.32.12.1 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored)

update from HEAD

Revision 1.33.14.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:18:01 2015 UTC (9 years ago) by skrll
Branch: nick-nhusb
Changes since 1.33: +4 -4 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Sync with HEAD

Revision 1.34 / (download) - annotate - [select for diffs], Wed Feb 18 16:47:58 2015 UTC (9 years, 2 months ago) by macallan
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi
Changes since 1.33: +4 -4 lines
Diff to previous 1.33 (colored)

switch sgimips to common bus_dma and bus_space in arch/mips/
Tested on O2 and Indy.
Things that are compile-tested only for lack of hardware:
- GIO ethernet cards with PCI bridges
- IP2x hardware not found on Indy
- IP1x

Revision 1.32.12.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:01:40 2012 UTC (11 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.32: +7 -9 lines
Diff to previous 1.32 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.32.2.1 / (download) - annotate - [select for diffs], Tue Oct 30 17:20:16 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.32: +7 -9 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

sync with head

Revision 1.33 / (download) - annotate - [select for diffs], Sat Oct 27 17:18:09 2012 UTC (11 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, khorben-n900, agc-symver-base, agc-symver
Branch point for: nick-nhusb
Changes since 1.32: +7 -9 lines
Diff to previous 1.32 (colored)

split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.

Revision 1.32 / (download) - annotate - [select for diffs], Fri Jul 1 18:53:46 2011 UTC (12 years, 9 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored)

#include <sys/bus.h> instead of <machine/bus.h>.

Revision 1.31 / (download) - annotate - [select for diffs], Thu Jun 30 20:09:35 2011 UTC (12 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

dependant -> dependent

Revision 1.29.22.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:06:39 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.29: +4 -4 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Sync with HEAD.

Revision 1.29.16.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:51:52 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.29: +4 -4 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

sync with head

Revision 1.29.24.1 / (download) - annotate - [select for diffs], Sat Mar 5 15:10:01 2011 UTC (13 years, 1 month ago) by bouyer
Branch: bouyer-quota2
Changes since 1.29: +4 -4 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Sync with HEAD

Revision 1.30 / (download) - annotate - [select for diffs], Sun Feb 20 07:59:50 2011 UTC (13 years, 2 months ago) by matt
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, jym-xensuspend-nbase, jym-xensuspend-base, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase
Changes since 1.29: +4 -4 lines
Diff to previous 1.29 (colored)

Merge forward matt-nb5-mips64
Adapt to new interrupt/spl framework
Deal with arcbios calls being O32 and kernels being N32/N64.
Need to save/restore T8 across arcbios calls.

Revision 1.29.12.1 / (download) - annotate - [select for diffs], Wed Dec 29 07:15:47 2010 UTC (13 years, 3 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231
Changes since 1.29: +4 -4 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Adapt sgimips to the interrupt framework.

Revision 1.28.46.1 / (download) - annotate - [select for diffs], Mon May 4 08:11:49 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.28: +31 -28 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

sync with head.

Revision 1.28.52.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:15:55 2008 UTC (15 years, 6 months ago) by haad
Branch: haad-dm
Changes since 1.28: +31 -28 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

Sync with HEAD.

Revision 1.28.42.1 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:07 2008 UTC (15 years, 6 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.28: +31 -28 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

Sync with HEAD.

Revision 1.28.48.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:33:32 2008 UTC (15 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.28: +31 -28 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.29 / (download) - annotate - [select for diffs], Sat Aug 23 17:25:54 2008 UTC (15 years, 7 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base11, yamt-nfs-mp-base10, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-premerge-20101231, matt-mips64-base2, jymxensuspend-base, jym-xensuspend, jruoho-x86intr-base, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, bouyer-quota2-base, ad-audiomp2-base, ad-audiomp2
Branch point for: rmind-uvmplock, matt-nb5-mips64, jruoho-x86intr, bouyer-quota2
Changes since 1.28: +31 -28 lines
Diff to previous 1.28 (colored)

KNF and misc cosmetics.

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:52:54 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-idlelwp
Changes since 1.27: +22 -2 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.23.12.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:08:01 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.23.12.2: +22 -2 lines
Diff to previous 1.23.12.2 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)

sync with head.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Feb 19 20:14:30 2007 UTC (17 years, 2 months ago) by rumble
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, wrstuden-revivesa-base-1, wrstuden-revivesa-base, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, ppcoea-renovation-base, ppcoea-renovation, nick-net80211-sync-base, nick-net80211-sync, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, mjf-devfs-base, mjf-devfs, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-socklock-base1, ad-audiomp-base, ad-audiomp
Branch point for: yamt-nfs-mp, wrstuden-revivesa, mjf-devfs2, haad-dm
Changes since 1.27: +22 -2 lines
Diff to previous 1.27 (colored)

Support the sq(4) interface on the Challenge S's IOPLUS mezzanine. This
requires us to configure the IOPLUS to use the appropriate DMA channel,
depending on what other expansion cards may be installed. Further, we need
to do a bit more configuration of the sq(4) DMA engine, which apparently
was formerly being configured properly by the PROM. Use the same values,
which appear to work fine.

Also, extend the gio_arb_config interface as needed.

NB: We're currently setting the IOPLUS board to long burst, but it may be
better to use realtime. This will require some experimentation.

Revision 1.26.2.1 / (download) - annotate - [select for diffs], Fri Jan 12 01:00:57 2007 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.26: +4 -4 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

Sync with head.

Revision 1.23.12.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:46:52 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.23.12.1: +134 -4 lines
Diff to previous 1.23.12.1 (colored) to branchpoint 1.23 (colored)

sync with head.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Dec 22 01:32:37 2006 UTC (17 years, 4 months ago) by rumble
Branch: MAIN
CVS Tags: post-newlock2-merge, newlock2-nbase, newlock2-base
Branch point for: yamt-idlelwp
Changes since 1.26: +4 -4 lines
Diff to previous 1.26 (colored)

Guiness -> Guinness.

Revision 1.25.18.1 / (download) - annotate - [select for diffs], Sun Sep 10 16:59:18 2006 UTC (17 years, 7 months ago) by tron
Branch: abandoned-netbsd-4
Changes since 1.25: +132 -2 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Pull up following revision(s) (requested by rumble in ticket #137):
	sys/arch/sgimips/dev/imc.c: revision 1.26
	sys/arch/sgimips/dev/files.dev: revision 1.6
	sys/arch/sgimips/dev/pic.c: revision 1.11
	sys/arch/sgimips/dev/imcvar.h: revision 1.1
Add pic and imc-specific functions to alter the GIO bus arbiter
configuration. These are to be used exclusively by a higher interface in
gio/gio.c.
Also add functions to enable, disable and query the state of SysAd bus
parity detection since certain gio(4) cards need to be able to disable
it in order to work around their own buggy implementations.

Revision 1.25.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:42:52 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.25: +132 -2 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

sync with head

Revision 1.25.8.1 / (download) - annotate - [select for diffs], Sun Sep 3 15:23:27 2006 UTC (17 years, 7 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.25: +132 -2 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

sync with head.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Aug 30 23:44:52 2006 UTC (17 years, 7 months ago) by rumble
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, rpaulo-netinet-merge-pcb-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Branch point for: newlock2
Changes since 1.25: +132 -2 lines
Diff to previous 1.25 (colored)

Add pic and imc-specific functions to alter the GIO bus arbiter
configuration. These are to be used exclusively by a higher interface in
gio/gio.c.

Also add functions to enable, disable and query the state of SysAd bus
parity detection since certain gio(4) cards need to be able to disable
it in order to work around their own buggy implementations.

Revision 1.23.12.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:55:23 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.23: +9 -9 lines
Diff to previous 1.23 (colored)

sync with head.

Revision 1.25 / (download) - annotate - [select for diffs], Sun Dec 11 12:18:52 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, peter-altq-base, peter-altq, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base
Branch point for: yamt-pdpolicy, rpaulo-netinet-merge-pcb, abandoned-netbsd-4
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

merge ktrace-lwp.

Revision 1.8.2.6 / (download) - annotate - [select for diffs], Thu Nov 10 13:58:33 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.8.2.5: +9 -9 lines
Diff to previous 1.8.2.5 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

Sync with HEAD. Here we go again...

Revision 1.24 / (download) - annotate - [select for diffs], Tue Oct 18 11:31:12 2005 UTC (18 years, 6 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Changes since 1.23: +9 -9 lines
Diff to previous 1.23 (colored)

TAB/space cleanup.

Revision 1.8.2.5 / (download) - annotate - [select for diffs], Tue Oct 19 15:56:38 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.8.2.4: +11 -23 lines
Diff to previous 1.8.2.4 (colored) to branchpoint 1.8 (colored)

Sync with HEAD

Revision 1.23 / (download) - annotate - [select for diffs], Wed Sep 29 03:11:28 2004 UTC (19 years, 6 months ago) by sekiya
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-lazymbuf
Changes since 1.22: +11 -23 lines
Diff to previous 1.22 (colored)

Various fixes:

* clean up EISA detection logic,
* really fix config_found_ia() usage (from drochner@),
* sprinkle a bit of KNF.

Revision 1.8.2.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:21:13 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.8.2.3: +0 -0 lines
Diff to previous 1.8.2.3 (colored) to branchpoint 1.8 (colored)

Fix the sync with head I botched.

Revision 1.8.2.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:39:43 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.8.2.2: +4 -4 lines
Diff to previous 1.8.2.2 (colored) to branchpoint 1.8 (colored)

Sync with HEAD.

Revision 1.22 / (download) - annotate - [select for diffs], Sun Sep 5 13:32:10 2004 UTC (19 years, 7 months ago) by sekiya
Branch: MAIN
Changes since 1.21: +3 -2 lines
Diff to previous 1.21 (colored)

Oooops, iaa.iaa_name must be initialized.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Sep 5 11:48:34 2004 UTC (19 years, 7 months ago) by sekiya
Branch: MAIN
Changes since 1.20: +4 -5 lines
Diff to previous 1.20 (colored)

Use config_found_ia() rather than config_found().

Revision 1.8.2.2 / (download) - annotate - [select for diffs], Wed Aug 25 06:57:20 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.8.2.1: +34 -16 lines
Diff to previous 1.8.2.1 (colored) to branchpoint 1.8 (colored)

Sync with HEAD.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Aug 17 00:44:39 2004 UTC (19 years, 8 months ago) by rumble
Branch: MAIN
Changes since 1.19: +34 -16 lines
Diff to previous 1.19 (colored)

Implement several changes that get my E++ (HPC1.5 GIO ethernet
adapter) to work on IP24:
 o Force HPC and GIO slot endianness.
 o Allow slots one and two to be masters and configure for
   realtime mode.

Also, while we're here move IP22 invariants into the IP22 case.

I suspect that IP20 will work as well since it exhibited the same
broken DMA that IP24 did before I flipped the master bit.

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:40:00 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.8: +129 -42 lines
Diff to previous 1.8 (colored)

Sync with HEAD

Revision 1.19 / (download) - annotate - [select for diffs], Sun Jul 25 10:28:28 2004 UTC (19 years, 8 months ago) by sekiya
Branch: MAIN
Changes since 1.18: +7 -7 lines
Diff to previous 1.18 (colored)

Properly detect the EISA bus for IP22-class machines.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Jun 13 18:30:11 2004 UTC (19 years, 10 months ago) by rumble
Branch: MAIN
Changes since 1.17: +13 -12 lines
Diff to previous 1.17 (colored)

sekiya-san's platform abstraction allows us to keep these
functions static.

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Tue May 11 12:37:09 2004 UTC (19 years, 11 months ago) by tron
Branch: netbsd-2-0
CVS Tags: netbsd-2-base, 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-1, 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-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2
Changes since 1.16: +8 -6 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Pull up revision 1.17 (requested by sekiya in ticket #285):
Hook the IMC bus error handler into the ISR, otherwise bus error conditions
won't be properly dealt with.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Apr 3 11:33:29 2004 UTC (20 years ago) by sekiya
Branch: MAIN
Changes since 1.16: +8 -6 lines
Diff to previous 1.16 (colored)

Hook the IMC bus error handler into the ISR, otherwise bus error conditions
won't be properly dealt with.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Jan 18 13:11:18 2004 UTC (20 years, 3 months ago) by sekiya
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

Keep chip revision and EISA information on same line as attach information.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Jan 18 12:18:57 2004 UTC (20 years, 3 months ago) by sekiya
Branch: MAIN
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

Properly disable watchdog timer.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Jan 18 00:54:55 2004 UTC (20 years, 3 months ago) by sekiya
Branch: MAIN
Changes since 1.13: +32 -10 lines
Diff to previous 1.13 (colored)

Finish moving code between ip2x.c and ip3x.c to imc.c and crime.c.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Jan 13 14:31:37 2004 UTC (20 years, 3 months ago) by sekiya
Branch: MAIN
Changes since 1.12: +3 -2 lines
Diff to previous 1.12 (colored)

Assign memory controller-dependent watchdog reset functions to
platform.watchdog_reset.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Jan 13 13:05:17 2004 UTC (20 years, 3 months ago) by sekiya
Branch: MAIN
Changes since 1.11: +5 -2 lines
Diff to previous 1.11 (colored)

As the platform-specific bus reset routine varies based on the memory
controller used, set it in the memory controller driver rather than the
platform init code.

Revision 1.11 / (download) - annotate - [select for diffs], Sat Jan 10 05:00:50 2004 UTC (20 years, 3 months ago) by sekiya
Branch: MAIN
Changes since 1.10: +27 -2 lines
Diff to previous 1.10 (colored)

Add watchdog and bus error handling functions (these features live in
IMC space, thus should be handled here rather than in ip2x.c)

Revision 1.10 / (download) - annotate - [select for diffs], Sun Dec 14 07:21:51 2003 UTC (20 years, 4 months ago) by sekiya
Branch: MAIN
Changes since 1.9: +69 -39 lines
Diff to previous 1.9 (colored)

Bus-space'ify the memory controller driver, and add IP20-specific bits.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Jul 15 03:35:52 2003 UTC (20 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.8: +4 -1 lines
Diff to previous 1.8 (colored)

__KERNEL_RCSID()

Revision 1.3.4.4 / (download) - annotate - [select for diffs], Fri Jan 3 16:50:11 2003 UTC (21 years, 3 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.3.4.3: +2 -2 lines
Diff to previous 1.3.4.3 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Sync with HEAD.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jan 1 02:10:08 2003 UTC (21 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Branch point for: ktrace-lwp
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

Use aprint_normal() for cfprint routines.

Revision 1.3.4.3 / (download) - annotate - [select for diffs], Fri Oct 18 02:39:38 2002 UTC (21 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.3.4.2: +3 -4 lines
Diff to previous 1.3.4.2 (colored) to branchpoint 1.3 (colored)

Catch up to -current.

Revision 1.2.2.3 / (download) - annotate - [select for diffs], Thu Oct 10 18:35:37 2002 UTC (21 years, 6 months ago) by jdolecek
Branch: kqueue
Changes since 1.2.2.2: +3 -4 lines
Diff to previous 1.2.2.2 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.7 / (download) - annotate - [select for diffs], Wed Oct 2 15:52:32 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Add trailing ; to CFATTACH_DECL.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Oct 1 21:29:41 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.5: +3 -4 lines
Diff to previous 1.5 (colored)

Use CFATTACH_DECL().

Revision 1.5 / (download) - annotate - [select for diffs], Fri Sep 27 20:35:15 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Declare all cfattach structures const.

Revision 1.3.4.2 / (download) - annotate - [select for diffs], Mon Apr 1 07:42:18 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.3.4.1: +205 -0 lines
Diff to previous 1.3.4.1 (colored) to branchpoint 1.3 (colored)

Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Sat Mar 16 15:59:27 2002 UTC (22 years, 1 month ago) by jdolecek
Branch: kqueue
Changes since 1.2.2.1: +40 -39 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored)

Catch up with -current.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Mar 13 13:12:26 2002 UTC (22 years, 1 month ago) by simonb
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, gehenna-devsw-base, gehenna-devsw, eeh-devprop-base, eeh-devprop
Changes since 1.3: +40 -39 lines
Diff to previous 1.3 (colored)

Replace lots of 8x<space> with <tabs> and other miscellaneous indentation
fixes.
Wrap a couple of long lines.
Use <return-type>\n<function name> as per KNF in a few places.

Revision 1.2.4.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:41:48 2001 UTC (22 years, 6 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.2: +61 -24 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

Catch up with -current.

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Thu Sep 13 01:14:30 2001 UTC (22 years, 7 months ago) by thorpej
Branch: kqueue
Changes since 1.2: +61 -24 lines
Diff to previous 1.2 (colored)

Update the kqueue branch to HEAD.

Revision 1.3.4.1, Mon Sep 10 15:36:19 2001 UTC (22 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.3: +0 -204 lines
FILE REMOVED

file imc.c was added on branch nathanw_sa on 2002-04-01 07:42:18 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Mon Sep 10 15:36:19 2001 UTC (22 years, 7 months ago) by rafal
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, pre-chs-ubcperf, post-chs-ubcperf, newlock-base, newlock, ifpoll-base
Branch point for: nathanw_sa
Changes since 1.2: +61 -24 lines
Diff to previous 1.2 (colored)

Use the newly committed imcreg.h to get rid of the magic numbers polluting
this file; while I'm here, rework the GIO arbitrator parameter setup to
match more closely what is done by lunix on the same hardware... Finally,
on a tip from Wilbern Cobb, preserve the graphics-related bits of the
GIO arbitrator parameter register from the PROM-initialized settings so
ARCS console on the graphics display works (tested on both my Indy with
Newport and my Indigo2 with XL gfx).

Revision 1.2 / (download) - annotate - [select for diffs], Sun Jul 8 23:59:31 2001 UTC (22 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-devvp-base
Branch point for: thorpej-devvp, kqueue
Changes since 1.1: +10 -13 lines
Diff to previous 1.1 (colored)

- Use the identifier strings that are fetched by the MI ARC BIOS
  code.
- Garbage-collect some non-useful stuff from the mainbus_attach_args.

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Thu Jun 21 19:33:34 2001 UTC (22 years, 10 months ago) by nathanw
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored) next main 1.2 (colored)

Catch up to -current.

Revision 1.1 / (download) - annotate - [select for diffs], Fri May 11 04:22:55 2001 UTC (22 years, 11 months ago) by thorpej
Branch: MAIN

Support for the Indigo2/Indy IMC (this is that to which all other
devices are attached).

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>