The NetBSD Project

CVS log for src/sys/dev/pci/twa.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.61.10.1: download - view: text, markup, annotated - select for diffs
Wed Nov 4 23:22:29 2026 UTC (11 days, 14 hours ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61: +3 -3 lines
Sync with HEAD

Revision 1.62: download - view: text, markup, annotated - select for diffs
Sun Dec 28 21:27:55 2025 UTC (10 months, 2 weeks ago) by andvar
Branches: MAIN
CVS tags: perseant-exfatfs-base-20261102, HEAD
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +3 -3 lines
s/empy/empty/.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Fri Dec 10 20:36:04 2021 UTC (4 years, 11 months ago) by andvar
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20250801, perseant-exfatfs-base-20240630, perseant-exfatfs-base, netbsd-11-base, netbsd-11-1-RELEASE, netbsd-11-0-RELEASE, netbsd-11-0-RC7, netbsd-11-0-RC6, netbsd-11-0-RC5, netbsd-11-0-RC4, netbsd-11-0-RC3, netbsd-11-0-RC2, netbsd-11-0-RC1, netbsd-11, netbsd-10-base, netbsd-10-2-RELEASE, netbsd-10-1-RELEASE, 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
Branch point for: perseant-exfatfs
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +3 -3 lines
s/occured/occurred/ in comments, log messages and man pages.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Sat Aug 7 16:19:14 2021 UTC (5 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +5 -6 lines
Merge thorpej-cfargs2.

Revision 1.59.8.1: download - view: text, markup, annotated - select for diffs
Wed Aug 4 21:27:00 2021 UTC (5 years, 3 months ago) by thorpej
Branches: thorpej-cfargs2
Diff to: previous 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59: +5 -6 lines
Adapt to CFARGS().

Revision 1.59: download - view: text, markup, annotated - select for diffs
Sat Apr 24 23:36:57 2021 UTC (5 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-cfargs2
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +8 -5 lines
Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
  actually needed.
- Don't be explicit about what interface attribute is attaching if
  the device only has one.  (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
  situations, making is visibly easier to see when indirect config is
  in play, and allowing for future change in semantics.  (As of now,
  this is just a wrapper around config_match(), but that is an
  implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance.  This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).

Revision 1.58.10.3: download - view: text, markup, annotated - select for diffs
Mon Mar 22 16:47:13 2021 UTC (5 years, 7 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.58.10.2: preferred, colored; branchpoint 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58.10.2: +3 -3 lines
Fix missing comma.

Revision 1.58.10.2: download - view: text, markup, annotated - select for diffs
Mon Mar 22 16:23:45 2021 UTC (5 years, 7 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.58.10.1: preferred, colored; branchpoint 1.58: preferred, colored
Changes since revision 1.58.10.1: +3 -3 lines
Audit CFARG_IATTR in config_found() calls, and remove it in situations
where the interface attribute is not ambiguous.

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

Revision 1.55.16.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:45 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.55.16.1: preferred, colored; branchpoint 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55.16.1: +7 -15 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.58: download - view: text, markup, annotated - select for diffs
Sun Nov 10 21:16:36 2019 UTC (7 years ago) by chs
Branches: MAIN
CVS tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, 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-cfargs
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +7 -15 lines
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.55.16.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:27 2019 UTC (7 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +5 -4 lines
Sync with HEAD

Revision 1.55.14.2: download - view: text, markup, annotated - select for diffs
Wed Dec 26 14:02:00 2018 UTC (7 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.55.14.1: preferred, colored; branchpoint 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55.14.1: +4 -3 lines
Sync with HEAD, resolve a few conflicts

Revision 1.57: download - view: text, markup, annotated - select for diffs
Sun Dec 9 11:14:02 2018 UTC (7 years, 11 months ago) by jdolecek
Branches: MAIN
CVS tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, netbsd-9-base, netbsd-9-5-RELEASE, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +4 -3 lines
use pci_intr_establish_xname() everywhere

Revision 1.55.14.1: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:56:02 2018 UTC (8 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +3 -3 lines
Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.56: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:29:32 2018 UTC (8 years, 2 months ago) by riastradh
Branches: MAIN
CVS tags: pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +3 -3 lines
Rename min/max -> uimin/uimax for better honesty.

These functions are defined on unsigned int.  The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.

HOWEVER!  Some subsystems have

	#define min(a, b)	((a) < (b) ? (a) : (b))
	#define max(a, b)	((a) > (b) ? (a) : (b))

even though our standard name for that is MIN/MAX.  Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.

To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.

I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:

cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))

It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.

Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate.  But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all.  (Who knows, maybe in some cases integer
truncation is actually intended!)

Revision 1.42.2.3: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:29 2017 UTC (8 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.42.2.2: preferred, colored; branchpoint 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42.2.2: +100 -51 lines
update from HEAD

Revision 1.55.6.1: download - view: text, markup, annotated - select for diffs
Sun Apr 30 10:17:26 2017 UTC (9 years, 6 months ago) by pgoyette
Branches: prg-localcount2
Diff to: previous 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55: +3 -2 lines
More DEVSW_MODULE_INIT for modular drivers

Revision 1.53.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 4 14:49:15 2016 UTC (10 years ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +51 -14 lines
Sync with HEAD

Revision 1.52.2.2: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:55:55 2016 UTC (10 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.52.2.1: preferred, colored; branchpoint 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52.2.1: +76 -39 lines
Sync with HEAD

Revision 1.55: download - view: text, markup, annotated - select for diffs
Tue Sep 27 12:04:16 2016 UTC (10 years, 1 month ago) by pgoyette
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, phil-wifi-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-compat-base, 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, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncqfixes-base, jdolecek-ncqfixes, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: prg-localcount2, phil-wifi, pgoyette-compat
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +3 -3 lines
Add a missing ')' in the call to bswap64().

Should fix compile error of twa module for sparc and sparc64

Revision 1.54: download - view: text, markup, annotated - select for diffs
Tue Sep 27 03:33:32 2016 UTC (10 years, 1 month ago) by pgoyette
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +50 -13 lines
Modularize the ld driver and all of its attachments.  Ensure that all
parents are capable of rescan (or otherwise provide a means of attaching
children post-initialization).

Revision 1.52.2.1: download - view: text, markup, annotated - select for diffs
Sat Jul 9 20:25:14 2016 UTC (10 years, 4 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +52 -40 lines
Sync with HEAD

Revision 1.53: download - view: text, markup, annotated - select for diffs
Thu Jul 7 06:55:41 2016 UTC (10 years, 4 months ago) by msaitoh
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20160907, localcount-20160914
Branch point for: pgoyette-localcount
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +52 -40 lines
KNF. Remove extra spaces. No functional change.

Revision 1.50.2.1: download - view: text, markup, annotated - select for diffs
Thu Oct 30 12:04:46 2014 UTC (12 years ago) by martin
Branches: 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
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +3 -3 lines
Pull up following revision(s) (requested by maxv in ticket #164):
	sys/dev/ieee1394/fwcrom.c: revision 1.15
	sys/dev/ieee1394/fwcrom.c: revision 1.16
	sys/dev/marvell/if_gfe.c: revision 1.43
	sys/dev/usb/stuirda.c: revision 1.16
	sys/dev/pci/cxgb/cxgb_offload.c: revision 1.4
	sys/dev/pci/twa.c: revision 1.51
	sys/dev/pci/twa.c: revision 1.52
Various fixes in dev/: remove dead code and fix two inconsistencies.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Sat Sep 27 15:44:27 2014 UTC (12 years, 1 month ago) by christos
Branches: MAIN
CVS tags: nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +3 -3 lines
fix size in memset() parameter. Thanks max.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Sun Sep 21 17:11:07 2014 UTC (12 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +3 -3 lines
fix memset size inconsistency

Revision 1.42.2.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:48 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.42.2.1: preferred, colored; branchpoint 1.42: preferred, colored
Changes since revision 1.42.2.1: +24 -20 lines
Rebase to HEAD as of a few days ago.

Revision 1.49.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:54:56 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +3 -2 lines
Rebase.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Fri Jul 25 08:10:38 2014 UTC (12 years, 3 months ago) by dholland
Branches: MAIN
CVS tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base
Branch point for: netbsd-7
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +3 -2 lines
Add d_discard to all struct cdevsw instances I could find.

All have been set to "nodiscard"; some should get a real implementation.

Revision 1.38.2.4: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:33 2014 UTC (12 years, 5 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.38.2.3: preferred, colored; branchpoint 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38.2.3: +23 -20 lines
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.43.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:44 2014 UTC (12 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43: +23 -20 lines
sync with head

Revision 1.49: download - view: text, markup, annotated - select for diffs
Sat Mar 29 19:28:25 2014 UTC (12 years, 7 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Branch point for: tls-earlyentropy
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +4 -3 lines
make pci_intr_string and eisa_intr_string take a buffer and a length
instead of relying in local static storage.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Sun Mar 16 05:20:28 2014 UTC (12 years, 8 months ago) by dholland
Branches: MAIN
CVS tags: riastradh-drm2-base3
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +13 -4 lines
Change (mostly mechanically) every cdevsw/bdevsw I can find to use
designated initializers.

I have not built every extant kernel so I have probably broken at
least one build; however I've also found and fixed some wrong
cdevsw/bdevsw entries so even if so I think we come out ahead.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Thu Mar 13 16:34:13 2014 UTC (12 years, 8 months ago) by hannken
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +4 -4 lines
Add __diagused.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Tue Feb 25 18:30:10 2014 UTC (12 years, 8 months ago) by pooka
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +2 -10 lines
Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before
the sysctl link sets are processed, and remove redundancy.

Shaves >13kB off of an amd64 GENERIC, not to mention >1k duplicate
lines of code.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Thu Oct 17 21:06:15 2013 UTC (13 years, 1 month ago) by christos
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +5 -6 lines
- remove unused variables
- move debugging code inside debugging sections

Revision 1.44: download - view: text, markup, annotated - select for diffs
Sat Sep 14 13:12:03 2013 UTC (13 years, 2 months ago) by joerg
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +5 -3 lines
Comment out twa_error_table, but keep it around for documentation
purposes.

Revision 1.38.2.3: download - view: text, markup, annotated - select for diffs
Wed Jan 16 05:33:31 2013 UTC (13 years, 10 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.38.2.2: preferred, colored; branchpoint 1.38: preferred, colored
Changes since revision 1.38.2.2: +27 -21 lines
sync with (a bit old) head

Revision 1.40.2.1: download - view: text, markup, annotated - select for diffs
Thu Nov 22 17:28:46 2012 UTC (13 years, 11 months ago) by riz
Branches: netbsd-6
CVS tags: 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
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +27 -21 lines
Pull up following revision(s) (requested by chs in ticket #688):
	sys/dev/pci/twa.c: revision 1.43
fix autoconf output (don't print from the match routine).

Revision 1.42.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 20 03:02:29 2012 UTC (13 years, 11 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +27 -21 lines
Resync to 2012-11-19 00:00:00 UTC

Revision 1.43: download - view: text, markup, annotated - select for diffs
Fri Nov 2 14:59:11 2012 UTC (14 years ago) by chs
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +27 -21 lines
fix autoconf output (don't print from the match routine).

Revision 1.38.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:21:54 2012 UTC (14 years ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.38.2.1: preferred, colored; branchpoint 1.38: preferred, colored
Changes since revision 1.38.2.1: +52 -48 lines
sync with head

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sat Jul 28 00:42:47 2012 UTC (14 years, 3 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base6
Branch point for: tls-maxphys
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -3 lines
Make this compile with i386/conf/ALL

Revision 1.41: download - view: text, markup, annotated - select for diffs
Fri Jul 27 14:02:17 2012 UTC (14 years, 3 months ago) by jakllsch
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +52 -48 lines
Convert twa(4) to device_t (CFATTACH_DECL_NEW).

Revision 1.38.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:07:58 2012 UTC (14 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +15 -14 lines
sync with head

Revision 1.38.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:34:53 2012 UTC (14 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +15 -14 lines
merge to -current.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Mon Jan 30 19:41:23 2012 UTC (14 years, 9 months ago) by drochner
Branches: MAIN
CVS tags: yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base, 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, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, 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
Branch point for: netbsd-6
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -4 lines
Use pci_aprint_devinfo(9) instead of pci_devinfo+aprint_{normal,naive}
where it looks straightforward, and pci_aprint_devinfo_fancy in a few
others where drivers want to supply their own device names instead
of the pcidevs generated one. More complicated cases, where names
are composed at runtime, are left alone for now. It certainly makes
sense to simplify the drivers here rather than inventing a catch-all API.
This should serve as as example for new drivers, and also ensure
consistent output in the AB_QUIET ("boot -q") case. Also, it avoids
excessive stack usage where drivers attach child devices because the
buffer for the device name is not kept on the local stack anymore.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Fri Jan 27 19:48:39 2012 UTC (14 years, 9 months ago) by para
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +14 -12 lines
extending vmem(9) to be able to allocated resources for it's own needs.
simplifying uvm_map handling (no special kernel entries anymore no relocking)
make malloc(9) a thin wrapper around kmem(9)
(with private interface for interrupt safety reasons)

releng@ acknowledged

Revision 1.38: download - view: text, markup, annotated - select for diffs
Wed Aug 31 18:31:02 2011 UTC (15 years, 2 months ago) by plunky
Branches: 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
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +5 -5 lines
NULL does not need a cast

Revision 1.36.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:08:27 2011 UTC (15 years, 5 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36: +3 -3 lines
Sync with HEAD.

Revision 1.33.4.2: download - view: text, markup, annotated - select for diffs
Tue May 31 03:04:51 2011 UTC (15 years, 5 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.33.4.1: preferred, colored; branchpoint 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33.4.1: +1 -1 lines
sync with head

Revision 1.37: download - view: text, markup, annotated - select for diffs
Tue May 24 18:28:01 2011 UTC (15 years, 5 months ago) by joerg
Branches: MAIN
CVS tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -3 lines
Explicitly get rid of constness.

Revision 1.33.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:53:58 2011 UTC (15 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +40 -37 lines
sync with head

Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Nov 22 23:02:16 2010 UTC (15 years, 11 months ago) by dholland
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +14 -8 lines
Extend the workaround for the 3ware 9650 full-queue bug to a full-fledged
quirk, and use it for the 9690 as well where it's also needed. Patch by me,
problem hunted down by Jiri Novotny and Zdenek Slavet and reported in
PR 44002.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sun Nov 14 05:33:44 2010 UTC (16 years ago) by uebayasi
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +26 -27 lines
Avoid pointless use of a sysctl definition, CTL_NAMES.  Clean up whitespace.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Sat Nov 13 13:52:08 2010 UTC (16 years ago) by uebayasi
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -4 lines
Don't pull in the whole uvm(9) API to access only PAGE_SIZE and
some other constants.  These are provided by sys/param.h now.

Revision 1.28.12.1: download - view: text, markup, annotated - select for diffs
Wed Apr 21 00:27:49 2010 UTC (16 years, 7 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +6 -5 lines
sync to netbsd-5

Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 25 18:22:12 2009 UTC (17 years, 2 months ago) by snj
Branches: netbsd-4
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +6 -5 lines
Pull up following revision(s) (requested by bouyer in ticket #1349):
	sys/dev/pci/twa.c: revision 1.32
Disable completely bogus DIAGNOSTIC check.

Revision 1.16.12.1: download - view: text, markup, annotated - select for diffs
Tue Aug 25 18:21:31 2009 UTC (17 years, 2 months ago) by snj
Branches: netbsd-4-0
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +6 -5 lines
Pull up following revision(s) (requested by bouyer in ticket #1349):
	sys/dev/pci/twa.c: revision 1.32
Disable completely bogus DIAGNOSTIC check.

Revision 1.19.4.4: download - view: text, markup, annotated - select for diffs
Wed Aug 19 18:47:17 2009 UTC (17 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.19.4.3: preferred, colored; branchpoint 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19.4.3: +6 -5 lines
sync with head.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Tue Aug 18 11:15:43 2009 UTC (17 years, 3 months ago) by drochner
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, matt-premerge-20091211, jym-xensuspend-nbase
Branch point for: rmind-uvmplock
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -3 lines
put some strange text within an "#if 0"'d section into a comment
additionally to appease picky parsers

Revision 1.28.4.1: download - view: text, markup, annotated - select for diffs
Fri Aug 7 06:10:20 2009 UTC (17 years, 3 months ago) by snj
Branches: 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, 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, matt-nb5-pq3-base, matt-nb5-pq3
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +6 -5 lines
Pull up following revision(s) (requested by bouyer in ticket #886):
	sys/dev/pci/twa.c: revision 1.32
Disable completely bogus DIAGNOSTIC check.

Revision 1.28.10.1: download - view: text, markup, annotated - select for diffs
Fri Aug 7 06:09:44 2009 UTC (17 years, 3 months ago) by snj
Branches: netbsd-5-0
CVS tags: netbsd-5-0-2-RELEASE
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +6 -5 lines
Pull up following revision(s) (requested by bouyer in ticket #886):
	sys/dev/pci/twa.c: revision 1.32
Disable completely bogus DIAGNOSTIC check.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Fri Jul 31 20:47:25 2009 UTC (17 years, 3 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +6 -5 lines
Disable completely bogus DIAGNOSTIC check.

Revision 1.19.4.3: download - view: text, markup, annotated - select for diffs
Sat May 16 10:41:40 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.19.4.2: preferred, colored; branchpoint 1.19: preferred, colored
Changes since revision 1.19.4.2: +7 -7 lines
sync with head

Revision 1.28.8.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:20:29 2009 UTC (17 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +7 -7 lines
Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Tue May 12 08:23:01 2009 UTC (17 years, 6 months ago) by cegger
Branches: MAIN
CVS tags: yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, jymxensuspend-base, jym-xensuspend-base
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -3 lines
use device_private().
"looks good" ad@
XXX for the device_t/softc split, please check the driver that no cases have been missed.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Wed May 6 10:34:33 2009 UTC (17 years, 6 months ago) by cegger
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +6 -6 lines
struct device * -> device_t, no functional changes intended.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Wed May 6 09:25:17 2009 UTC (17 years, 6 months ago) by cegger
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +4 -4 lines
struct cfdata * -> cfdata_t, no functional changes intended.

Revision 1.19.4.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:13:02 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.19.4.1: preferred, colored; branchpoint 1.19: preferred, colored
Changes since revision 1.19.4.1: +13 -15 lines
sync with head.

Revision 1.27.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:16:40 2008 UTC (18 years, 1 month ago) by haad
Branches: haad-dm
Diff to: previous 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27: +4 -4 lines
Sync with HEAD.

Revision 1.18.16.4: download - view: text, markup, annotated - select for diffs
Sun Sep 28 10:40:28 2008 UTC (18 years, 1 month ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.18.16.3: preferred, colored; branchpoint 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.16.3: +2 -2 lines
Sync with HEAD.

Revision 1.21.2.2: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:35:08 2008 UTC (18 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.21.2.1: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21.2.1: +4 -6 lines
Sync with wrstuden-revivesa-base-2.

Revision 1.25.2.2: download - view: text, markup, annotated - select for diffs
Mon Jul 28 14:37:27 2008 UTC (18 years, 3 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.25.2.1: preferred, colored; branchpoint 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25.2.1: +4 -4 lines
Sync with head.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Jul 27 13:10:11 2008 UTC (18 years, 3 months ago) by joerg
Branches: MAIN
CVS tags: yamt-nfs-mp-base3, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-1-RELEASE, mjf-devfs2-base, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: netbsd-5-0, netbsd-5, matt-nb5-mips64, jym-xensuspend
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +4 -4 lines
Unbreak twa after the last two commits.

Revision 1.18.16.3: download - view: text, markup, annotated - select for diffs
Sun Jun 29 09:33:09 2008 UTC (18 years, 4 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.18.16.2: preferred, colored; branchpoint 1.18: preferred, colored
Changes since revision 1.18.16.2: +11 -13 lines
Sync with HEAD.

Revision 1.25.2.1: download - view: text, markup, annotated - select for diffs
Fri Jun 27 15:11:22 2008 UTC (18 years, 4 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +4 -6 lines
Sync with head.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Wed Jun 25 06:22:01 2008 UTC (18 years, 4 months ago) by gmcgarry
Branches: MAIN
Branch point for: haad-dm
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +5 -6 lines
Revert unintentional whitespace changes.  From simonb.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Tue Jun 24 10:20:41 2008 UTC (18 years, 4 months ago) by gmcgarry
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +8 -9 lines
Ragge says that 6.5.4 clause 2 says:

"Unless the type name specifies a void type, the type name shall specify
qualified or unqualified scalar type and the operand shall have scalar
type."

Therefore, don't cast to a union.

Revision 1.21.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:31:12 2008 UTC (18 years, 4 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +96 -318 lines
Sync w/ -current. 34 merge conflicts to follow.

Revision 1.19.2.2: download - view: text, markup, annotated - select for diffs
Tue Jun 17 09:14:41 2008 UTC (18 years, 5 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.19.2.1: preferred, colored; branchpoint 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19.2.1: +11 -11 lines
sync with head.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Jun 8 14:02:25 2008 UTC (18 years, 5 months ago) by joerg
Branches: MAIN
CVS tags: yamt-pf42-base4, wrstuden-revivesa-base-1, wrstuden-revivesa-base
Branch point for: simonb-wapbl
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +7 -7 lines
Mention 64bit support once during boot and not every time the controller
is reset.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Jun 8 12:43:52 2008 UTC (18 years, 5 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +6 -6 lines
Replace device_lookup() with device_lookup_private() on getting softc
for future device_t/softc spilt.

Revision 1.18.16.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:44 2008 UTC (18 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.18.16.1: preferred, colored; branchpoint 1.18: preferred, colored
Changes since revision 1.18.16.1: +232 -439 lines
Sync with HEAD.

Revision 1.19.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:34:22 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +178 -362 lines
sync with head.

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

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat May 10 14:36:02 2008 UTC (18 years, 6 months ago) by joerg
Branches: MAIN
CVS tags: yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +4 -295 lines
Remove #if 0'd code for flashing firmware. It was never active and even
the FreeBSD version of the driver removed it.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Thu May 8 11:27:54 2008 UTC (18 years, 6 months ago) by joerg
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +87 -18 lines
Add support for 3ware 9650 and 9690 based on patches contributed by
Wasabi Systems.

Fix bus_dma usage to fix write operations in the light of bounce buffers.
Use the 64bit bus_dma tag for 9550+ to avoid bouncing buffers.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed May 7 17:47:20 2008 UTC (18 years, 6 months ago) by joerg
Branches: MAIN
Branch point for: wrstuden-revivesa
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +93 -48 lines
First part of twa(4) improvements:
- more/better diagnostic messages
- dynamically allocate units in preparation for 9650+ support
- better distribute queue slots over disks according to size
- drain large request queue on 9550
- keep track of resets, will be needed for 9650.

This changes have been contributed by Wasabi Systems.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:55 2008 UTC (18 years, 6 months ago) by martin
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -9 lines
Remove clause 3 and 4 from TNF licenses

Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Apr 10 19:13:38 2008 UTC (18 years, 7 months ago) by cegger
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base
Branch point for: yamt-pf42, yamt-nfs-mp
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +69 -92 lines
use aprint_*_dev and device_xname

Revision 1.18.16.1: download - view: text, markup, annotated - select for diffs
Sat Apr 5 23:33:22 2008 UTC (18 years, 7 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +16 -8 lines
- add "file-system DEVFS" and "pseudo-device devfsctl" to conf/std seeing
  as these are always needed.

- convert many, many drivers over to the New Devfs World Order. For a
  list of device drivers yet to be converted see,
  http://www.netbsd.org/~mjf/devfs-todo.html.

- add a new device_unregister_all(device_t) function to remove all device
  names associated with a device_t, which saves us having to construct
  device names when the driver is detached.

- add a DEV_AUDIO type for devices.

Revision 1.17.16.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:29:32 2007 UTC (19 years ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +3 -3 lines
sync with HEAD

Revision 1.3.8.5: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:33:32 2007 UTC (19 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.3.8.4: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.8.4: +3 -3 lines
sync with head.

Revision 1.17.14.1: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:46:56 2007 UTC (19 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +3 -3 lines
Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.17.20.1: download - view: text, markup, annotated - select for diffs
Thu Oct 25 22:39:20 2007 UTC (19 years ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +3 -3 lines
Sync with HEAD.

Revision 1.17.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:09:19 2007 UTC (19 years ago) by ad
Branches: vmlocking
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +3 -3 lines
Sync with head.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Oct 19 12:00:55 2007 UTC (19 years, 1 month ago) by ad
Branches: MAIN
CVS tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, mjf-devfs, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, ad-socklock-base1
Branch point for: mjf-devfs2
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -3 lines
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

Revision 1.3.8.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:37:23 2007 UTC (19 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.3.8.3: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.8.3: +5 -5 lines
sync with head.

Revision 1.16.4.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:55:27 2007 UTC (19 years, 8 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +5 -5 lines
Sync with HEAD.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:02:26 2007 UTC (19 years, 8 months ago) by christos
Branches: 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, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: vmlocking, matt-armv6, jmcneill-pm, bouyer-xenamd64
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +5 -5 lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.3.8.3: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:48:48 2006 UTC (19 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.3.8.2: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.8.2: +349 -245 lines
sync with head.

Revision 1.12.6.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:17:47 2006 UTC (19 years, 11 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.12.6.1: preferred, colored; branchpoint 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12.6.1: +11 -11 lines
sync with head.

Revision 1.12.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:34:33 2006 UTC (20 years ago) by ad
Branches: newlock2
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +50 -8 lines
Sync with head.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:33:10 2006 UTC (20 years ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, post-newlock2-merge, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, matt-nb4-arm-base, matt-nb4-arm, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp, netbsd-4-0, netbsd-4
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +11 -11 lines
__unused removal on arguments; approved by core.

Revision 1.9.2.3: download - view: text, markup, annotated - select for diffs
Sat Nov 11 19:58:14 2006 UTC (20 years ago) by bouyer
Branches: netbsd-3
Diff to: previous 1.9.2.2: preferred, colored; branchpoint 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.2.2: +40 -4 lines
Pull up following revision(s) (requested by manu in ticket #1528):
	etc/MAKEDEV.tmpl: revision 1.66 via patch
	sys/conf/majors: revision 1.30 via patch
	sys/dev/pci/twareg.h: revision 1.6 via patch
	sys/dev/pci/twa.c: revision 1.13 via patch
	sys/dev/pci/twaio.h: revision 1.4 via patch
	sys/compat/freebsd/freebsd_sysctl.c: revision 1.5 via patch
Tweak the twa(4) driver so that 3ware command line utility works with
it.
This includes:
- fixing various structure definitions so that the ioctl parameter match
- adding a hw.twa*.driver_version sysctl
- do not refuse multiple device openings, as the management tool will do
it.
  I'm not sure we are safe. FreeBSD allows multiple openings, and use
the
  open flag only when an attempt to detach the device is done.
Fix a bug in FreeBSD sysctl emulation: use copyin for
moving data to the kernel

Revision 1.12.6.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:06:19 2006 UTC (20 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +54 -12 lines
sync with head

Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:31:33 2006 UTC (20 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +12 -9 lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Oct 11 05:12:06 2006 UTC (20 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -3 lines
Size is the third argument to memset, not the second.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Sep 23 22:16:35 2006 UTC (20 years, 1 month ago) by manu
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +43 -4 lines
Tweak the twa(4) driver so that 3ware command line utility works with it.
This includes:
- fixing various structure definitions so that the ioctl parameter match
- adding a hw.twa*.driver_version sysctl
- do not refuse multiple device openings, as the management tool will do it.
  I'm not sure we are safe. FreeBSD allows multiple openings, and use the
  open flag only when an attempt to detach the device is done.

Revision 1.12.4.2: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:52:19 2006 UTC (20 years, 2 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.12.4.1: preferred, colored; branchpoint 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12.4.1: +3277 -0 lines
sync with head

Revision 1.3.10.4: download - view: text, markup, annotated - select for diffs
Sun Sep 3 15:24:23 2006 UTC (20 years, 2 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.3.10.3: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.10.3: +7 -7 lines
sync with head.

Revision 1.12.4.1
Sun Sep 3 07:02:54 2006 UTC (20 years, 2 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
FILE REMOVED
Changes since revision 1.12: +0 -3277 lines
file twa.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:52:19 +0000

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Sep 3 07:02:54 2006 UTC (20 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, rpaulo-netinet-merge-pcb, newlock2
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -4 lines
- add missing initializer
- inline comes first

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Aug 26 19:35:51 2006 UTC (20 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -4 lines
PR/34292: Aaron Hodgen: twa driver incorrectly reports drive size/description

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Aug 17 17:11:28 2006 UTC (20 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -3 lines
Fix all the -D*DEBUG* code that it was rotting away and did not even compile.
Mostly from Arnaud Lacombe, many thanks!

Revision 1.3.10.3: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:44:26 2006 UTC (20 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.3.10.2: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.10.2: +296 -234 lines
sync with head

Revision 1.9.2.2: download - view: text, markup, annotated - select for diffs
Mon Jul 31 12:35:23 2006 UTC (20 years, 3 months ago) by tron
Branches: netbsd-3
CVS tags: 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
Diff to: previous 1.9.2.1: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.2.1: +3298 -0 lines
Apply patch (requested by bouyer in ticket #1441):
Pullup the twa(4) driver for the 3ware Apache RAID controllers.
Matching revisions in current:
share/man/man4/twa.4	1.1
sys/dev/pci/ld_twa.c	1.2
sys/dev/pci/twa.c	1.9
sys/dev/pci/twaio.h	1.3
sys/dev/pci/twareg.h	1.5
sys/dev/pci/twavar.h	1.5

Revision 1.9.2.1
Sun Jul 30 10:49:48 2006 UTC (20 years, 3 months ago) by tron
Branches: netbsd-3
FILE REMOVED
Changes since revision 1.9: +0 -3277 lines
file twa.c was added on branch netbsd-3 on 2006-07-31 12:35:23 +0000

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Jul 30 10:49:48 2006 UTC (20 years, 3 months ago) by bouyer
Branches: MAIN
CVS tags: yamt-pdpolicy-base7, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: netbsd-3
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +7 -2 lines
Add some missing splvm()/splx() around uvm_km_* I noticed.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Jul 29 00:13:57 2006 UTC (20 years, 3 months ago) by wrstuden
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +130 -45 lines
Updated driver, contributed by Jordan Rhody of Wasabi Systems.

Main fix is to improve reliability under heavy load and frequent
status monitoring.

Revision 1.3.4.1: download - view: text, markup, annotated - select for diffs
Thu Jul 13 17:49:29 2006 UTC (20 years, 4 months ago) by gdamore
Branches: gdamore-uart
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +166 -194 lines
Merge from HEAD.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Jul 11 00:25:42 2006 UTC (20 years, 4 months ago) by simonb
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +41 -41 lines
Use c99 uintN_t.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Jul 11 00:18:04 2006 UTC (20 years, 4 months ago) by simonb
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +127 -148 lines
Sprinkle some KNF.  Still a bit more needed...

Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Jul 10 23:22:28 2006 UTC (20 years, 4 months ago) by simonb
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -9 lines
Remove some incorrect licencing goop.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Jul 10 23:20:43 2006 UTC (20 years, 4 months ago) by simonb
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +7 -7 lines
Update for timecounters (s/time.tv_sec/time_second/).

Revision 1.3.10.2: download - view: text, markup, annotated - select for diffs
Mon Jun 26 12:51:23 2006 UTC (20 years, 4 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.3.10.1: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.10.1: +3215 -0 lines
sync with head.

Revision 1.3.8.2: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:05:07 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.3.8.1: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.8.1: +3215 -0 lines
sync with head.

Revision 1.3.6.2: download - view: text, markup, annotated - select for diffs
Mon Jun 19 04:01:37 2006 UTC (20 years, 5 months ago) by chap
Branches: chap-midi
Diff to: previous 1.3.6.1: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.6.1: +3215 -0 lines
Sync with head.

Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Thu Jun 1 22:36:49 2006 UTC (20 years, 5 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.3.2.1: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.1: +3215 -0 lines
Sync with head.

Revision 1.3.10.1
Thu May 25 01:37:08 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-pdpolicy
FILE REMOVED
Changes since revision 1.3: +0 -3215 lines
file twa.c was added on branch yamt-pdpolicy on 2006-06-26 12:51:23 +0000

Revision 1.3.8.1
Thu May 25 01:37:08 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
FILE REMOVED
Changes since revision 1.3: +0 -3215 lines
file twa.c was added on branch yamt-lazymbuf on 2006-06-21 15:05:07 +0000

Revision 1.3.6.1
Thu May 25 01:37:08 2006 UTC (20 years, 5 months ago) by chap
Branches: chap-midi
FILE REMOVED
Changes since revision 1.3: +0 -3215 lines
file twa.c was added on branch chap-midi on 2006-06-19 04:01:37 +0000

Revision 1.3.2.1
Thu May 25 01:37:08 2006 UTC (20 years, 5 months ago) by kardel
Branches: simonb-timecounters
FILE REMOVED
Changes since revision 1.3: +0 -3215 lines
file twa.c was added on branch simonb-timecounters on 2006-06-01 22:36:49 +0000

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu May 25 01:37:08 2006 UTC (20 years, 5 months ago) by wrstuden
Branches: MAIN
CVS tags: yamt-pdpolicy-base6, simonb-timecounters-base, gdamore-uart-base, chap-midi-nbase, chap-midi-base
Branch point for: yamt-pdpolicy, yamt-lazymbuf, simonb-timecounters, gdamore-uart, chap-midi
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -1 lines
Add $NetBSD: ids, which work better than $netbsd: ones.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu May 25 00:21:45 2006 UTC (20 years, 5 months ago) by wrstuden
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +18 -37 lines
Style changes from simonb at wasabisystems dot com:

  Use config_stdsubmatch() instead of our own submatch function.
  Use "__inline" in header files and "inline" in .c files.
  Make some local function static.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed May 24 23:44:28 2006 UTC (20 years, 5 months ago) by wrstuden
Branches: MAIN
3ware 9000 driver, contributed by Wasabi Systems and written
by Jordan Rhody (based on the FreeBSD driver).

Contributed in NetBSD PR 33364.

Diff request

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

Log view options

CVSweb <webmaster@jp.NetBSD.org>