The NetBSD Project

CVS log for src/sys/arch/sparc64/dev/psycho.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.137 / (download) - annotate - [select for diffs], Wed Feb 23 21:54:40 2022 UTC (2 years, 1 month ago) by andvar
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, 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.136: +3 -3 lines
Diff to previous 1.136 (colored) to selected 1.79.16.1 (colored)

fix various typos in comments, mainly immediatly/immediately/,
as well shared and recently fixed typos in OpenBSD code by Jonathan Grey.

Revision 1.136 / (download) - annotate - [select for diffs], Fri Jan 21 19:14:14 2022 UTC (2 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.135: +3 -3 lines
Diff to previous 1.135 (colored) to selected 1.79.16.1 (colored)

Don't bother with prom_node_to_devhandle() if we're just forwarding along
our own node; use device_handle(self) instead.

Revision 1.135 / (download) - annotate - [select for diffs], Sat Aug 7 16:19:05 2021 UTC (2 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2
Changes since 1.134: +3 -4 lines
Diff to previous 1.134 (colored) to selected 1.79.16.1 (colored)

Merge thorpej-cfargs2.

Revision 1.134.4.1 / (download) - annotate - [select for diffs], Wed Aug 4 02:57:07 2021 UTC (2 years, 8 months ago) by thorpej
Branch: thorpej-cfargs2
Changes since 1.134: +3 -4 lines
Diff to previous 1.134 (colored) next main 1.135 (colored) to selected 1.79.16.1 (colored)

Adapt to CFARGS().

Revision 1.133.4.1 / (download) - annotate - [select for diffs], Mon May 31 22:15:16 2021 UTC (2 years, 10 months ago) by cjep
Branch: cjep_staticlib_x
Changes since 1.133: +5 -3 lines
Diff to previous 1.133 (colored) next main 1.134 (colored) to selected 1.79.16.1 (colored)

sync with head

Revision 1.133.2.1 / (download) - annotate - [select for diffs], Thu May 13 00:47:28 2021 UTC (2 years, 11 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.133: +5 -3 lines
Diff to previous 1.133 (colored) next main 1.134 (colored) to selected 1.79.16.1 (colored)

Sync with HEAD.

Revision 1.134 / (download) - annotate - [select for diffs], Mon May 10 23:53:44 2021 UTC (2 years, 11 months ago) by thorpej
Branch: 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
Branch point for: thorpej-cfargs2
Changes since 1.133: +5 -3 lines
Diff to previous 1.133 (colored) to selected 1.79.16.1 (colored)

Associate the OpenBoot / OpenFirmware node with attached devices
at config_found() time.

Revision 1.133 / (download) - annotate - [select for diffs], Sat Apr 24 23:36:49 2021 UTC (2 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: cjep_staticlib_x-base
Branch point for: thorpej-i2c-spi-conf, cjep_staticlib_x
Changes since 1.132: +3 -3 lines
Diff to previous 1.132 (colored) to selected 1.79.16.1 (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.128.8.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:38 2021 UTC (3 years ago) by thorpej
Branch: thorpej-futex
Changes since 1.128: +13 -22 lines
Diff to previous 1.128 (colored) next main 1.129 (colored) to selected 1.79.16.1 (colored)

Sync with HEAD.

Revision 1.132.2.1 / (download) - annotate - [select for diffs], Tue Mar 23 07:14:51 2021 UTC (3 years ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.132: +3 -3 lines
Diff to previous 1.132 (colored) next main 1.133 (colored) to selected 1.79.16.1 (colored)

Convert config_found_ia() call sites where the device only carries
a single interface attribute to bare config_found() calls.

Revision 1.132 / (download) - annotate - [select for diffs], Sun Jan 17 00:18:28 2021 UTC (3 years, 2 months ago) by mrg
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-cfargs-base
Branch point for: thorpej-cfargs
Changes since 1.131: +3 -3 lines
Diff to previous 1.131 (colored) to selected 1.79.16.1 (colored)

reduce the scope of 'ci' variable.

Revision 1.131 / (download) - annotate - [select for diffs], Thu Jan 7 07:40:39 2021 UTC (3 years, 3 months ago) by nakayama
Branch: MAIN
Changes since 1.130: +5 -4 lines
Diff to previous 1.130 (colored) to selected 1.79.16.1 (colored)

The "available" property requires a variable length buffer, so
leave free(9) until prom_getprop is changed to use kmem_alloc(9)
instead of malloc(9).

Revision 1.130 / (download) - annotate - [select for diffs], Wed Jan 6 20:04:30 2021 UTC (3 years, 3 months ago) by palle
Branch: MAIN
Changes since 1.129: +3 -3 lines
Diff to previous 1.129 (colored) to selected 1.79.16.1 (colored)

psycho: explicit allocation of memory using kmem(9) instead of using the buffer indirectly allocted in the prom_getprop() function (which is still using malloc(9) for memory allocation

Revision 1.129 / (download) - annotate - [select for diffs], Mon Jan 4 14:48:51 2021 UTC (3 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.128: +13 -23 lines
Diff to previous 1.128 (colored) to selected 1.79.16.1 (colored)

malloc(9) -> kmem(9) -- just the simple, straightforward conversions for now.

Revision 1.126.14.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:08 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.126.14.1: +10 -29 lines
Diff to previous 1.126.14.1 (colored) to branchpoint 1.126 (colored) next main 1.127 (colored) to selected 1.79.16.1 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.128 / (download) - annotate - [select for diffs], Sun Nov 10 21:16:33 2019 UTC (4 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, 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-futex
Changes since 1.127: +10 -29 lines
Diff to previous 1.127 (colored) to selected 1.79.16.1 (colored)

in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.

Revision 1.126.14.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:47 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.126: +10 -5 lines
Diff to previous 1.126 (colored) to selected 1.79.16.1 (colored)

Sync with HEAD

Revision 1.127 / (download) - annotate - [select for diffs], Tue Feb 5 06:10:53 2019 UTC (5 years, 2 months ago) by mrg
Branch: MAIN
CVS Tags: 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, isaki-audio2-base, isaki-audio2
Changes since 1.126: +10 -5 lines
Diff to previous 1.126 (colored) to selected 1.79.16.1 (colored)

add or avoid fallthru comments.

Revision 1.112.6.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:44 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.112.6.2: +52 -43 lines
Diff to previous 1.112.6.2 (colored) to branchpoint 1.112 (colored) next main 1.113 (colored) to selected 1.79.16.1 (colored)

update from HEAD

Revision 1.120.2.3 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:53 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.120.2.2: +11 -3 lines
Diff to previous 1.120.2.2 (colored) to branchpoint 1.120 (colored) next main 1.121 (colored) to selected 1.79.16.1 (colored)

Sync with HEAD

Revision 1.124.2.1 / (download) - annotate - [select for diffs], Wed Apr 26 02:53:08 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.124: +11 -3 lines
Diff to previous 1.124 (colored) next main 1.125 (colored) to selected 1.79.16.1 (colored)

Sync with HEAD

Revision 1.124.4.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:37 2017 UTC (6 years, 11 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.124: +11 -3 lines
Diff to previous 1.124 (colored) next main 1.125 (colored) to selected 1.79.16.1 (colored)

Sync with HEAD

Revision 1.126 / (download) - annotate - [select for diffs], Sun Mar 26 12:51:42 2017 UTC (7 years ago) by martin
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-20170426, 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, 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, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Branch point for: phil-wifi
Changes since 1.125: +7 -3 lines
Diff to previous 1.125 (colored) to selected 1.79.16.1 (colored)

Do not call OF_getprop on our node blindly - for the "pcons" hack we may
be called with all zeroed attach args.

Revision 1.125 / (download) - annotate - [select for diffs], Fri Mar 24 01:14:26 2017 UTC (7 years ago) by macallan
Branch: MAIN
Changes since 1.124: +6 -2 lines
Diff to previous 1.124 (colored) to selected 1.79.16.1 (colored)

disable BUS_SPACE_MAP_PREFETCHABLE until I figure out which psychos support
partial writes
apparently the only devices which can actually do that are UPA graphics cards

Revision 1.120.2.2 / (download) - annotate - [select for diffs], Sun May 29 08:44:19 2016 UTC (7 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.120.2.1: +4 -7 lines
Diff to previous 1.120.2.1 (colored) to branchpoint 1.120 (colored) to selected 1.79.16.1 (colored)

Sync with HEAD

Revision 1.124 / (download) - annotate - [select for diffs], Tue May 10 19:23:59 2016 UTC (7 years, 11 months ago) by palle
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, localcount-20160914, bouyer-socketcan-base
Branch point for: pgoyette-localcount, bouyer-socketcan
Changes since 1.123: +4 -7 lines
Diff to previous 1.123 (colored) to selected 1.79.16.1 (colored)

sun4v: make device interrupts work. Introduce a new intrhand_alloc() function for allocation of interrupt handlers and adapt to this. Parts from OpenBSD. ok martin@

Revision 1.120.2.1 / (download) - annotate - [select for diffs], Sun Dec 27 12:09:43 2015 UTC (8 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.120: +40 -36 lines
Diff to previous 1.120 (colored) to selected 1.79.16.1 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.123 / (download) - annotate - [select for diffs], Fri Nov 27 00:36:58 2015 UTC (8 years, 4 months ago) by mrg
Branch: MAIN
CVS Tags: nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226
Changes since 1.122: +3 -3 lines
Diff to previous 1.122 (colored) to selected 1.79.16.1 (colored)

s/pa/busaddr/ in a debug message, we print the actual paddr next.

Revision 1.122 / (download) - annotate - [select for diffs], Thu Nov 26 23:44:57 2015 UTC (8 years, 4 months ago) by mrg
Branch: MAIN
Changes since 1.121: +35 -34 lines
Diff to previous 1.121 (colored) to selected 1.79.16.1 (colored)

adjust a bunch of debugging messages to use __func__ and to normalise
newline usage (some sequences ended up printing blank lines.)

Revision 1.121 / (download) - annotate - [select for diffs], Fri Oct 2 05:22:52 2015 UTC (8 years, 6 months ago) by msaitoh
Branch: MAIN
Changes since 1.120: +7 -4 lines
Diff to previous 1.120 (colored) to selected 1.79.16.1 (colored)

PCI Extended Configuration stuff written by nonaka@:
- Add PCI Extended Configuration Space support into x86.
- Check register offset of pci_conf_read() in MD part. It returns (pcireg_t)-1
  if it isn't accessible.
- Decode Extended Capability in PCI Extended Configuration Space.
  Currently the following extended capabilities are decoded:
   - Advanced Error Reporting
   - Virtual Channel
   - Device Serial Number
   - Power Budgeting
   - Root Complex Link Declaration
   - Root Complex Event Collector Association
   - Access Control Services
   - Alternative Routing-ID Interpretation
   - Address Translation Services
   - Single Root IO Virtualization
   - Page Request
   - TPH Requester
   - Latency Tolerance Reporting
   - Secondary PCI Express
   - Process Address Space ID
   - LN Requester
   - L1 PM Substates
  The following extended capabilities are not decoded yet:
   - Root Complex Internal Link Control
   - Multi-Function Virtual Channel
   - RCRB Header
   - Vendor Unique
   - Configuration Access Correction
   - Multiple Root IO Virtualization
   - Multicast
   - Resizable BAR
   - Dynamic Power Allocation
   - Protocol Multiplexing
   - Downstream Port Containment
   - Precision Time Management
   - M-PCIe
   - Function Reading Status Queueing
   - Readiness Time Reporting
   - Designated Vendor-Specific

Revision 1.118.4.1 / (download) - annotate - [select for diffs], Mon Nov 10 17:59:57 2014 UTC (9 years, 5 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, 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
Changes since 1.118: +4 -4 lines
Diff to previous 1.118 (colored) next main 1.119 (colored) to selected 1.79.16.1 (colored)

Pull up following revision(s) (requested by maxv in ticket #195):
	sys/arch/arm/iomd/iomd_irqhandler.c: revision 1.21
	sys/arch/arm/ofw/ofw_irqhandler.c: revision 1.21
	sys/arch/atari/atari/intr.c: revision 1.24-1.25
	sys/arch/ews4800mips/sbd/fb_sbdio.c: revision 1.14
	sys/arch/hpcmips/tx/tx39icu.c: revision 1.34
	sys/arch/shark/isa/isa_irqhandler.c: revision 1.27
	sys/arch/sparc/sparc/machdep.c: revision 1.327
	sys/arch/sparc64/dev/psycho.c: revision 1.119
	sys/arch/sparc64/dev/schizo.c: revision 1.32
	sys/arch/sparc64/sparc64/machdep.c: revision 1.279
	sys/arch/sun68k/sun68k/bus.c: revision 1.22
	sys/arch/x86/x86/ipmi.c: revision 1.58
	sys/arch/xen/xen/privcmd.c: revision 1.46-1.49
Fix several memory leaks.

Revision 1.120 / (download) - annotate - [select for diffs], Sat Oct 18 08:33:27 2014 UTC (9 years, 6 months ago) by snj
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.119: +4 -4 lines
Diff to previous 1.119 (colored) to selected 1.79.16.1 (colored)

src is too big these days to tolerate superfluous apostrophes.  It's
"its", people!

Revision 1.119 / (download) - annotate - [select for diffs], Sun Sep 21 16:39:12 2014 UTC (9 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.118: +4 -4 lines
Diff to previous 1.118 (colored) to selected 1.79.16.1 (colored)

fix leak

Revision 1.112.6.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:25 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.112.6.1: +123 -2 lines
Diff to previous 1.112.6.1 (colored) to branchpoint 1.112 (colored) to selected 1.79.16.1 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.111.2.2 / (download) - annotate - [select for diffs], Thu May 22 11:40:09 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.111.2.1: +135 -4 lines
Diff to previous 1.111.2.1 (colored) to branchpoint 1.111 (colored) next main 1.112 (colored) to selected 1.79.16.1 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.113.2.2 / (download) - annotate - [select for diffs], Sun May 18 17:45:26 2014 UTC (9 years, 11 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.113.2.1: +53 -3 lines
Diff to previous 1.113.2.1 (colored) to branchpoint 1.113 (colored) next main 1.114 (colored) to selected 1.79.16.1 (colored)

sync with head

Revision 1.118 / (download) - annotate - [select for diffs], Sat Dec 7 11:17:24 2013 UTC (10 years, 4 months ago) by nakayama
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, netbsd-7-base
Branch point for: netbsd-7
Changes since 1.117: +10 -2 lines
Diff to previous 1.117 (colored) to selected 1.79.16.1 (colored)

Timecounter's tc_get_timecount requires only 32-bit (u_int), so
omit unnecessary upper 32-bit read from STICK counter.

Revision 1.117 / (download) - annotate - [select for diffs], Fri Nov 8 15:44:26 2013 UTC (10 years, 5 months ago) by nakayama
Branch: MAIN
Changes since 1.116: +2 -3 lines
Diff to previous 1.116 (colored) to selected 1.79.16.1 (colored)

"machine_model" is now declared in machine/autoconf.h.

Revision 1.116 / (download) - annotate - [select for diffs], Tue Sep 24 18:23:07 2013 UTC (10 years, 6 months ago) by jdc
Branch: MAIN
Changes since 1.115: +45 -2 lines
Diff to previous 1.115 (colored) to selected 1.79.16.1 (colored)

Work around invalid root PCI bus bus-range (0x00-0xff) by checking the
bus-range of any child buses, and altering the root bus bus-range to
suit.  Required for cardbus bridge attach on SPARCle.

Revision 1.113.2.1 / (download) - annotate - [select for diffs], Wed Aug 28 23:59:22 2013 UTC (10 years, 7 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.113: +74 -3 lines
Diff to previous 1.113 (colored) to selected 1.79.16.1 (colored)

sync with head

Revision 1.115 / (download) - annotate - [select for diffs], Thu Aug 22 09:57:30 2013 UTC (10 years, 7 months ago) by nakayama
Branch: MAIN
Changes since 1.114: +6 -6 lines
Diff to previous 1.114 (colored) to selected 1.79.16.1 (colored)

Handle US-IIe's STICK counter as 64-bit explicitly to fix a hang at
boot after about 6.5 minutes on 32-bit kernel.

Revision 1.114 / (download) - annotate - [select for diffs], Tue Aug 20 19:19:23 2013 UTC (10 years, 7 months ago) by macallan
Branch: MAIN
Changes since 1.113: +74 -3 lines
Diff to previous 1.113 (colored) to selected 1.79.16.1 (colored)

support UltraSPARC-IIe STICK counter as time base

Revision 1.112.6.1 / (download) - annotate - [select for diffs], Sun Jun 23 06:20:12 2013 UTC (10 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.112: +12 -2 lines
Diff to previous 1.112 (colored) to selected 1.79.16.1 (colored)

resync from head

Revision 1.113 / (download) - annotate - [select for diffs], Fri Jun 21 20:09:58 2013 UTC (10 years, 9 months ago) by nakayama
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Branch point for: rmind-smpnet
Changes since 1.112: +12 -2 lines
Diff to previous 1.112 (colored) to selected 1.79.16.1 (colored)

Avoid data_access_error trap panic when reading unused PCI
configuration space.

This method is described in UltraSPARC IIi User's Manual "16.2.1
Probing PCI during boot using deferred errors", and refer to the
implementation of OpenBSD.

Revision 1.111.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:06:55 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.111: +3 -4 lines
Diff to previous 1.111 (colored) to selected 1.79.16.1 (colored)

sync with head

Revision 1.111.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:33:16 2012 UTC (12 years, 2 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.111: +3 -4 lines
Diff to previous 1.111 (colored) next main 1.112 (colored) to selected 1.79.16.1 (colored)

merge to -current.

Revision 1.112 / (download) - annotate - [select for diffs], Fri Jan 27 18:53:03 2012 UTC (12 years, 2 months ago) by para
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, 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, khorben-n900, 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, agc-symver-base, agc-symver
Branch point for: tls-maxphys
Changes since 1.111: +3 -4 lines
Diff to previous 1.111 (colored) to selected 1.79.16.1 (colored)

converting extent(9) from malloc(9) to kmem(9)
preceding kmem-vmem-pool-uvm patch

releng@ acknowledged

Revision 1.111 / (download) - annotate - [select for diffs], Sun Sep 4 12:17:14 2011 UTC (12 years, 7 months ago) by nakayama
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.110: +3 -3 lines
Diff to previous 1.110 (colored) to selected 1.79.16.1 (colored)

ih_pil is an interrupt level, not an interrupt mask.

Revision 1.110 / (download) - annotate - [select for diffs], Fri Aug 12 06:38:35 2011 UTC (12 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.109: +4 -2 lines
Diff to previous 1.109 (colored) to selected 1.79.16.1 (colored)

initialise ih_pending.

Revision 1.109 / (download) - annotate - [select for diffs], Wed Jul 20 12:06:00 2011 UTC (12 years, 9 months ago) by macallan
Branch: MAIN
Changes since 1.108: +4 -2 lines
Diff to previous 1.108 (colored) to selected 1.79.16.1 (colored)

add per ivec event counters

Revision 1.108 / (download) - annotate - [select for diffs], Fri Jul 1 18:48:37 2011 UTC (12 years, 9 months ago) by dyoung
Branch: MAIN
Changes since 1.107: +3 -3 lines
Diff to previous 1.107 (colored) to selected 1.79.16.1 (colored)

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

Revision 1.106.2.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:19:42 2011 UTC (12 years, 9 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.106: +19 -18 lines
Diff to previous 1.106 (colored) next main 1.107 (colored) to selected 1.79.16.1 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.100.4.4 / (download) - annotate - [select for diffs], Sun Jun 12 00:24:08 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.100.4.3: +17 -16 lines
Diff to previous 1.100.4.3 (colored) to branchpoint 1.100 (colored) next main 1.101 (colored) to selected 1.79.16.1 (colored)

sync with head

Revision 1.101.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:06:50 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.101: +33 -26 lines
Diff to previous 1.101 (colored) next main 1.102 (colored) to selected 1.79.16.1 (colored)

Sync with HEAD.

Revision 1.107 / (download) - annotate - [select for diffs], Thu Jun 2 00:24:23 2011 UTC (12 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base
Changes since 1.106: +19 -18 lines
Diff to previous 1.106 (colored) to selected 1.79.16.1 (colored)

split auxio, ebus, psycho, sab.

Revision 1.100.4.3 / (download) - annotate - [select for diffs], Tue May 31 03:04:18 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.100.4.2: +2 -2 lines
Diff to previous 1.100.4.2 (colored) to branchpoint 1.100 (colored) to selected 1.79.16.1 (colored)

sync with head

Revision 1.106 / (download) - annotate - [select for diffs], Tue May 17 17:34:53 2011 UTC (12 years, 11 months ago) by dyoung
Branch: MAIN
CVS Tags: cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.105: +4 -4 lines
Diff to previous 1.105 (colored) to selected 1.79.16.1 (colored)

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 1.100.4.2 / (download) - annotate - [select for diffs], Thu Apr 21 01:41:26 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.100.4.1: +2 -2 lines
Diff to previous 1.100.4.1 (colored) to branchpoint 1.100 (colored) to selected 1.79.16.1 (colored)

sync with head

Revision 1.105 / (download) - annotate - [select for diffs], Mon Apr 4 20:37:54 2011 UTC (13 years ago) by dyoung
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.104: +4 -4 lines
Diff to previous 1.104 (colored) to selected 1.79.16.1 (colored)

Neither pci_dma64_available(), pci_probe_device(), pci_mapreg_map(9),
pci_find_rom(), pci_intr_map(9), pci_enumerate_bus(), nor the match
predicate passed to pciide_compat_intr_establish() should ever modify
their pci_attach_args argument, so make their pci_attach_args arguments
const and deal with the fallout throughout the kernel.

For the most part, these changes add a 'const' where there was no
'const' before, however, some drivers and MD code used to modify
pci_attach_args.  Now those drivers either copy their pci_attach_args
and modify the copy, or refrain from modifying pci_attach_args:

Xen: according to Manuel Bouyer, writing to pci_attach_args in
    pci_intr_map() was a leftover from Xen 2.  Probably a bug.  I
    stopped writing it.  I have not tested this change.

siside(4): sis_hostbr_match() needlessly wrote to pci_attach_args.
    Probably a bug.  I use a temporary variable.  I have not tested this
    change.

slide(4): sl82c105_chip_map() overwrote the caller's pci_attach_args.
    Probably a bug.  Use a local pci_attach_args.  I have not tested
    this change.

viaide(4): via_sata_chip_map() and via_sata_chip_map_new() overwrote the
    caller's pci_attach_args.  Probably a bug.  Make a local copy of the
    caller's pci_attach_args and modify the copy.  I have not tested
    this change.

While I'm here, make pci_mapreg_submap() static.

With these changes in place, I have tested the compilation of these
kernels:

alpha GENERIC
amd64 GENERIC XEN3_DOM0
arc GENERIC
atari HADES MILAN-PCIIDE
bebox GENERIC
cats GENERIC
cobalt GENERIC
evbarm-eb NSLU2
evbarm-el ADI_BRH ARMADILLO9 CP3100 GEMINI GEMINI_MASTER GEMINI_SLAVE GUMSTIX
	HDL_G IMX31LITE INTEGRATOR IQ31244 IQ80310 IQ80321 IXDP425 IXM1200
	KUROBOX_PRO LUBBOCK MARVELL_NAS NAPPI SHEEVAPLUG SMDK2800 TEAMASA_NPWR
	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
	OPENBLOCKS266_OPT P2020RDB PMPPC RB800 WALNUT
hp700 GENERIC
i386 ALL XEN3_DOM0 XEN3_DOMU
ibmnws GENERIC
macppc GENERIC
mvmeppc GENERIC
netwinder GENERIC
ofppc GENERIC
prep GENERIC
sandpoint GENERIC
sgimips GENERIC32_IP2x
sparc GENERIC_SUN4U KRUPS
sparc64 GENERIC

As of Sun Apr 3 15:26:26 CDT 2011, I could not compile these kernels
with or without my patches in place:

### evbmips-el GDIUM

nbmake: nbmake: don't know how to make /home/dyoung/pristine-nbsd/src/sys/arch/mips/mips/softintr.c. Stop

### evbarm-el MPCSA_GENERIC
src/sys/arch/evbarm/conf/MPCSA_GENERIC:318: ds1672rtc*: unknown device `ds1672rtc'

### ia64 GENERIC

/tmp/genassym.28085/assym.c: In function 'f111':
/tmp/genassym.28085/assym.c:67: error: invalid application of 'sizeof' to incomplete type 'struct pcb'
/tmp/genassym.28085/assym.c:76: error: dereferencing pointer to incomplete type

### sgimips GENERIC32_IP3x

crmfb.o: In function `crmfb_attach':
crmfb.c:(.text+0x2304): undefined reference to `ddc_read_edid'
crmfb.c:(.text+0x2304): relocation truncated to fit: R_MIPS_26 against `ddc_read_edid'
crmfb.c:(.text+0x234c): undefined reference to `edid_parse'
crmfb.c:(.text+0x234c): relocation truncated to fit: R_MIPS_26 against `edid_parse'
crmfb.c:(.text+0x2354): undefined reference to `edid_print'
crmfb.c:(.text+0x2354): relocation truncated to fit: R_MIPS_26 against `edid_print'

Revision 1.104 / (download) - annotate - [select for diffs], Wed Mar 16 05:49:43 2011 UTC (13 years, 1 month ago) by mrg
Branch: MAIN
Changes since 1.103: +1 -1 lines
Diff to previous 1.103 (colored) to selected 1.79.16.1 (colored)

revert the iommu changes for now.  my U60 doesn't like them.

Revision 1.103 / (download) - annotate - [select for diffs], Wed Mar 16 03:51:29 2011 UTC (13 years, 1 month ago) by mrg
Branch: MAIN
Changes since 1.102: +3 -3 lines
Diff to previous 1.102 (colored) to selected 1.79.16.1 (colored)

use struct iommureg_old.

Revision 1.100.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:52:06 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.100: +23 -10 lines
Diff to previous 1.100 (colored) to selected 1.79.16.1 (colored)

sync with head

Revision 1.101.4.1 / (download) - annotate - [select for diffs], Thu Feb 17 12:00:02 2011 UTC (13 years, 2 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.101: +12 -6 lines
Diff to previous 1.101 (colored) next main 1.102 (colored) to selected 1.79.16.1 (colored)

Sync with HEAD

Revision 1.91.4.1 / (download) - annotate - [select for diffs], Wed Feb 16 21:21:21 2011 UTC (13 years, 2 months ago) by bouyer
Branch: netbsd-5
CVS Tags: 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
Changes since 1.91: +12 -6 lines
Diff to previous 1.91 (colored) next main 1.92 (colored) to selected 1.79.16.1 (colored)

Pull up following revision(s) (requested by nakayama in ticket #1555):
	sys/arch/sparc64/dev/psycho.c: revision 1.102 via patch
Don't enable the powerfail interrupt on Netra X1 since it may hang.
Discussed on port-sparc64.

Revision 1.102 / (download) - annotate - [select for diffs], Sun Feb 13 11:54:24 2011 UTC (13 years, 2 months ago) by nakayama
Branch: MAIN
CVS Tags: uebayasi-xip-base7, bouyer-quota2-nbase, bouyer-quota2-base
Changes since 1.101: +12 -6 lines
Diff to previous 1.101 (colored) to selected 1.79.16.1 (colored)

Don't enable the powerfail interrupt on Netra X1 since it may hang.

Discussed on port-sparc64.

Revision 1.100.2.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:45:18 2010 UTC (13 years, 8 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.100: +13 -6 lines
Diff to previous 1.100 (colored) next main 1.101 (colored) to selected 1.79.16.1 (colored)

Sync with HEAD.

Revision 1.85.4.3 / (download) - annotate - [select for diffs], Wed Aug 11 22:52:47 2010 UTC (13 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.85.4.2: +13 -6 lines
Diff to previous 1.85.4.2 (colored) to branchpoint 1.85 (colored) next main 1.86 (colored) to selected 1.79.16.1 (colored)

sync with head.

Revision 1.101 / (download) - annotate - [select for diffs], Sat Jul 10 10:07:40 2010 UTC (13 years, 9 months ago) by nakayama
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.100: +13 -6 lines
Diff to previous 1.100 (colored) to selected 1.79.16.1 (colored)

psycho_sabre_dmamap_sync: do nothing if len == 0 like iommu_dvmamap_sync.

Revision 1.85.4.2 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:00 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.85.4.1: +76 -78 lines
Diff to previous 1.85.4.1 (colored) to branchpoint 1.85 (colored) to selected 1.79.16.1 (colored)

sync with head

Revision 1.100 / (download) - annotate - [select for diffs], Wed Jan 6 05:55:01 2010 UTC (14 years, 3 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base1, uebayasi-xip-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.99: +3 -48 lines
Diff to previous 1.99 (colored) to selected 1.79.16.1 (colored)

move the guts of pci_intr_map() into pci_machdep.c, and move the schizo
ign addition into a hook.  also, don't double shift the ign in set_intr.

tested on U60 and SB2500.

Revision 1.99 / (download) - annotate - [select for diffs], Wed Dec 30 17:16:49 2009 UTC (14 years, 3 months ago) by nakayama
Branch: MAIN
Changes since 1.98: +56 -56 lines
Diff to previous 1.98 (colored) to selected 1.79.16.1 (colored)

Fix function name in debug messages, remove trailing space and tabify.

Revision 1.98 / (download) - annotate - [select for diffs], Sun Dec 6 01:35:40 2009 UTC (14 years, 4 months ago) by nakayama
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.97: +22 -25 lines
Diff to previous 1.97 (colored) to selected 1.79.16.1 (colored)

psycho_ue():
- remove printing of pa, it is irrelevant value since va address
  passed to iommu_extract is incorrect and we can look at it in
  IOTTE.
- print correct IOVA address.

While there, convert printf to aprint_error_dev and remove long
long casts by using PRIx64.

Revision 1.97 / (download) - annotate - [select for diffs], Mon Nov 30 05:00:58 2009 UTC (14 years, 4 months ago) by mrg
Branch: MAIN
Changes since 1.96: +48 -2 lines
Diff to previous 1.96 (colored) to selected 1.79.16.1 (colored)

convert pci_intr_map() into a chipset tag function pointer, and implement
the schizo version slightly differently.

pull out the schizo's IGN from the upaid, not the apparently broken device
ID register.  from openbsd.

with this i appear to have valid working interrupts on the SB2500.

tested on U60 and SB2500.


XXX: we can probably kill (*spc_find_ino)() now that pci_intr_map() itself
XXX: is no longer a first class function.

Revision 1.96 / (download) - annotate - [select for diffs], Fri Nov 27 22:31:29 2009 UTC (14 years, 4 months ago) by mrg
Branch: MAIN
Changes since 1.95: +3 -3 lines
Diff to previous 1.95 (colored) to selected 1.79.16.1 (colored)

clean up some debug messages a little bit.

Revision 1.85.4.1 / (download) - annotate - [select for diffs], Mon May 4 08:11:57 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.85: +202 -128 lines
Diff to previous 1.85 (colored) to selected 1.79.16.1 (colored)

sync with head.

Revision 1.91.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:16:47 2009 UTC (15 years, 3 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.91: +155 -50 lines
Diff to previous 1.91 (colored) next main 1.92 (colored) to selected 1.79.16.1 (colored)

Sync with HEAD.

Revision 1.84.6.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:31 2009 UTC (15 years, 3 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.84.6.2: +171 -121 lines
Diff to previous 1.84.6.2 (colored) to branchpoint 1.84 (colored) next main 1.85 (colored) to selected 1.79.16.1 (colored)

Sync with HEAD.

Revision 1.95 / (download) - annotate - [select for diffs], Tue Dec 16 22:35:26 2008 UTC (15 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, mjf-devfs2-base, jymxensuspend-base, jym-xensuspend
Changes since 1.94: +4 -5 lines
Diff to previous 1.94 (colored) to selected 1.79.16.1 (colored)

replace bitmask_snprintf(9) with snprintb(3)

Revision 1.88.2.2 / (download) - annotate - [select for diffs], Sat Dec 13 01:13:29 2008 UTC (15 years, 4 months ago) by haad
Branch: haad-dm
Changes since 1.88.2.1: +153 -47 lines
Diff to previous 1.88.2.1 (colored) to branchpoint 1.88 (colored) next main 1.89 (colored) to selected 1.79.16.1 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.94 / (download) - annotate - [select for diffs], Wed Dec 10 03:31:51 2008 UTC (15 years, 4 months ago) by mrg
Branch: MAIN
CVS Tags: haad-nbase2, haad-dm-base2, haad-dm-base
Changes since 1.93: +7 -37 lines
Diff to previous 1.93 (colored) to selected 1.79.16.1 (colored)

ofpci_make_tag():
	don't write PCI_COMMAND_STATUS_REG with
	PCI_COMMAND_(MEM|MASTER|IO)_ENABLE, or it in.
sparc_pci_childspace():
	move psycho.c:get_childspace() into pci_machdep.c but rename it
psycho_alloc_bus_tag():
	use M_ZERO

Revision 1.93 / (download) - annotate - [select for diffs], Tue Dec 9 13:14:38 2008 UTC (15 years, 4 months ago) by nakayama
Branch: MAIN
Changes since 1.92: +4 -6 lines
Diff to previous 1.92 (colored) to selected 1.79.16.1 (colored)

Fix CardBus, PCI-PCI bridge support borked in previous commit.

Revision 1.92 / (download) - annotate - [select for diffs], Sun Dec 7 21:03:57 2008 UTC (15 years, 4 months ago) by mrg
Branch: MAIN
Changes since 1.91: +146 -8 lines
Diff to previous 1.91 (colored) to selected 1.79.16.1 (colored)

a few clean up/rearrange changes, somewhat inspired from openbsd's
schizo.c:

- rename pp_busnode{} -> spc_busnode{}, and move it to
  sparc_pci_chipset{}

- move public pci functions pci_conf_read(), pci_conf_write() and
  pci_intr_establish() into psycho.c, renaming them in the process,
  and add pointers through sparc_pci_chipset{} to access them.
  as part of this, add PDB_INTMAP and PDB_CONF debug options to
  psycho.c

- move and rename sparc64 private pci_find_ino() into
  sparc_pci_chipset{}, like the above

- update psycho_alloc_chipset() to set the new 4 function members


no functional change intended.  XXX: not tested on cardbus.

Revision 1.88.2.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:16:00 2008 UTC (15 years, 6 months ago) by haad
Branch: haad-dm
Changes since 1.88: +39 -94 lines
Diff to previous 1.88 (colored) to selected 1.79.16.1 (colored)

Sync with HEAD.

Revision 1.91 / (download) - annotate - [select for diffs], Sat Oct 18 03:31:10 2008 UTC (15 years, 6 months ago) by nakayama
Branch: MAIN
CVS Tags: netbsd-5-base, 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, 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, haad-dm-base1, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, netbsd-5
Changes since 1.90: +23 -100 lines
Diff to previous 1.90 (colored) to selected 1.79.16.1 (colored)

It is wasteful that reconstructing arguments for inserting the pointer
to streaming buffers in each bus_dma functions on sbus/psycho layer.

Use iommu functions directly with storing the pointer into (unused)
_dm_cookie at bus_dmamap_create time.

Revision 1.90 / (download) - annotate - [select for diffs], Sat Oct 18 03:10:53 2008 UTC (15 years, 6 months ago) by nakayama
Branch: MAIN
Changes since 1.89: +26 -3 lines
Diff to previous 1.89 (colored) to selected 1.79.16.1 (colored)

UltraSPARC IIi and IIe have PCI DMA Write Synchronization Register to
synchronize the DMA writes.  So use it in case of BUS_DMASYNC_POSTREAD.

Tested on my Netra X1 for several years.

Revision 1.89 / (download) - annotate - [select for diffs], Mon Oct 13 12:25:22 2008 UTC (15 years, 6 months ago) by nakayama
Branch: MAIN
Changes since 1.88: +2 -3 lines
Diff to previous 1.88 (colored) to selected 1.79.16.1 (colored)

Remove unnecessary includes.

Revision 1.84.6.2 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:00 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.84.6.1: +1 -2 lines
Diff to previous 1.84.6.1 (colored) to branchpoint 1.84 (colored) to selected 1.79.16.1 (colored)

Sync with HEAD.

Revision 1.85.6.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:30:43 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.85: +31 -7 lines
Diff to previous 1.85 (colored) next main 1.86 (colored) to selected 1.79.16.1 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.87.2.1 / (download) - annotate - [select for diffs], Wed Jun 18 16:32:49 2008 UTC (15 years, 10 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.87: +3 -4 lines
Diff to previous 1.87 (colored) next main 1.88 (colored) to selected 1.79.16.1 (colored)

Sync with head.

Revision 1.85.2.2 / (download) - annotate - [select for diffs], Tue Jun 17 09:14:13 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.85.2.1: +3 -4 lines
Diff to previous 1.85.2.1 (colored) to branchpoint 1.85 (colored) next main 1.86 (colored) to selected 1.79.16.1 (colored)

sync with head.

Revision 1.88 / (download) - annotate - [select for diffs], Fri Jun 13 13:10:49 2008 UTC (15 years, 10 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-base4, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base
Branch point for: haad-dm
Changes since 1.87: +3 -4 lines
Diff to previous 1.87 (colored) to selected 1.79.16.1 (colored)

use device_lookup_private to get softc

Revision 1.85.2.1 / (download) - annotate - [select for diffs], Wed Jun 4 02:04:56 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.85: +30 -5 lines
Diff to previous 1.85 (colored) to selected 1.79.16.1 (colored)

sync with head

Revision 1.84.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:22:43 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.84: +39 -16 lines
Diff to previous 1.84 (colored) to selected 1.79.16.1 (colored)

Sync with HEAD.

Revision 1.87 / (download) - annotate - [select for diffs], Fri May 30 02:29:37 2008 UTC (15 years, 10 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-pf42-base3
Branch point for: simonb-wapbl
Changes since 1.86: +28 -3 lines
Diff to previous 1.86 (colored) to selected 1.79.16.1 (colored)

convert the rest of my licenses to 2-clause, extracting myself out
from a group as necessary.

bozohttpd remains, but it will get fixed next time i update it.

Revision 1.86 / (download) - annotate - [select for diffs], Sun May 18 22:40:14 2008 UTC (15 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: hpcarm-cleanup-nbase
Changes since 1.85: +4 -4 lines
Diff to previous 1.85 (colored) to selected 1.79.16.1 (colored)

Explicitly pass a "mpsafe" arg down to intr_establish, as at that point
we do not have the original ipl passed in around to check for mpsafeness.
Fixes PR port-sparc64/38673. Thanks to Andrew for pointing at the problem.

Revision 1.85 / (download) - annotate - [select for diffs], Sat Apr 5 13:40:05 2008 UTC (16 years ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base2, yamt-pf42-base, yamt-nfs-mp-base2, yamt-nfs-mp-base
Branch point for: yamt-pf42, yamt-nfs-mp, wrstuden-revivesa
Changes since 1.84: +11 -13 lines
Diff to previous 1.84 (colored) to selected 1.79.16.1 (colored)

use aprint_*_dev and device_xname
OK martin

Revision 1.80.20.2 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:23 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.80.20.1: +7 -7 lines
Diff to previous 1.80.20.1 (colored) to branchpoint 1.80 (colored) next main 1.81 (colored) to selected 1.79.16.1 (colored)

sync with HEAD

Revision 1.74.2.5 / (download) - annotate - [select for diffs], Wed Feb 27 08:36:25 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.74.2.4: +7 -7 lines
Diff to previous 1.74.2.4 (colored) to branchpoint 1.74 (colored) next main 1.75 (colored) to selected 1.79.16.1 (colored)

sync with head.

Revision 1.80.26.2 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:06 2008 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.80.26.1: +8 -8 lines
Diff to previous 1.80.26.1 (colored) to branchpoint 1.80 (colored) next main 1.81 (colored) to selected 1.79.16.1 (colored)

Sync with HEAD.

Revision 1.84 / (download) - annotate - [select for diffs], Sat Feb 16 23:26:05 2008 UTC (16 years, 2 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, ad-socklock-base1
Branch point for: mjf-devfs2
Changes since 1.83: +7 -7 lines
Diff to previous 1.83 (colored) to selected 1.79.16.1 (colored)

Use aprint_* instead of printf during attach.

Revision 1.74.2.4 / (download) - annotate - [select for diffs], Mon Jan 21 09:39:30 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.74.2.3: +3 -3 lines
Diff to previous 1.74.2.3 (colored) to branchpoint 1.74 (colored) to selected 1.79.16.1 (colored)

sync with head

Revision 1.80.20.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:49:03 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.80: +32 -14 lines
Diff to previous 1.80 (colored) to selected 1.79.16.1 (colored)

sync with HEAD

Revision 1.82.6.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:50:29 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.82: +3 -3 lines
Diff to previous 1.82 (colored) next main 1.83 (colored) to selected 1.79.16.1 (colored)

Sync with HEAD

Revision 1.83 / (download) - annotate - [select for diffs], Sun Dec 30 12:54:23 2007 UTC (16 years, 3 months ago) by jdc
Branch: MAIN
CVS Tags: matt-armv6-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Changes since 1.82: +3 -3 lines
Diff to previous 1.82 (colored) to selected 1.79.16.1 (colored)

Make extent mapping error more meaningful.  OK martin@.

Revision 1.80.26.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:17:56 2007 UTC (16 years, 4 months ago) by mjf
Branch: mjf-devfs
Changes since 1.80: +31 -13 lines
Diff to previous 1.80 (colored) to selected 1.79.16.1 (colored)

Sync with HEAD.

Revision 1.74.2.3 / (download) - annotate - [select for diffs], Fri Dec 7 17:26:25 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.74.2.2: +31 -13 lines
Diff to previous 1.74.2.2 (colored) to branchpoint 1.74 (colored) to selected 1.79.16.1 (colored)

sync with head

Revision 1.80.2.1 / (download) - annotate - [select for diffs], Mon Dec 3 18:39:25 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.80: +31 -13 lines
Diff to previous 1.80 (colored) next main 1.81 (colored) to selected 1.79.16.1 (colored)

Sync with HEAD.

Revision 1.80.18.2 / (download) - annotate - [select for diffs], Mon Dec 3 16:14:17 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.80.18.1: +20 -12 lines
Diff to previous 1.80.18.1 (colored) to branchpoint 1.80 (colored) next main 1.81 (colored) to selected 1.79.16.1 (colored)

Sync with HEAD.

Revision 1.82 / (download) - annotate - [select for diffs], Mon Dec 3 14:13:18 2007 UTC (16 years, 4 months ago) by rafal
Branch: MAIN
CVS Tags: 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, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: bouyer-xeni386
Changes since 1.81: +20 -12 lines
Diff to previous 1.81 (colored) to selected 1.79.16.1 (colored)

Clear interrupts as they are established, rearrange interrupt-mapping code
to make sure PCI slot 0 interrupt doesn't accidentally match the (unused)
PCI error interrupt.

Fixes kern/25462 at least on my Netra T1 ac200.
From OpenBSD; ok martin@

Revision 1.80.18.1 / (download) - annotate - [select for diffs], Wed Nov 21 21:53:32 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.80: +13 -3 lines
Diff to previous 1.80 (colored) to selected 1.79.16.1 (colored)

Sync with HEAD.

Revision 1.80.24.1 / (download) - annotate - [select for diffs], Wed Nov 21 21:19:22 2007 UTC (16 years, 4 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.80: +13 -3 lines
Diff to previous 1.80 (colored) next main 1.81 (colored) to selected 1.79.16.1 (colored)

Sync with HEAD

Revision 1.81 / (download) - annotate - [select for diffs], Mon Nov 19 02:45:50 2007 UTC (16 years, 5 months ago) by macallan
Branch: MAIN
CVS Tags: bouyer-xenamd64-base2, bouyer-xenamd64-base
Changes since 1.80: +13 -3 lines
Diff to previous 1.80 (colored) to selected 1.79.16.1 (colored)

put the physical address of each psycho's memory range into a device
property so we can look it up in device_register() later on
ok'ed by martin

Revision 1.74.2.2 / (download) - annotate - [select for diffs], Mon Sep 3 14:30:16 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.74.2.1: +6 -6 lines
Diff to previous 1.74.2.1 (colored) to branchpoint 1.74 (colored) to selected 1.79.16.1 (colored)

sync with head.

Revision 1.79.16.1 / (download) - annotate - [selected], Mon Mar 12 05:50:46 2007 UTC (17 years, 1 month ago) by rmind
Branch: yamt-idlelwp
Changes since 1.79: +6 -6 lines
Diff to previous 1.79 (colored) next main 1.80 (colored)

Sync with HEAD.

Revision 1.80 / (download) - annotate - [select for diffs], Sun Mar 4 06:00:49 2007 UTC (17 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-idlelwp-base8, vmlocking-base, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, ppcoea-renovation-base, ppcoea-renovation, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, jmcneill-base, hpcarm-cleanup
Branch point for: vmlocking, mjf-devfs, matt-armv6, jmcneill-pm, bouyer-xenamd64
Changes since 1.79: +6 -6 lines
Diff to previous 1.79 (colored) to selected 1.79.16.1 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.75.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:43:36 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.75: +91 -178 lines
Diff to previous 1.75 (colored) next main 1.76 (colored) to selected 1.79.16.1 (colored)

sync with head

Revision 1.74.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:56:40 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.74: +91 -178 lines
Diff to previous 1.74 (colored) to selected 1.79.16.1 (colored)

sync with head.

Revision 1.76.2.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:37:59 2006 UTC (17 years, 11 months ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.76: +89 -176 lines
Diff to previous 1.76 (colored) next main 1.77 (colored) to selected 1.79.16.1 (colored)

Sync with head.

Revision 1.78.4.1 / (download) - annotate - [select for diffs], Wed Apr 19 02:33:45 2006 UTC (18 years ago) by elad
Branch: elad-kernelauth
Changes since 1.78: +4 -4 lines
Diff to previous 1.78 (colored) next main 1.79 (colored) to selected 1.79.16.1 (colored)

sync with head - hopefully this will work

Revision 1.78.2.1 / (download) - annotate - [select for diffs], Mon Mar 13 09:07:02 2006 UTC (18 years, 1 month ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.78: +4 -4 lines
Diff to previous 1.78 (colored) next main 1.79 (colored) to selected 1.79.16.1 (colored)

sync with head.

Revision 1.79 / (download) - annotate - [select for diffs], Wed Mar 8 23:46:24 2006 UTC (18 years, 1 month ago) by lukem
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, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, post-newlock2-merge, peter-altq-base, peter-altq, newlock2-nbase, newlock2-base, newlock2, 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, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-idlelwp
Changes since 1.78: +4 -4 lines
Diff to previous 1.78 (colored) to selected 1.79.16.1 (colored)

Use the SI capitalization for "Hz", "kHz", and "MHz" in comments and strings.
Add a space between numbers and Hz unit.

Revision 1.75.2.2 / (download) - annotate - [select for diffs], Wed Mar 1 09:28:03 2006 UTC (18 years, 1 month ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.75.2.1: +3 -3 lines
Diff to previous 1.75.2.1 (colored) next main 1.76 (colored) to selected 1.79.16.1 (colored)

sync with head.

Revision 1.78 / (download) - annotate - [select for diffs], Sat Feb 25 02:28:57 2006 UTC (18 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base
Branch point for: yamt-pdpolicy, elad-kernelauth
Changes since 1.77: +3 -3 lines
Diff to previous 1.77 (colored) to selected 1.79.16.1 (colored)

Fix some typos.

Revision 1.75.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 15:38:48 2006 UTC (18 years, 2 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.75: +88 -175 lines
Diff to previous 1.75 (colored) to selected 1.79.16.1 (colored)

sync with head.

Revision 1.77 / (download) - annotate - [select for diffs], Mon Feb 13 21:47:12 2006 UTC (18 years, 2 months ago) by cdi
Branch: MAIN
Changes since 1.76: +86 -173 lines
Diff to previous 1.76 (colored) to selected 1.79.16.1 (colored)

ANSIfy: u_intN_t -> uintN_t, remove __P(), fix function definitions.

Revision 1.76 / (download) - annotate - [select for diffs], Wed Feb 1 20:21:38 2006 UTC (18 years, 2 months ago) by martin
Branch: MAIN
Branch point for: simonb-timecounters
Changes since 1.75: +4 -4 lines
Diff to previous 1.75 (colored) to selected 1.79.16.1 (colored)

Do not assume the bootstrap CPU has UPA id 0 - on some machines it hasn't.
Explicitly route all interrupts to the current cpu for now, we'll revisit
this when SMP is working.
Problem spotted and analyzed by Stephan Meisinger, fix inspired by FreeBSD.

Revision 1.75 / (download) - annotate - [select for diffs], Sun Dec 11 12:19:09 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
Branch point for: yamt-uio_vmspace, rpaulo-netinet-merge-pcb
Changes since 1.74: +2 -2 lines
Diff to previous 1.74 (colored) to selected 1.79.16.1 (colored)

merge ktrace-lwp.

Revision 1.63.2.5 / (download) - annotate - [select for diffs], Thu Nov 10 13:59:18 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.63.2.4: +12 -12 lines
Diff to previous 1.63.2.4 (colored) next main 1.64 (colored) to selected 1.79.16.1 (colored)

Sync with HEAD. Here we go again...

Revision 1.74 / (download) - annotate - [select for diffs], Tue May 31 00:50:28 2005 UTC (18 years, 10 months ago) by christos
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
Branch point for: yamt-lazymbuf
Changes since 1.73: +12 -12 lines
Diff to previous 1.73 (colored) to selected 1.79.16.1 (colored)

- sprinkle const
- avoid variable shadow

Revision 1.63.2.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:22:41 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.63.2.3: +2 -2 lines
Diff to previous 1.63.2.3 (colored) to selected 1.79.16.1 (colored)

Fix the sync with head I botched.

Revision 1.63.2.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:41:04 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.63.2.2: +2 -2 lines
Diff to previous 1.63.2.2 (colored) to selected 1.79.16.1 (colored)

Sync with HEAD.

Revision 1.63.2.2 / (download) - annotate - [select for diffs], Fri Sep 3 12:45:08 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.63.2.1: +3 -4 lines
Diff to previous 1.63.2.1 (colored) to selected 1.79.16.1 (colored)

Sync with HEAD

Revision 1.73 / (download) - annotate - [select for diffs], Mon Aug 30 15:05:19 2004 UTC (19 years, 7 months ago) by drochner
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
Changes since 1.72: +3 -4 lines
Diff to previous 1.72 (colored) to selected 1.79.16.1 (colored)

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.63.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:41:24 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.63: +86 -36 lines
Diff to previous 1.63 (colored) to selected 1.79.16.1 (colored)

Sync with HEAD

Revision 1.72 / (download) - annotate - [select for diffs], Sun Mar 28 09:31:21 2004 UTC (20 years ago) by nakayama
Branch: 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
Changes since 1.71: +3 -3 lines
Diff to previous 1.71 (colored) to selected 1.79.16.1 (colored)

Set prom_getprop args correctly.

Revision 1.71 / (download) - annotate - [select for diffs], Mon Mar 22 12:21:58 2004 UTC (20 years ago) by nakayama
Branch: MAIN
Changes since 1.70: +8 -5 lines
Diff to previous 1.70 (colored) to selected 1.79.16.1 (colored)

Make 32-bit kernels compile with options DEBUG.

Revision 1.70 / (download) - annotate - [select for diffs], Sun Mar 21 12:50:14 2004 UTC (20 years, 1 month ago) by martin
Branch: MAIN
Changes since 1.69: +9 -5 lines
Diff to previous 1.69 (colored) to selected 1.79.16.1 (colored)

Make sure prom_getprop is called with the size pointed to by nitem
initialized. (Some of these are more paranoia, but two were actual bugs.)
Print error codes in some panic messages.

Revision 1.69 / (download) - annotate - [select for diffs], Wed Mar 17 17:04:59 2004 UTC (20 years, 1 month ago) by pk
Branch: MAIN
Changes since 1.68: +13 -13 lines
Diff to previous 1.68 (colored) to selected 1.79.16.1 (colored)

Rename PROM_getprop*() => prom_getprop*().

Revision 1.68 / (download) - annotate - [select for diffs], Wed Jan 21 07:16:07 2004 UTC (20 years, 3 months ago) by petrov
Branch: MAIN
Changes since 1.67: +52 -4 lines
Diff to previous 1.67 (colored) to selected 1.79.16.1 (colored)

For pci devices without ofw mapping find ino by pci bus/slot/device
information, from OpenBSD.

Revision 1.67 / (download) - annotate - [select for diffs], Sun Nov 9 14:28:56 2003 UTC (20 years, 5 months ago) by martin
Branch: MAIN
Changes since 1.66: +4 -4 lines
Diff to previous 1.66 (colored) to selected 1.79.16.1 (colored)

Nuke bcopy/bzero.

Revision 1.66 / (download) - annotate - [select for diffs], Wed Aug 27 15:59:54 2003 UTC (20 years, 7 months ago) by mrg
Branch: MAIN
Changes since 1.65: +6 -6 lines
Diff to previous 1.65 (colored) to selected 1.79.16.1 (colored)

change PROM_getprop() from taking a "void **" for the storage, to a
"void *", and do the extra de-reference directly in the function.  this
avoids having to cast dozens of different types to "void **", which sets
of GCC3's strict-aliasing.  testing by martin@

Revision 1.65 / (download) - annotate - [select for diffs], Fri Aug 22 00:46:25 2003 UTC (20 years, 8 months ago) by petrov
Branch: MAIN
Changes since 1.64: +13 -21 lines
Diff to previous 1.64 (colored) to selected 1.79.16.1 (colored)

Don't set and check absent interrupts on sabre.

Revision 1.64 / (download) - annotate - [select for diffs], Tue Jul 15 03:36:06 2003 UTC (20 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.63: +4 -1 lines
Diff to previous 1.63 (colored) to selected 1.79.16.1 (colored)

__KERNEL_RCSID()

Revision 1.63 / (download) - annotate - [select for diffs], Sun Jun 15 23:09:06 2003 UTC (20 years, 10 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.62: +2 -1 lines
Diff to previous 1.62 (colored) to selected 1.79.16.1 (colored)

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 1.62 / (download) - annotate - [select for diffs], Sat May 17 01:38:39 2003 UTC (20 years, 11 months ago) by nakayama
Branch: MAIN
Changes since 1.61: +4 -4 lines
Diff to previous 1.61 (colored) to selected 1.79.16.1 (colored)

Avoid strict-alias warnings in gcc 3.3.

Revision 1.61 / (download) - annotate - [select for diffs], Sat May 3 18:11:02 2003 UTC (20 years, 11 months ago) by wiz
Branch: MAIN
Changes since 1.60: +5 -5 lines
Diff to previous 1.60 (colored) to selected 1.79.16.1 (colored)

DMA, not dma nor Dma.

Revision 1.60 / (download) - annotate - [select for diffs], Mon Apr 21 12:14:20 2003 UTC (21 years ago) by martin
Branch: MAIN
Changes since 1.59: +48 -4 lines
Diff to previous 1.59 (colored) to selected 1.79.16.1 (colored)

Connect the front panel power button on psycho based machines to sysmon's
/dev/power.

XXX - due to the way interrupt handling is structured we have no easy
way to defer clearing the button interrupt until the sysmon callback
has  happened and the event is dispatched. We clear it imediately on
return from the interrupt handler. This means we get an interrupt storm
until the button is released, and then start to handle it.
This needs to be fixed! (But with the default application for the power
button does not make a user visible difference.)

Revision 1.59 / (download) - annotate - [select for diffs], Tue Apr 1 16:34:58 2003 UTC (21 years ago) by thorpej
Branch: MAIN
Changes since 1.58: +3 -3 lines
Diff to previous 1.58 (colored) to selected 1.79.16.1 (colored)

Use PAGE_SIZE rather than NBPG.

Revision 1.58 / (download) - annotate - [select for diffs], Sat Mar 22 06:33:09 2003 UTC (21 years, 1 month ago) by nakayama
Branch: MAIN
Changes since 1.57: +173 -27 lines
Diff to previous 1.57 (colored) to selected 1.79.16.1 (colored)

PCI-CardBus bridge support for sparc64:
- handle devices which has no OBP node.
- move PCI latency-timer initialization from pci_intr_map to
  pci_enumerate_bus.
- make PCI bus free space extents for cardbus devices.
- fix PCI config space map size.
- some code integrations.

Revision 1.39.4.7 / (download) - annotate - [select for diffs], Wed Dec 11 06:12:23 2002 UTC (21 years, 4 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.39.4.6: +38 -40 lines
Diff to previous 1.39.4.6 (colored) to branchpoint 1.39 (colored) next main 1.40 (colored) to selected 1.79.16.1 (colored)

Sync with HEAD.

Revision 1.57 / (download) - annotate - [select for diffs], Tue Dec 10 13:44:51 2002 UTC (21 years, 4 months ago) by pk
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.56: +3 -4 lines
Diff to previous 1.56 (colored) to selected 1.79.16.1 (colored)

Remove the `flags' argument from bus_intr_establish().

Revision 1.56 / (download) - annotate - [select for diffs], Tue Dec 10 12:24:05 2002 UTC (21 years, 4 months ago) by pk
Branch: MAIN
Changes since 1.55: +37 -38 lines
Diff to previous 1.55 (colored) to selected 1.79.16.1 (colored)

bus_intr_establish() signature change.
The additional `fast trap' argument is ignored in these drivers.
BUS_INTR_ESTABLISH_FASTTRAP and BUS_INTR_ESTABLISH_SOFTINTR are no longer used.

Revision 1.39.4.6 / (download) - annotate - [select for diffs], Fri Oct 18 02:40:05 2002 UTC (21 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.39.4.5: +5 -6 lines
Diff to previous 1.39.4.5 (colored) to branchpoint 1.39 (colored) to selected 1.79.16.1 (colored)

Catch up to -current.

Revision 1.33.2.8 / (download) - annotate - [select for diffs], Thu Oct 10 18:36:34 2002 UTC (21 years, 6 months ago) by jdolecek
Branch: kqueue
Changes since 1.33.2.7: +5 -6 lines
Diff to previous 1.33.2.7 (colored) next main 1.34 (colored) to selected 1.79.16.1 (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.55 / (download) - annotate - [select for diffs], Wed Oct 2 16:02:19 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge
Changes since 1.54: +2 -2 lines
Diff to previous 1.54 (colored) to selected 1.79.16.1 (colored)

Add trailing ; to CFATTACH_DECL.

Revision 1.54 / (download) - annotate - [select for diffs], Tue Oct 1 18:40:07 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.53: +3 -4 lines
Diff to previous 1.53 (colored) to selected 1.79.16.1 (colored)

Use CFATTACH_DECL().

Revision 1.53 / (download) - annotate - [select for diffs], Fri Sep 27 20:36:10 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.52: +2 -2 lines
Diff to previous 1.52 (colored) to selected 1.79.16.1 (colored)

Declare all cfattach structures const.

Revision 1.52 / (download) - annotate - [select for diffs], Fri Sep 27 15:36:49 2002 UTC (21 years, 6 months ago) by provos
Branch: MAIN
Changes since 1.51: +3 -3 lines
Diff to previous 1.51 (colored) to selected 1.79.16.1 (colored)

remove trailing \n in panic().  approved perry.

Revision 1.33.2.7 / (download) - annotate - [select for diffs], Fri Sep 6 08:41:27 2002 UTC (21 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.33.2.6: +55 -26 lines
Diff to previous 1.33.2.6 (colored) to selected 1.79.16.1 (colored)

sync kqueue branch with HEAD

Revision 1.39.4.5 / (download) - annotate - [select for diffs], Thu Aug 1 02:43:37 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.39.4.4: +55 -26 lines
Diff to previous 1.39.4.4 (colored) to branchpoint 1.39 (colored) to selected 1.79.16.1 (colored)

Catch up to -current.

Revision 1.47.2.4 / (download) - annotate - [select for diffs], Wed Jul 17 02:11:29 2002 UTC (21 years, 9 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.47.2.3: +55 -26 lines
Diff to previous 1.47.2.3 (colored) next main 1.48 (colored) to selected 1.79.16.1 (colored)

catch up with -current.

Revision 1.47.2.3 / (download) - annotate - [select for diffs], Mon Jul 15 01:21:43 2002 UTC (21 years, 9 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.47.2.2: +3 -3 lines
Diff to previous 1.47.2.2 (colored) to selected 1.79.16.1 (colored)

catch up with -current.

Revision 1.33.2.6 / (download) - annotate - [select for diffs], Sun Jun 23 17:42:08 2002 UTC (21 years, 9 months ago) by jdolecek
Branch: kqueue
Changes since 1.33.2.5: +87 -68 lines
Diff to previous 1.33.2.5 (colored) to selected 1.79.16.1 (colored)

catch up with -current on kqueue branch

Revision 1.48.2.3 / (download) - annotate - [select for diffs], Fri Jun 21 06:33:11 2002 UTC (21 years, 10 months ago) by lukem
Branch: netbsd-1-6
CVS Tags: 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
Changes since 1.48.2.2: +13 -2 lines
Diff to previous 1.48.2.2 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored) to selected 1.79.16.1 (colored)

Pull up revision 1.51 (requested by eeh in ticket #338):
The FFB interrupt mapping registers need to compare IGN as well as INO since
they are totally programmable.

Revision 1.48.2.2 / (download) - annotate - [select for diffs], Fri Jun 21 06:26:12 2002 UTC (21 years, 10 months ago) by lukem
Branch: netbsd-1-6
Changes since 1.48.2.1: +43 -25 lines
Diff to previous 1.48.2.1 (colored) to branchpoint 1.48 (colored) to selected 1.79.16.1 (colored)

Pull up revision 1.50 (requested by eeh in ticket #337):
Overhaul streaming buffer handling:
	sysio streaming buffer flushes write a single 8-byte aligned 8-byte
	value.
	psycho streaming buffer flushes write a 64-byte aligned 64-byte block.
So separate out the streaming buffers into their own structure and pass those
in to all iommu operations.  This also means we only flush the correct
streaming buffer for psycho rather than needing to flush both just in case.
[Gets E220R working]

Revision 1.51 / (download) - annotate - [select for diffs], Fri Jun 21 02:48:42 2002 UTC (21 years, 10 months ago) by eeh
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.50: +13 -2 lines
Diff to previous 1.50 (colored) to selected 1.79.16.1 (colored)

The FFB interrupt mapping registers need to compare IGN as well as INO since
they are totally programmable.

Revision 1.50 / (download) - annotate - [select for diffs], Thu Jun 20 18:26:24 2002 UTC (21 years, 10 months ago) by eeh
Branch: MAIN
Changes since 1.49: +43 -25 lines
Diff to previous 1.49 (colored) to selected 1.79.16.1 (colored)

Overhaul streaming buffer handling:

	sysio streaming buffer flushes write a single 8-byte aligned 8-byte
	value.

	psycho streaming buffer flushes write a 64-byte aligned 64-byte block.

So separate out the streaming buffers into their own structure and pass those
in to all iommu operations.  This also means we only flush the correct
streaming buffer for psycho rather than needing to flush both just in case.

Revision 1.39.4.4 / (download) - annotate - [select for diffs], Thu Jun 20 03:41:22 2002 UTC (21 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.39.4.3: +6 -5 lines
Diff to previous 1.39.4.3 (colored) to branchpoint 1.39 (colored) to selected 1.79.16.1 (colored)

Catch up to -current.

Revision 1.48.2.1 / (download) - annotate - [select for diffs], Wed Jun 12 01:28:09 2002 UTC (21 years, 10 months ago) by lukem
Branch: netbsd-1-6
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored) to selected 1.79.16.1 (colored)

Pull up revision 1.49 (requested by eeh in ticket #254):
Use the correct bus handle to generate the handle for the streaming buffers.

Revision 1.49 / (download) - annotate - [select for diffs], Wed Jun 12 00:43:22 2002 UTC (21 years, 10 months ago) by eeh
Branch: MAIN
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored) to selected 1.79.16.1 (colored)

Use the correct bus handle to generate the handle for the streaming buffers.

Revision 1.47.2.2 / (download) - annotate - [select for diffs], Thu May 30 15:35:49 2002 UTC (21 years, 10 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.47.2.1: +1218 -0 lines
Diff to previous 1.47.2.1 (colored) to selected 1.79.16.1 (colored)

Catch up with -current.

Revision 1.48 / (download) - annotate - [select for diffs], Thu May 16 20:28:33 2002 UTC (21 years, 11 months ago) by eeh
Branch: MAIN
CVS Tags: netbsd-1-6-base
Branch point for: netbsd-1-6
Changes since 1.47: +2 -2 lines
Diff to previous 1.47 (colored) to selected 1.79.16.1 (colored)

Make the PCI code actually work.

Revision 1.47.2.1, Thu May 16 01:01:45 2002 UTC (21 years, 11 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.47: +0 -1218 lines
FILE REMOVED

file psycho.c was added on branch gehenna-devsw on 2002-05-30 15:35:49 +0000

Revision 1.47 / (download) - annotate - [select for diffs], Thu May 16 01:01:45 2002 UTC (21 years, 11 months ago) by thorpej
Branch: MAIN
Branch point for: gehenna-devsw
Changes since 1.46: +9 -17 lines
Diff to previous 1.46 (colored) to selected 1.79.16.1 (colored)

* 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 1.46 / (download) - annotate - [select for diffs], Mon May 6 22:29:22 2002 UTC (21 years, 11 months ago) by eeh
Branch: MAIN
Changes since 1.45: +19 -10 lines
Diff to previous 1.45 (colored) to selected 1.79.16.1 (colored)

Add code to attach ofpci.

Revision 1.39.4.3 / (download) - annotate - [select for diffs], Mon Apr 1 07:43:04 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.39.4.2: +86 -66 lines
Diff to previous 1.39.4.2 (colored) to branchpoint 1.39 (colored) to selected 1.79.16.1 (colored)

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

Revision 1.45 / (download) - annotate - [select for diffs], Wed Mar 20 18:54:47 2002 UTC (22 years, 1 month ago) by eeh
Branch: MAIN
CVS Tags: eeh-devprop-base, eeh-devprop
Changes since 1.44: +59 -42 lines
Diff to previous 1.44 (colored) to selected 1.79.16.1 (colored)

Overhaul bus space.

bus_space_handle_t now holds an address and two ASIs, one for normal accesses
and one for streaming accesses.  This allows to map individual handles
different ways, so some can use MMU bypass accesses and others use virtual
addresses.  bus_space_map() will now create handles that use bypass accesses
unles BUS_SPACE_MAP_LINEAR is passed in.  So only pass in BUS_SPACE_MAP_LINEAR
if you absolutely *need* to use bus_space_vaddr().  This removes at least one
extra level of indirection and should reduce TLB misses.

32-bit kernels have problems accessing 64-bit addresses, so they always use
virtual addresses.

Revision 1.33.2.5 / (download) - annotate - [select for diffs], Sat Mar 16 15:59:57 2002 UTC (22 years, 1 month ago) by jdolecek
Branch: kqueue
Changes since 1.33.2.4: +17 -3 lines
Diff to previous 1.33.2.4 (colored) to selected 1.79.16.1 (colored)

Catch up with -current.

Revision 1.44 / (download) - annotate - [select for diffs], Fri Mar 15 07:06:24 2002 UTC (22 years, 1 month ago) by eeh
Branch: MAIN
Changes since 1.43: +29 -28 lines
Diff to previous 1.43 (colored) to selected 1.79.16.1 (colored)

Get PCI working with the new bus_space*.

Revision 1.43 / (download) - annotate - [select for diffs], Fri Mar 8 06:03:50 2002 UTC (22 years, 1 month ago) by chs
Branch: MAIN
CVS Tags: newlock-base, newlock
Changes since 1.42: +3 -1 lines
Diff to previous 1.42 (colored) to selected 1.79.16.1 (colored)

make this compile without DDB.

Revision 1.39.4.2 / (download) - annotate - [select for diffs], Thu Feb 28 04:12:11 2002 UTC (22 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.39.4.1: +1197 -0 lines
Diff to previous 1.39.4.1 (colored) to branchpoint 1.39 (colored) to selected 1.79.16.1 (colored)

Catch up to -current.

Revision 1.42 / (download) - annotate - [select for diffs], Tue Feb 12 20:50:47 2002 UTC (22 years, 2 months ago) by martin
Branch: MAIN
CVS Tags: ifpoll-base
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (colored) to selected 1.79.16.1 (colored)

Cast/format fix to make this build on 32bit kernels.

Revision 1.33.2.4 / (download) - annotate - [select for diffs], Mon Feb 11 20:09:10 2002 UTC (22 years, 2 months ago) by jdolecek
Branch: kqueue
Changes since 1.33.2.3: +24 -1 lines
Diff to previous 1.33.2.3 (colored) to selected 1.79.16.1 (colored)

Sync w/ -current.

Revision 1.41 / (download) - annotate - [select for diffs], Fri Feb 8 20:04:14 2002 UTC (22 years, 2 months ago) by eeh
Branch: MAIN
Changes since 1.40: +15 -3 lines
Diff to previous 1.40 (colored) to selected 1.79.16.1 (colored)

Provide more info in psycho_ue.

Revision 1.40 / (download) - annotate - [select for diffs], Mon Jan 14 16:30:31 2002 UTC (22 years, 3 months ago) by eeh
Branch: MAIN
Changes since 1.39: +24 -1 lines
Diff to previous 1.39 (colored) to selected 1.79.16.1 (colored)

Set the interrupt retry timer to 0xff.

Revision 1.33.2.3 / (download) - annotate - [select for diffs], Thu Jan 10 19:49:17 2002 UTC (22 years, 3 months ago) by thorpej
Branch: kqueue
Changes since 1.33.2.2: +43 -34 lines
Diff to previous 1.33.2.2 (colored) to selected 1.79.16.1 (colored)

Sync kqueue branch with -current.

Revision 1.34.2.2 / (download) - annotate - [select for diffs], Thu Oct 11 00:01:54 2001 UTC (22 years, 6 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.34.2.1: +17 -13 lines
Diff to previous 1.34.2.1 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored) to selected 1.79.16.1 (colored)

Catch up with -current. Fix some bogons in the sparc64 kbd/ms
attach code. cd18xx conversion provided by mrg.

Revision 1.39.4.1, Sun Oct 7 20:30:41 2001 UTC (22 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.39: +0 -1162 lines
FILE REMOVED

file psycho.c was added on branch nathanw_sa on 2002-02-28 04:12:11 +0000

Revision 1.39 / (download) - annotate - [select for diffs], Sun Oct 7 20:30:41 2001 UTC (22 years, 6 months ago) by eeh
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3
Branch point for: nathanw_sa
Changes since 1.38: +17 -13 lines
Diff to previous 1.38 (colored) to selected 1.79.16.1 (colored)

Manage both streaming caches on psycho/psycho+.

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:42:23 2001 UTC (22 years, 6 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.34: +69 -38 lines
Diff to previous 1.34 (colored) to selected 1.79.16.1 (colored)

Catch up with -current.

Revision 1.38 / (download) - annotate - [select for diffs], Wed Sep 26 20:53:11 2001 UTC (22 years, 6 months ago) by eeh
Branch: MAIN
CVS Tags: thorpej-devvp-base2
Changes since 1.37: +9 -9 lines
Diff to previous 1.37 (colored) to selected 1.79.16.1 (colored)

getprop* -> PROM_getprop*

Revision 1.37 / (download) - annotate - [select for diffs], Mon Sep 24 23:49:32 2001 UTC (22 years, 6 months ago) by eeh
Branch: MAIN
Changes since 1.36: +12 -11 lines
Diff to previous 1.36 (colored) to selected 1.79.16.1 (colored)

Change bus_space_mmap() signature to the official one.

Revision 1.36 / (download) - annotate - [select for diffs], Sat Sep 15 07:10:04 2001 UTC (22 years, 7 months ago) by eeh
Branch: MAIN
CVS Tags: pre-chs-ubcperf, post-chs-ubcperf
Changes since 1.35: +9 -5 lines
Diff to previous 1.35 (colored) to selected 1.79.16.1 (colored)

Be a bit more elaborate with UE DMA errors.

Revision 1.33.2.2 / (download) - annotate - [select for diffs], Thu Sep 13 01:14:40 2001 UTC (22 years, 7 months ago) by thorpej
Branch: kqueue
Changes since 1.33.2.1: +44 -18 lines
Diff to previous 1.33.2.1 (colored) to selected 1.79.16.1 (colored)

Update the kqueue branch to HEAD.

Revision 1.35 / (download) - annotate - [select for diffs], Mon Sep 10 16:17:06 2001 UTC (22 years, 7 months ago) by eeh
Branch: MAIN
Changes since 1.34: +44 -18 lines
Diff to previous 1.34 (colored) to selected 1.79.16.1 (colored)

Sun Blade 100 support (and some psycho fixes from Jason Wright).

Revision 1.33.2.1 / (download) - annotate - [select for diffs], Fri Aug 3 04:12:26 2001 UTC (22 years, 8 months ago) by lukem
Branch: kqueue
Changes since 1.33: +385 -417 lines
Diff to previous 1.33 (colored) to selected 1.79.16.1 (colored)

update to -current

Revision 1.34 / (download) - annotate - [select for diffs], Fri Jul 20 00:07:13 2001 UTC (22 years, 9 months ago) by eeh
Branch: MAIN
CVS Tags: thorpej-devvp-base
Branch point for: thorpej-devvp
Changes since 1.33: +385 -417 lines
Diff to previous 1.33 (colored) to selected 1.79.16.1 (colored)

PCI overhaul.

Revision 1.30.2.2 / (download) - annotate - [select for diffs], Thu Jun 21 19:35:44 2001 UTC (22 years, 10 months ago) by nathanw
Changes since 1.30.2.1: +8 -13 lines
Diff to previous 1.30.2.1 (colored) next main 1.31 (colored) to selected 1.79.16.1 (colored)

Catch up to -current.

Revision 1.33 / (download) - annotate - [select for diffs], Fri May 18 22:01:19 2001 UTC (22 years, 11 months ago) by mrg
Branch: MAIN
Branch point for: kqueue
Changes since 1.32: +8 -13 lines
Diff to previous 1.32 (colored) to selected 1.79.16.1 (colored)

minor cleanups.

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Mon Apr 9 01:55:01 2001 UTC (23 years ago) by nathanw
Changes since 1.30: +34 -34 lines
Diff to previous 1.30 (colored) to selected 1.79.16.1 (colored)

Catch up with -current.

Revision 1.2.2.6 / (download) - annotate - [select for diffs], Tue Mar 27 15:31:34 2001 UTC (23 years ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.2.2.5: +19 -8 lines
Diff to previous 1.2.2.5 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored) to selected 1.79.16.1 (colored)

Sync with HEAD.

Revision 1.32 / (download) - annotate - [select for diffs], Wed Mar 21 01:33:47 2001 UTC (23 years, 1 month ago) by mrg
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Changes since 1.31: +19 -8 lines
Diff to previous 1.31 (colored) to selected 1.79.16.1 (colored)

adapt to systems with out interrupt-map & interrupt-map-mask properties.

Revision 1.2.2.5 / (download) - annotate - [select for diffs], Mon Mar 12 13:29:28 2001 UTC (23 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.2.2.4: +26 -38 lines
Diff to previous 1.2.2.4 (colored) to branchpoint 1.2 (colored) to selected 1.79.16.1 (colored)

Sync with HEAD.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Mar 6 08:09:16 2001 UTC (23 years, 1 month ago) by mrg
Branch: MAIN
Changes since 1.30: +16 -27 lines
Diff to previous 1.30 (colored) to selected 1.79.16.1 (colored)

rework pci_attach_hook() to just deal with the INO, not the full
interrupt number.  properly find interrupts for the E250.  modify
pci_intr_map() accordingly.  retire psycho_intr_map().  deal with
INO values upto 0x3f, not upto 0x32.  restructure sabre_init() and
psycho_init() to be more similar, and display each psycho's IGN.
psycho_intr_establish() deals with INO upto 0x3f, values from 0x32
and higher get 0 for IPL.

tested on E250 & U5.

Revision 1.30 / (download) - annotate - [select for diffs], Wed Feb 28 15:21:08 2001 UTC (23 years, 1 month ago) by mrg
Branch: MAIN
Changes since 1.29: +11 -12 lines
Diff to previous 1.29 (colored) to selected 1.79.16.1 (colored)

adjust some comments to reality.

Revision 1.2.2.4 / (download) - annotate - [select for diffs], Sun Feb 11 19:12:30 2001 UTC (23 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.2.2.3: +2 -2 lines
Diff to previous 1.2.2.3 (colored) to branchpoint 1.2 (colored) to selected 1.79.16.1 (colored)

Sync with HEAD.

Revision 1.29 / (download) - annotate - [select for diffs], Sun Feb 11 00:02:58 2001 UTC (23 years, 2 months ago) by eeh
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored) to selected 1.79.16.1 (colored)

Print out more useful data if there are interrupt issues.

Revision 1.2.2.3 / (download) - annotate - [select for diffs], Fri Dec 8 09:30:33 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.2.2.2: +17 -11 lines
Diff to previous 1.2.2.2 (colored) to branchpoint 1.2 (colored) to selected 1.79.16.1 (colored)

Sync with HEAD.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Dec 4 20:29:34 2000 UTC (23 years, 4 months ago) by fvdl
Branch: MAIN
Changes since 1.27: +3 -2 lines
Diff to previous 1.27 (colored) to selected 1.79.16.1 (colored)

Make gcc like a cast.

Revision 1.27 / (download) - annotate - [select for diffs], Mon Dec 4 16:01:18 2000 UTC (23 years, 4 months ago) by fvdl
Branch: MAIN
Changes since 1.26: +16 -11 lines
Diff to previous 1.26 (colored) to selected 1.79.16.1 (colored)

Warning police. Mostly useless format warnings. Switch Makefile for
kernel compiles to the warning flags that other ports also use.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Wed Nov 22 16:01:47 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.2.2.1: +1 -52 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) to selected 1.79.16.1 (colored)

Sync with HEAD.

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 20:26:44 2000 UTC (23 years, 5 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.2: +807 -75 lines
Diff to previous 1.2 (colored) to selected 1.79.16.1 (colored)

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.26 / (download) - annotate - [select for diffs], Sat Nov 18 03:49:38 2000 UTC (23 years, 5 months ago) by mrg
Branch: MAIN
Changes since 1.25: +1 -52 lines
Diff to previous 1.25 (colored) to selected 1.79.16.1 (colored)

remove dead debugging code.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Oct 19 05:38:35 2000 UTC (23 years, 6 months ago) by mrg
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored) to selected 1.79.16.1 (colored)

add a cast to fix a warning.

Revision 1.14.2.2 / (download) - annotate - [select for diffs], Tue Jul 18 16:23:20 2000 UTC (23 years, 9 months ago) by mrg
Branch: 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, netbsd-1-5-ALPHA2
Changes since 1.14.2.1: +141 -97 lines
Diff to previous 1.14.2.1 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored) to selected 1.79.16.1 (colored)

pullup the contents of -current arch/sparc64.  this gives us significant
ultrasparc PCI support (ultra5, ultra10, AXi, and E250 tested so far),
plus many other small fixes.  netbooting is now supported.

Revision 1.24 / (download) - annotate - [select for diffs], Tue Jul 18 11:35:03 2000 UTC (23 years, 9 months ago) by pk
Branch: MAIN
CVS Tags: mrg-merge-1-5-top
Changes since 1.23: +62 -54 lines
Diff to previous 1.23 (colored) to selected 1.79.16.1 (colored)

Set up register bank sharing bwteen psycho A & B based on matching
physical addresses.  Allocate IOMMU state separately and refer to it
from both psycho_softc's.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Jul 14 15:13:35 2000 UTC (23 years, 9 months ago) by pk
Branch: MAIN
Changes since 1.22: +13 -10 lines
Diff to previous 1.22 (colored) to selected 1.79.16.1 (colored)

Use per-PBM control/status register addresses provided by the PROM.
Print version/implementation info.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Jul 12 21:49:44 2000 UTC (23 years, 9 months ago) by pk
Branch: MAIN
Changes since 1.21: +44 -23 lines
Diff to previous 1.21 (colored) to selected 1.79.16.1 (colored)

No need to fetch the psycho's own registers as thet are already passed
down from the parent bus.  Also account for the difference in `reg'
properties in psycho vs sabre chips.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Jul 9 20:57:50 2000 UTC (23 years, 9 months ago) by pk
Branch: MAIN
Changes since 1.20: +14 -6 lines
Diff to previous 1.20 (colored) to selected 1.79.16.1 (colored)

Add a `device class' interrupt level argument (from machine/intr.h)
to bus_interrupt_establish().

It's currently only used in sparc64/dev/psycho.c to assign a CPU interrupt
level to devices in PCI slots.

Revision 1.20 / (download) - annotate - [select for diffs], Fri Jul 7 12:53:30 2000 UTC (23 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored) to selected 1.79.16.1 (colored)

work around a bug passing arguments to iommu_dvma_load_raw()

Revision 1.19 / (download) - annotate - [select for diffs], Wed Jul 5 12:11:59 2000 UTC (23 years, 9 months ago) by pk
Branch: MAIN
Changes since 1.18: +8 -5 lines
Diff to previous 1.18 (colored) to selected 1.79.16.1 (colored)

We want to index the PCI `interrupt clear' registers with the Interrupt
Number Offset.  (this stuff needs a serious cleanup).

Revision 1.18 / (download) - annotate - [select for diffs], Mon Jul 3 17:42:37 2000 UTC (23 years, 9 months ago) by eeh
Branch: MAIN
Changes since 1.17: +10 -9 lines
Diff to previous 1.17 (colored) to selected 1.79.16.1 (colored)

Use the same IPLs as everyone else.

Revision 1.14.2.1 / (download) - annotate - [select for diffs], Fri Jun 30 16:27:41 2000 UTC (23 years, 9 months ago) by simonb
Branch: netbsd-1-5
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored) to selected 1.79.16.1 (colored)

Pull up mmap paddr_t/off_t changes from trunk.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Jun 29 07:37:55 2000 UTC (23 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.16: +1 -3 lines
Diff to previous 1.16 (colored) to selected 1.79.16.1 (colored)

remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>

Revision 1.16 / (download) - annotate - [select for diffs], Mon Jun 26 14:21:01 2000 UTC (23 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.15: +1 -2 lines
Diff to previous 1.15 (colored) to selected 1.79.16.1 (colored)

remove/move more mach vm header files:

	<vm/pglist.h> -> <uvm/uvm_pglist.h>
	<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
	<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
	<vm/vm_object.h> -> nothing
	<vm/vm_pager.h> -> into <uvm/uvm_pager.h>

also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Jun 26 04:56:09 2000 UTC (23 years, 9 months ago) by simonb
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored) to selected 1.79.16.1 (colored)

Change the kernel mmap interface so that the offset to map is an
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes.  Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".

Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.

Revision 1.12.2.1 / (download) - annotate - [select for diffs], Thu Jun 22 17:04:21 2000 UTC (23 years, 10 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.12: +54 -15 lines
Diff to previous 1.12 (colored) next main 1.13 (colored) to selected 1.79.16.1 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Jun 19 22:29:15 2000 UTC (23 years, 10 months ago) by eeh
Branch: MAIN
CVS Tags: netbsd-1-5-base
Branch point for: netbsd-1-5
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored) to selected 1.79.16.1 (colored)

Fix uninitialized pointer bug.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Jun 8 16:17:29 2000 UTC (23 years, 10 months ago) by eeh
Branch: MAIN
Changes since 1.12: +52 -13 lines
Diff to previous 1.12 (colored) to selected 1.79.16.1 (colored)

Support large (>1 page) DVMA maps so UltraSPARC IIi will work.

Revision 1.12 / (download) - annotate - [select for diffs], Wed May 24 20:27:52 2000 UTC (23 years, 10 months ago) by eeh
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.11: +23 -8 lines
Diff to previous 1.11 (colored) to selected 1.79.16.1 (colored)

Use the PCI function code to distinguish simba bus A from bus B instead
of the current hack.

Revision 1.11 / (download) - annotate - [select for diffs], Wed May 17 10:28:14 2000 UTC (23 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored) to selected 1.79.16.1 (colored)

fix if/ifdef mistake

Revision 1.10 / (download) - annotate - [select for diffs], Wed May 17 10:17:01 2000 UTC (23 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.9: +57 -6 lines
Diff to previous 1.9 (colored) to selected 1.79.16.1 (colored)

- add some psycho interrupt debugging stuff (#if 0'ed out)
- fix arguments passed in psycho_dmamap_load_raw()'s declaration, and
  what it passes to it's parent bus.

Revision 1.9 / (download) - annotate - [select for diffs], Wed May 17 02:31:12 2000 UTC (23 years, 11 months ago) by eeh
Branch: MAIN
Changes since 1.8: +19 -2 lines
Diff to previous 1.8 (colored) to selected 1.79.16.1 (colored)

Add support for bus_dma_load_raw() so the le driver will work again.

Revision 1.8 / (download) - annotate - [select for diffs], Sat May 6 04:15:35 2000 UTC (23 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.7: +110 -12 lines
Diff to previous 1.7 (colored) to selected 1.79.16.1 (colored)

implement U2P PCI support in psycho_init.  this is completely untested.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Apr 22 17:06:03 2000 UTC (24 years ago) by mrg
Branch: MAIN
Changes since 1.6: +454 -12 lines
Diff to previous 1.6 (colored) to selected 1.79.16.1 (colored)

whole bunch of changes:
- merge IOMMU DVMA code from sbus/psycho into iommu.c.  this code was
  identical and a few minor inconsistencies had crept in.  this way
  keeps them all in sync.
- with this code gone from psycho, merge the psycho.c and psycho_bus.c
  files.  same with ebus/ebus_bus.c.  delete the _bus.c files.
- add a _ds_boundary member to the dma segment structure, so that later
  dma mappings can find this value.
- set _ds_boundary in machdep.c:_bus_dmamem_alloc().
- kill much dead code.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Apr 15 03:07:38 2000 UTC (24 years ago) by mrg
Branch: MAIN
Changes since 1.5: +1 -5 lines
Diff to previous 1.5 (colored) to selected 1.79.16.1 (colored)

kill dead code

Revision 1.5 / (download) - annotate - [select for diffs], Mon Apr 10 16:11:23 2000 UTC (24 years ago) by mrg
Branch: MAIN
Changes since 1.4: +11 -6 lines
Diff to previous 1.4 (colored) to selected 1.79.16.1 (colored)

- UltraSPARC IIi does not have streaming buffers; don't try to find it's
  diag regsiter to work out why the (non-existant) strbufs don't work.
- check for malloc failure in _all_ places.
- setup the PCI control register as recommended in the IIi users manual.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Apr 8 15:15:41 2000 UTC (24 years ago) by mrg
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored) to selected 1.79.16.1 (colored)

with these two, POWEROFSEVEN now compiles cleanly.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Apr 8 03:08:20 2000 UTC (24 years ago) by mrg
Branch: MAIN
Changes since 1.2: +55 -27 lines
Diff to previous 1.2 (colored) to selected 1.79.16.1 (colored)

rearrange a little to accommodate real SUNW,psycho support.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Mon Aug 2 21:43:52 1999 UTC (24 years, 8 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.1.2.1: +1 -3 lines
Diff to previous 1.1.2.1 (colored) next main 1.2 (colored) to selected 1.79.16.1 (colored)

Update from trunk.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Jul 8 18:08:59 1999 UTC (24 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase, chs-ubc2-base
Branch point for: thorpej_scsipi
Changes since 1.1: +1 -3 lines
Diff to previous 1.1 (colored) to selected 1.79.16.1 (colored)

Change the pmap_extract() interface to:
	boolean_t pmap_extract(pmap_t, vaddr_t, paddr_t *);
This makes it possible for the pmap to map physical address 0.

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Mon Jun 21 01:02:31 1999 UTC (24 years, 10 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored) to selected 1.79.16.1 (colored)

Sync w/ -current.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Jun 4 13:42:14 1999 UTC (24 years, 10 months ago) by mrg
Branch: MAIN
Branch point for: chs-ubc2
Diff to selected 1.79.16.1 (colored)

PCI driver for the UltraSPARC.  this only works on the Ultra5/10 machines
(`SUNW,sabre') for now, and it doesn't really quite work there yet anyway.
the bus space/dma code is cloned from the sbus driver.  the IOMMU code also
is cloned from the sbus code, but separated out into iommu.c so that we can
share it with the sbus driver.  hopefully, much of the bus space/dma code
can also be re-shared with the sbus driver and the ebus driver but for now
these copies will do.

support for the real UltraSPARC PCI (`SUNW,psycho') is unwritten, though
most of this code is shared with it.

we can probe PCI config space and try to configue devices, but interrupts
don't work yet...

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>