The NetBSD Project

CVS log for src/sys/arch/alpha/jensenio/jensenio.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / alpha / jensenio

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon Dec 4 00:32:10 2023 UTC (12 months, 1 week ago) by thorpej
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +4 -5 lines
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 1.22: download - view: text, markup, annotated - select for diffs
Sat Aug 7 16:18:40 2021 UTC (3 years, 4 months ago) by thorpej
Branches: 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
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +7 -10 lines
Merge thorpej-cfargs2.

Revision 1.21.6.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 23:14:58 2021 UTC (3 years, 4 months ago) by thorpej
Branches: thorpej-cfargs2
Diff to: previous 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21: +7 -10 lines
Adapt to CFARGS().

Revision 1.20.2.1: download - view: text, markup, annotated - select for diffs
Thu May 13 00:47:21 2021 UTC (3 years, 6 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +4 -4 lines
Sync with HEAD.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Fri May 7 16:58:34 2021 UTC (3 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf-base, 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
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -4 lines
Liberally sprinkle static around to get more symbols out of the
global namespace.  A small bit of const poisoning in the TC code.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sat Apr 24 23:36:23 2021 UTC (3 years, 7 months ago) by thorpej
Branches: MAIN
Branch point for: thorpej-i2c-spi-conf
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +13 -6 lines
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.19.78.2: download - view: text, markup, annotated - select for diffs
Fri Apr 2 22:17:37 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.19.78.1: preferred, colored; branchpoint 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19.78.1: +8 -4 lines
config_found_ia() -> config_found() w/ CFARG_IATTR.

Revision 1.19.78.1: download - view: text, markup, annotated - select for diffs
Mon Mar 22 02:00:54 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +7 -4 lines
Mechanical conversion of config_found_sm_loc() -> config_found().
CFARG_IATTR usage needs to be audited.

Revision 1.15.20.3: download - view: text, markup, annotated - select for diffs
Wed Aug 19 18:45:54 2009 UTC (15 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.15.20.2: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.20.2: +12 -2 lines
sync with head.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Aug 19 15:00:24 2009 UTC (15 years, 3 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base11, yamt-nfs-mp-base10, 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, tls-maxphys-base-20171202, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, 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, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, 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, nick-nhusb-base, nick-nhusb, netbsd-9-base, netbsd-9-4-RELEASE, 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, netbsd-8-base, netbsd-8-3-RELEASE, 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, 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, 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-premerge-20091211, matt-nb8-mediatek-base, matt-nb8-mediatek, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, localcount-20160914, khorben-n900, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, jruoho-x86intr, 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, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, cherry-xenmp-base, cherry-xenmp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: thorpej-cfargs
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +4 -4 lines
isa_detach_hook() needs two arguments, the first an isa_chipset_tag_t.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Aug 19 14:29:53 2009 UTC (15 years, 3 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +12 -2 lines
Define isa_dmadestroy and isa_detach_hook.  Hook up a couple of
isa_detach_hook implementations.

Revision 1.15.20.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:10:29 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.15.20.1: preferred, colored; branchpoint 1.15: preferred, colored
Changes since revision 1.15.20.1: +21 -22 lines
sync with head.

Revision 1.16.6.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:15:39 2008 UTC (16 years, 1 month ago) by haad
Branches: haad-dm
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +21 -22 lines
Sync with HEAD.

Revision 1.15.16.2: download - view: text, markup, annotated - select for diffs
Sun Sep 28 10:39:45 2008 UTC (16 years, 2 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.15.16.1: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.16.1: +19 -20 lines
Sync with HEAD.

Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:33:17 2008 UTC (16 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +21 -22 lines
Sync with wrstuden-revivesa-base-2.

Revision 1.16.4.1: download - view: text, markup, annotated - select for diffs
Fri Jul 18 16:37:25 2008 UTC (16 years, 4 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +21 -22 lines
Sync with head.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Jul 9 21:19:23 2008 UTC (16 years, 5 months ago) by joerg
Branches: MAIN
CVS tags: yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base, 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-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-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, jymxensuspend-base, jym-xensuspend, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +21 -22 lines
- Statify
- Split device/softc.

Revision 1.15.16.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:21:46 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -9 lines
Sync with HEAD.

Revision 1.15.18.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:31:23 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +2 -9 lines
sync with head.

Revision 1.15.20.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:21:45 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -9 lines
sync with head.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:11 2008 UTC (16 years, 7 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa, simonb-wapbl, haad-dm
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -9 lines
Remove clause 3 and 4 from TNF licenses

Revision 1.14.6.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:13:56 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +2 -2 lines
sync with HEAD

Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed Oct 17 19:52:59 2007 UTC (17 years, 1 month ago) by garbled
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, mjf-devfs, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2 lines
Merge the ppcoea-renovation branch to HEAD.

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

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

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.

Revision 1.13.38.1: download - view: text, markup, annotated - select for diffs
Wed Oct 3 19:22:03 2007 UTC (17 years, 2 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +4 -4 lines
Sync with HEAD

Revision 1.10.12.2: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:22:25 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.10.12.1: preferred, colored; branchpoint 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.12.1: +4 -4 lines
sync with head.

Revision 1.13.40.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 07:03:03 2007 UTC (17 years, 3 months ago) by wrstuden
Branches: wrstuden-fixsa
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +4 -4 lines
Sync w/ NetBSD-4-RC_1

Revision 1.13.24.1: download - view: text, markup, annotated - select for diffs
Tue Aug 21 20:00:28 2007 UTC (17 years, 3 months ago) by liamjfoy
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-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, matt-nb4-arm-base, matt-nb4-arm
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +4 -4 lines
Pull up following revision(s) (requested by tsutsui in ticket #815):
	sys/arch/alpha/pci/sio.c: revision 1.41
	sys/arch/alpha/eisa/eisa_machdep.c: revision 1.6
	sys/arch/alpha/jensenio/jensenio.c: revision 1.14
	sys/arch/alpha/jensenio/jensenio_intr.c: revision 1.6
	sys/arch/alpha/include/eisa_machdep.h: revision 1.8
	sys/arch/alpha/alpha/dec_2000_300.c: revision 1.14
	sys/arch/alpha/jensenio/lpt_jensenio.c: revision 1.6
Avoid NULL pointer dereference in MD device_register() function.
Fixes a part of PR port-alpha/36628.
Backout changes on lpt_jensenio.c rev 1.2.
lpt at jensenio doesn't seem to have a specific interrupt vector
but uses a normal EISA interrupt.
Fixes another part of PR port-alpha/36628 and PR port-alpha/20386.
More fixes for Jensen, reported and tested by Christoph Franzen
in PR port-alpha/36628:
- make jensenio_eisa_maxslots() return 8 (instead of 16) since
  EISA config for slot 8-15 on jensen could return invalid values
- pass eisa_chipset_tag_t to eisa_init() and check eisa_maxslots()
  on probing EISA config space
- pass M_ZERO to malloc(9) and make sure malloc(9) doesn't fail
- fix typo in a debug printf, add more debug printfs, and
  use #ifdef EISA_DEBUG to enable them
- cast uint8_t value to uint32_t before shift more than 8 bits
- check buffer region on reading compressed data from EISA config space
Check a correct value on a sanity check in jensenio_eisa_intr_map().
Fixes yet another bug on Jensen found on tracking PR port-alpha/36628.

Revision 1.13.30.1: download - view: text, markup, annotated - select for diffs
Mon Aug 20 18:36:59 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +4 -4 lines
Sync with HEAD.

Revision 1.13.44.1: download - view: text, markup, annotated - select for diffs
Wed Aug 15 13:47:01 2007 UTC (17 years, 3 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +4 -4 lines
Sync with HEAD.

Revision 1.13.42.1: download - view: text, markup, annotated - select for diffs
Tue Aug 7 18:04:54 2007 UTC (17 years, 4 months ago) by matt
Branches: matt-mips64
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +4 -4 lines
Sync with HEAD.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Jul 22 02:14:39 2007 UTC (17 years, 4 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, nick-csl-alignment-base5, matt-mips64-base, jmcneill-pm, hpcarm-cleanup, bouyer-xenamd64
Branch point for: matt-armv6
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -4 lines
More fixes for Jensen, reported and tested by Christoph Franzen
in PR port-alpha/36628:
- make jensenio_eisa_maxslots() return 8 (instead of 16) since
  EISA config for slot 8-15 on jensen could return invalid values
- pass eisa_chipset_tag_t to eisa_init() and check eisa_maxslots()
  on probing EISA config space
- pass M_ZERO to malloc(9) and make sure malloc(9) doesn't fail
- fix typo in a debug printf, add more debug printfs, and
  use #ifdef EISA_DEBUG to enable them
- cast uint8_t value to uint32_t before shift more than 8 bits
- check buffer region on reading compressed data from EISA config space

Revision 1.10.12.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 14:48:15 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +6 -22 lines
sync with head.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:16:17 2005 UTC (19 years ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, yamt-idlelwp-base8, yamt-idlelwp, thorpej-atomic-base, thorpej-atomic, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, reinoud-bufcleanup, post-newlock2-merge, peter-altq-base, peter-altq, nick-csl-alignment-base, newlock2-nbase, newlock2-base, newlock2, netbsd-4-base, mjf-ufs-trans-base, mjf-ufs-trans, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: wrstuden-fixsa, vmlocking, ppcoea-renovation, nick-csl-alignment, netbsd-4, matt-mips64
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2 lines
merge ktrace-lwp.

Revision 1.8.2.4: download - view: text, markup, annotated - select for diffs
Thu Nov 10 13:50:23 2005 UTC (19 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.8.2.3: preferred, colored; branchpoint 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.2.3: +6 -22 lines
Sync with HEAD. Here we go again...

Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Aug 26 10:13:05 2005 UTC (19 years, 3 months ago) by drochner
Branches: 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
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -17 lines
kill some more simple submatch() functions, use config_stdsubmatch()

Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Aug 25 18:35:38 2005 UTC (19 years, 3 months ago) by drochner
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +7 -9 lines
replace the "locdesc_t" structure carrying the number of locators
explicitely by a plain integer array
the length in now known to all relevant parties, so this avoids
duplication of information, and we can allocate that thing in
drivers without hacks

Revision 1.8.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:12:01 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.8.2.2: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.2.2: +2 -2 lines
Fix the sync with head I botched.

Revision 1.8.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:31:03 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.8.2.1: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.2.1: +4 -2 lines
Sync with HEAD.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Sep 14 19:57:37 2004 UTC (20 years, 3 months ago) by drochner
Branches: 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
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -2 lines
include "locators.h" explicitely (don't rely on isavar.h doing so)

Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Fri Sep 3 12:44:28 2004 UTC (20 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +16 -27 lines
Sync with HEAD

Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Aug 30 15:05:15 2004 UTC (20 years, 3 months ago) by drochner
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +16 -27 lines
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 1.3.2.3: download - view: text, markup, annotated - select for diffs
Fri Jan 3 16:38:40 2003 UTC (21 years, 11 months ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.3.2.2: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.2: +4 -4 lines
Sync with HEAD.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Jan 1 00:39:19 2003 UTC (21 years, 11 months ago) by thorpej
Branches: MAIN
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-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-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Branch point for: ktrace-lwp
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -4 lines
Use aprint_normal() for cfprint routines.

Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:34:15 2002 UTC (22 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.3.2.1: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.2.1: +289 -0 lines
Catch up to -current.

Revision 1.2.6.2: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:31:02 2002 UTC (22 years, 2 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.2.6.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.6.1: +7 -8 lines
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 - view: text, markup, annotated - select for diffs
Wed Oct 2 04:06:38 2002 UTC (22 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +4 -5 lines
Use CFATTACH_DECL().

Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Sep 27 20:29:28 2002 UTC (22 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -3 lines
Declare all cfattach structures const.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Sep 27 03:17:43 2002 UTC (22 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +4 -4 lines
Introduce a new routine, config_match(), which invokes the
cfattach->ca_match function in behalf of the caller.  Use it
rather than invoking cfattach->ca_match directly.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Sep 27 02:24:08 2002 UTC (22 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -3 lines
Rather than referencing the cfdriver directly in the cfdata entries,
instead use a string naming the driver.  The cfdriver is then looked
up in a list which is built at run-time.

Revision 1.2.6.1: download - view: text, markup, annotated - select for diffs
Fri Aug 3 04:10:45 2001 UTC (23 years, 4 months ago) by lukem
Branches: kqueue
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +5 -5 lines
update to -current

Revision 1.3.2.1
Fri Jul 27 00:25:19 2001 UTC (23 years, 4 months ago) by nathanw
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.3: +0 -290 lines
file jensenio.c was added on branch nathanw_sa on 2002-10-18 02:34:15 +0000

Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Jul 27 00:25:19 2001 UTC (23 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf, newlock-base, newlock, 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, ifpoll-base, gehenna-devsw-base, gehenna-devsw, eeh-devprop-base, eeh-devprop
Branch point for: nathanw_sa
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +5 -5 lines
Rework the interrupt code, shaving some cycles off in the process.
Rather than an "iointr" routine that decomposes a vector into an
IRQ, we maintain a vector table directly, hooking up each "iointr"
routine at the correct vector.  This also allows us to hook device
interrupts up to specific vectors (c.f. Jensen).

We can shave even more cycles off, here, and I will, but it requires
some changes to the alpha_shared_intr stuff.

Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Mon Nov 20 19:57:00 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.1: +290 -0 lines
Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.

Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Mon Aug 14 02:25:08 2000 UTC (24 years, 4 months ago) by thorpej
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA
Diff to: previous 1.1.2.2: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.2: +13 -3 lines
Pullup rev. 1.2:
Add support for EISA configuration space on the Jensen (it's
mapped differently than on other EISA sysetms).

Revision 1.2.2.1
Mon Aug 14 02:14:24 2000 UTC (24 years, 4 months ago) by bouyer
Branches: thorpej_scsipi
FILE REMOVED
Changes since revision 1.2: +0 -290 lines
file jensenio.c was added on branch thorpej_scsipi on 2000-11-20 19:57:00 +0000

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Aug 14 02:14:24 2000 UTC (24 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: thorpej_scsipi, kqueue
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +13 -3 lines
Add support for EISA configuration space on the Jensen (it's
mapped differently than on other EISA sysetms).

Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Wed Jul 12 20:59:11 2000 UTC (24 years, 5 months ago) by thorpej
Branches: netbsd-1-5
CVS tags: netbsd-1-5-ALPHA2
Diff to: previous 1.1.2.1: preferred, colored
Changes since revision 1.1.2.1: +280 -0 lines
Update from trunk:
Code to support the DEC 2000/300 (DECpc AXP 150, a.k.a. "Jensen")
systems.  Thanks to Gyenes Istvan for the rounds of testing.

Revision 1.1.2.1
Wed Jul 12 20:36:08 2000 UTC (24 years, 5 months ago) by thorpej
Branches: netbsd-1-5
FILE REMOVED
Changes since revision 1.1: +0 -280 lines
file jensenio.c was added on branch netbsd-1-5 on 2000-07-12 20:59:11 +0000

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Jul 12 20:36:08 2000 UTC (24 years, 5 months ago) by thorpej
Branches: MAIN
Branch point for: netbsd-1-5
Code to support the DEC 2000/300 (DECpc AXP 150, a.k.a. "Jensen")
systems.  Thanks to Gyenes Istvan for the rounds of testing.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>