The NetBSD Project

CVS log for src/sys/dev/ic/mfi.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.79 / (download) - annotate - [select for diffs], Tue May 24 20:50:19 2022 UTC (8 months, 1 week ago) by andvar
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.78: +3 -3 lines
Diff to previous 1.78 (colored)

fix various typos in comment, documentation and log messages.

Revision 1.78 / (download) - annotate - [select for diffs], Sun May 22 08:59:34 2022 UTC (8 months, 1 week ago) by hannken
Branch: MAIN
Changes since 1.77: +4 -4 lines
Diff to previous 1.77 (colored)

Use PRIxBUSADDR for bus_addr_t in debug printf.

Kernel i386/ALL compiles again.

Revision 1.57.10.2 / (download) - annotate - [select for diffs], Tue May 17 10:33:46 2022 UTC (8 months, 2 weeks ago) by bouyer
Branch: netbsd-8
Changes since 1.57.10.1: +130 -113 lines
Diff to previous 1.57.10.1 (colored) to branchpoint 1.57 (colored) next main 1.58 (colored)

Pull up following revision(s) via patch (requested by msaitoh in ticket #1454):
	sys/dev/ic/mfi.c: revisions 1.63, 1.66-77
	sys/dev/ic/mfireg.h: revisions 1.11-1.20 via patch
	sys/dev/pci/mfi_pci.c: revision 1.21
	sys/dev/pci/mfii.c: revisions 1.6-1.7, 1.10-1.15
	share/man/man4/mfi.4: revision 1.13

Improve mfi(4) and mfii(4):
- Set 'ld_sync' to NULL as part of 'again', to prevent use-after-free.
- Add some code for the SKINNY variant to make Dell PERC H310 work.
- Print the percentage correctly when the background initialization is
  running.
- Clear mailbox to not to pass garbage data.
- Use union mbox instead of unit8_t xxx[] to avoid unaligned access.
- Set stripe size for BIOCVOL to show the size correctly in bioctl.
- Add support for iBBU-09 to show BBU voltage, current and temperature
  correctly.
- Fix typos in comments.
- Sprinkle static.
- Improve debug printf()s.
- KNF. Remove extra semicolon. Whitespace fixes.

Revision 1.61.2.1 / (download) - annotate - [select for diffs], Tue May 17 10:29:47 2022 UTC (8 months, 2 weeks ago) by bouyer
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE
Changes since 1.61: +129 -113 lines
Diff to previous 1.61 (colored) next main 1.62 (colored)

Pull up following revision(s) via patch (requested by msaitoh in ticket #1454):
	sys/dev/ic/mfi.c: revisions 1.63, 1.66-77
	sys/dev/ic/mfireg.h: revisions 1.11-1.20 via patch
	sys/dev/pci/mfi_pci.c: revision 1.21
	sys/dev/pci/mfii.c: revisions 1.6-1.7, 1.10-1.15
	share/man/man4/mfi.4: revision 1.13

Improve mfi(4) and mfii(4):
- Set 'ld_sync' to NULL as part of 'again', to prevent use-after-free.
- Add some code for the SKINNY variant to make Dell PERC H310 work.
- Print the percentage correctly when the background initialization is
  running.
- Clear mailbox to not to pass garbage data.
- Use union mbox instead of unit8_t xxx[] to avoid unaligned access.
- Set stripe size for BIOCVOL to show the size correctly in bioctl.
- Add support for iBBU-09 to show BBU voltage, current and temperature
  correctly.
- Fix typos in comments.
- Sprinkle static.
- Improve debug printf()s.
- KNF. Remove extra semicolon. Whitespace fixes.

Revision 1.77 / (download) - annotate - [select for diffs], Fri May 13 10:41:42 2022 UTC (8 months, 3 weeks ago) by msaitoh
Branch: MAIN
Changes since 1.76: +19 -20 lines
Diff to previous 1.76 (colored)

Improve DNPRINTF. No functional change.

Revision 1.76 / (download) - annotate - [select for diffs], Thu May 12 11:56:29 2022 UTC (8 months, 3 weeks ago) by msaitoh
Branch: MAIN
Changes since 1.75: +6 -6 lines
Diff to previous 1.75 (colored)

Don't use MFI_PD_LIST_SIZE. Same as OpenBSD. No functional change.

Revision 1.75 / (download) - annotate - [select for diffs], Tue May 10 14:13:37 2022 UTC (8 months, 3 weeks ago) by msaitoh
Branch: MAIN
Changes since 1.74: +5 -2 lines
Diff to previous 1.74 (colored)

mfi(4): Set stripe size correctly for BIOCVOL.

Before:
Volume Status       Size         Device/Label    Level Stripe
=============================================================
     0 Online       5.5T                 mfi0   RAID 5    N/A  65535 seconds

After:
Volume Status       Size         Device/Label    Level Stripe
=============================================================
     0 Online       5.5T                 mfi0   RAID 5    64K  65535 seconds

Revision 1.74 / (download) - annotate - [select for diffs], Mon May 9 17:13:30 2022 UTC (8 months, 3 weeks ago) by msaitoh
Branch: MAIN
Changes since 1.73: +48 -48 lines
Diff to previous 1.73 (colored)

Use union mbox instead of unit8_t[] to avoid unaligned access.

 - Same as other OSes.
 - mfii.c already use this.
 - Found by kUBSan.

Revision 1.73 / (download) - annotate - [select for diffs], Mon May 9 15:56:36 2022 UTC (8 months, 3 weeks ago) by msaitoh
Branch: MAIN
Changes since 1.72: +39 -41 lines
Diff to previous 1.72 (colored)

KNF. Whitespace. No functional change.

Revision 1.72 / (download) - annotate - [select for diffs], Sat May 7 14:25:12 2022 UTC (8 months, 3 weeks ago) by msaitoh
Branch: MAIN
Changes since 1.71: +7 -2 lines
Diff to previous 1.71 (colored)

Clear mailbox to not to pass garbage data.

Revision 1.71 / (download) - annotate - [select for diffs], Sat May 7 14:14:34 2022 UTC (8 months, 3 weeks ago) by msaitoh
Branch: MAIN
Changes since 1.70: +10 -3 lines
Diff to previous 1.70 (colored)

Use mlp_bgi for MFI_LD_PROG_BGI. Same as OpenBSD.

Revision 1.70 / (download) - annotate - [select for diffs], Sat May 7 04:40:02 2022 UTC (8 months, 3 weeks ago) by msaitoh
Branch: MAIN
Changes since 1.69: +3 -3 lines
Diff to previous 1.69 (colored)

s/contrller/controller/ in comment.

Revision 1.69 / (download) - annotate - [select for diffs], Thu May 5 07:18:02 2022 UTC (8 months, 4 weeks ago) by msaitoh
Branch: MAIN
Changes since 1.68: +7 -4 lines
Diff to previous 1.68 (colored)

Add some code for the SKINNY variant to make Dell PERC H310 work.

Revision 1.68 / (download) - annotate - [select for diffs], Sat Apr 16 18:15:21 2022 UTC (9 months, 2 weeks ago) by andvar
Branch: MAIN
Changes since 1.67: +3 -3 lines
Diff to previous 1.67 (colored)

fix various typos in comments and log messages.

Revision 1.67 / (download) - annotate - [select for diffs], Sun Dec 5 02:47:01 2021 UTC (13 months, 4 weeks ago) by msaitoh
Branch: MAIN
Changes since 1.66: +3 -3 lines
Diff to previous 1.66 (colored)

s/decriptor/descriptor/ in comment.

Revision 1.66 / (download) - annotate - [select for diffs], Sat Nov 6 06:52:48 2021 UTC (14 months, 3 weeks ago) by msaitoh
Branch: MAIN
Changes since 1.65: +3 -3 lines
Diff to previous 1.65 (colored)

s/allign/align/

Revision 1.65 / (download) - annotate - [select for diffs], Sat Aug 7 16:19:12 2021 UTC (17 months, 3 weeks ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2
Changes since 1.64: +3 -3 lines
Diff to previous 1.64 (colored)

Merge thorpej-cfargs2.

Revision 1.64.8.1 / (download) - annotate - [select for diffs], Wed Aug 4 20:14:42 2021 UTC (17 months, 4 weeks ago) by thorpej
Branch: thorpej-cfargs2
Changes since 1.64: +3 -3 lines
Diff to previous 1.64 (colored) next main 1.65 (colored)

Adapt to CFARGS().

Revision 1.64 / (download) - annotate - [select for diffs], Sat Apr 24 23:36:55 2021 UTC (21 months, 1 week ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-cfargs2
Changes since 1.63: +4 -5 lines
Diff to previous 1.63 (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.63.10.3 / (download) - annotate - [select for diffs], Sun Mar 28 20:31:05 2021 UTC (22 months ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.63.10.2: +3 -6 lines
Diff to previous 1.63.10.2 (colored) to branchpoint 1.63 (colored) next main 1.64 (colored)

No need to pass interface or locators to config_found() in mfi_rescan().

Revision 1.63.10.2 / (download) - annotate - [select for diffs], Mon Mar 22 16:23:45 2021 UTC (22 months, 1 week ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.63.10.1: +3 -3 lines
Diff to previous 1.63.10.1 (colored) to branchpoint 1.63 (colored)

Audit CFARG_IATTR in config_found() calls, and remove it in situations
where the interface attribute is not ambiguous.

Revision 1.63.10.1 / (download) - annotate - [select for diffs], Mon Mar 22 02:01:00 2021 UTC (22 months, 1 week ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.63: +6 -4 lines
Diff to previous 1.63 (colored)

Mechanical conversion of config_found_sm_loc() -> config_found().
CFARG_IATTR usage needs to be audited.

Revision 1.58.4.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:21 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.58.4.2: +3 -9 lines
Diff to previous 1.58.4.2 (colored) to branchpoint 1.58 (colored) next main 1.59 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.58.4.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:06 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.58.4.1: +4 -3 lines
Diff to previous 1.58.4.1 (colored) to branchpoint 1.58 (colored)

Merge changes from current as of 20200406

Revision 1.63 / (download) - annotate - [select for diffs], Tue Jan 7 06:12:09 2020 UTC (3 years ago) by maxv
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: thorpej-cfargs
Changes since 1.62: +4 -3 lines
Diff to previous 1.62 (colored)

Set 'ld_sync' to NULL as part of 'again', to prevent use-after-free.

Revision 1.62 / (download) - annotate - [select for diffs], Sun Nov 10 21:16:35 2019 UTC (3 years, 2 months ago) by chs
Branch: MAIN
CVS Tags: phil-wifi-20191119
Changes since 1.61: +4 -11 lines
Diff to previous 1.61 (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.61 / (download) - annotate - [select for diffs], Mon Jul 29 12:07:57 2019 UTC (3 years, 6 months ago) by gdt
Branch: MAIN
CVS Tags: netbsd-9-base, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Branch point for: netbsd-9
Changes since 1.60: +3 -2 lines
Diff to previous 1.60 (colored)

sys/dev/ic/mfi.c: Add missing break in switch

(The entire switch is guarded by MFI_DEBUG and is known not to build.)
Reported by Oskar.

Revision 1.58.4.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:10 2019 UTC (3 years, 7 months ago) by christos
Branch: phil-wifi
Changes since 1.58: +12 -12 lines
Diff to previous 1.58 (colored)

Sync with HEAD

Revision 1.57.10.1 / (download) - annotate - [select for diffs], Fri Dec 7 17:11:37 2018 UTC (4 years, 1 month ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1
Changes since 1.57: +10 -10 lines
Diff to previous 1.57 (colored)

Pull up following revision(s) (requested by bouyer in ticket #1129):

	sys/arch/amd64/conf/XEN3_DOM0: revision 1.159
	sys/arch/amd64/conf/GENERIC: revision 1.508
	sys/arch/i386/conf/ALL: revision 1.458
	sys/dev/ic/mfi.c: revision 1.60
	sys/dev/pci/mpiireg.h: revision 1.1
	distrib/sets/lists/man/mi: revision 1.1628
	sys/dev/pci/mfii.c: revision 1.1,1.2 (adapted)
	sys/arch/i386/conf/GENERIC: revision 1.1194
	sys/dev/pci/mpii.c: revision 1.13
	sys/dev/ic/mfireg.h: revision 1.9
	share/man/man4/mfii.4: revision 1.1
	share/man/man4/Makefile: revision 1.673 (patch)
	sys/dev/pci/files.pci: revision 1.410
	share/man/man4/mfii.4: revision 1.2
	sys/arch/amd64/conf/ALL: revision 1.108
	sys/arch/i386/conf/XEN3PAE_DOM0: revision 1.8 (patch, in XEN3_DOM0)

Add some definitions from OpenBSD, needed by the upcoming mfii driver.
No functionnal change.

 -

Move registers definitions to a separate file, needed for the upcomning mpii
driver. No functionnal change.

 -

Add mpii(4), a driver for LSI Megaraid Fusion controllers.
Ported from OpenBSD. This driver is MP-safe.

Note that the earlier fusion controllers (Megaraid 2208, codenamed Thunderbold)
are also supported by mfi(4). mpii will take precedence if both drivers
are enabled.

Tested on a
mfii0 at pci6 dev 0 function 0: "PERC H740P Adapter ", firmware 50.3.0-1512, 819
2MB cache
mfii0: interrupting at ioapic2 pin 2
scsibus0 at mfii0: 64 targets, 8 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd0: fabricating a geometry
sd0: 99 GB, 102399 cyl, 64 head, 32 sec, 512 bytes/sect x 209714688 sectors
sd0: tagged queueing
sd1 at scsibus0 target 1 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd1: fabricating a geometry
sd1: 22254 GB, 22788608 cyl, 64 head, 32 sec, 512 bytes/sect x 46671069696 sectors
sd1: fabricating a geometry

It supports bioctl(8) ioctls, as well as sensors for the BBU and logical
drives.

Sponsored by LIP6.

 -

Add my name in copyright list

 -

add a man page for the new mpii, mostly from OpenBSD.

 -

Sort SEE ALSO. Fix date. Whitespace fixes.

Revision 1.58.2.2 / (download) - annotate - [select for diffs], Mon Nov 26 01:52:31 2018 UTC (4 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.58.2.1: +10 -10 lines
Diff to previous 1.58.2.1 (colored) to branchpoint 1.58 (colored) next main 1.59 (colored)

Sync with HEAD, resolve a couple of conflicts

Revision 1.60 / (download) - annotate - [select for diffs], Sat Nov 24 18:10:29 2018 UTC (4 years, 2 months ago) by bouyer
Branch: MAIN
CVS Tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, isaki-audio2-base, isaki-audio2
Changes since 1.59: +10 -10 lines
Diff to previous 1.59 (colored)

Add some definitions from OpenBSD, needed by the upcoming mfii driver.
No functionnal change.

Revision 1.58.2.1 / (download) - annotate - [select for diffs], Thu Sep 6 06:55:49 2018 UTC (4 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.58: +4 -4 lines
Diff to previous 1.58 (colored)

Sync with HEAD

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

Revision 1.59 / (download) - annotate - [select for diffs], Mon Sep 3 16:29:31 2018 UTC (4 years, 5 months ago) by riastradh
Branch: MAIN
CVS Tags: pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906
Changes since 1.58: +4 -4 lines
Diff to previous 1.58 (colored)

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.46.2.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:03 2017 UTC (5 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.46.2.2: +12 -33 lines
Diff to previous 1.46.2.2 (colored) next main 1.47 (colored)

update from HEAD

Revision 1.58 / (download) - annotate - [select for diffs], Sat Oct 28 04:53:55 2017 UTC (5 years, 3 months ago) by riastradh
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, phil-wifi-base, 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, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.57: +4 -4 lines
Diff to previous 1.57 (colored)

Kill some more extern struct cfdriver declarations.

Down with externs in .c!

Revision 1.53.2.2 / (download) - annotate - [select for diffs], Sat May 16 04:06:04 2015 UTC (7 years, 8 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.53.2.1: +3 -5 lines
Diff to previous 1.53.2.1 (colored) to branchpoint 1.53 (colored) next main 1.54 (colored)

Pull up following revision(s) (requested by maxv in ticket #761):
	sys/arch/sgimips/dev/scn.c: revision 1.8
	sys/arch/sgimips/mace/macekbc.c: revision 1.8
	sys/dev/hpc/hpcfb.c: revision 1.59
	sys/dev/i2c/i2c.c: revision 1.47
	sys/dev/ic/mfi.c: revision 1.57
	sys/dev/if_ndis/if_ndis_pci.c: revision 1.21
	sys/dev/sysmon/sysmon_power.c: revisions 1.50-1.52
	sys/dev/usb/umass_isdata.c: revision 1.31
fix double free, found by Brainy.
--
Free cmd on error if we allocated it.
Found by Brainy, reported by maxv@.
--
don't leak rl (but there are other leaks), found by Brainy.
--
Free ped if we can't hand it to the power daemon.
Found by Brainy, reported by maxv@.
--
don't forget to free the dictionary.
--
another missing free dict.
--
fix leak, found by Brainy.
--
don't malloc a tiny, fixed size buffer to scribble into, then not use it
and never free it either
found by Brainy
--
malloc() -> kmem_alloc() for private data, also kmem_free() them if we
don't finish attaching for whatever reason
found by Brainy

Revision 1.55.2.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:18:09 2015 UTC (7 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.55: +5 -29 lines
Diff to previous 1.55 (colored) next main 1.56 (colored)

Sync with HEAD

Revision 1.57 / (download) - annotate - [select for diffs], Sat Apr 4 15:10:47 2015 UTC (7 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, netbsd-8-base, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: netbsd-8
Changes since 1.56: +3 -5 lines
Diff to previous 1.56 (colored)

fix double free, found by Brainy.

Revision 1.56 / (download) - annotate - [select for diffs], Thu Mar 12 15:33:10 2015 UTC (7 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.55: +4 -26 lines
Diff to previous 1.55 (colored)

Dedup the conversion of bioc_disk and bioc_vol to envsys_data_t

Revision 1.53.2.1 / (download) - annotate - [select for diffs], Fri Aug 22 10:41:18 2014 UTC (8 years, 5 months ago) by martin
Branch: netbsd-7
Changes since 1.53: +9 -6 lines
Diff to previous 1.53 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #48):
	sys/dev/ic/mfi.c: revision 1.54-1.55
Fix mfi(4) panic on boot on some mfi(4) chips.

Revision 1.55 / (download) - annotate - [select for diffs], Thu Aug 21 15:43:35 2014 UTC (8 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.54: +5 -2 lines
Diff to previous 1.54 (colored)

over-initialize for the benefit of gcc

Revision 1.54 / (download) - annotate - [select for diffs], Thu Aug 21 12:25:01 2014 UTC (8 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.53: +6 -6 lines
Diff to previous 1.53 (colored)

revert previous; code checking tool is incorrect. Variables are not being
used in the non tbolt case.

Revision 1.46.2.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:38 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.46.2.1: +19 -17 lines
Diff to previous 1.46.2.1 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.52.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:54:52 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.52: +3 -2 lines
Diff to previous 1.52 (colored) next main 1.53 (colored)

Rebase.

Revision 1.53 / (download) - annotate - [select for diffs], Fri Jul 25 08:10:37 2014 UTC (8 years, 6 months ago) by dholland
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base
Branch point for: netbsd-7
Changes since 1.52: +3 -2 lines
Diff to previous 1.52 (colored)

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.36.2.4 / (download) - annotate - [select for diffs], Thu May 22 11:40:22 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.36.2.3: +18 -17 lines
Diff to previous 1.36.2.3 (colored) to branchpoint 1.36 (colored) next main 1.37 (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.49.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:37 2014 UTC (8 years, 8 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.49: +14 -13 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

sync with head

Revision 1.52 / (download) - annotate - [select for diffs], Sun Mar 16 05:20:27 2014 UTC (8 years, 10 months ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.51: +13 -4 lines
Diff to previous 1.51 (colored)

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.51 / (download) - annotate - [select for diffs], Sat Jan 25 10:14:29 2014 UTC (9 years ago) by skrll
Branch: MAIN
Changes since 1.50: +3 -3 lines
Diff to previous 1.50 (colored)

More alignment spellos

Revision 1.50 / (download) - annotate - [select for diffs], Thu Oct 17 21:24:24 2013 UTC (9 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.49: +2 -10 lines
Diff to previous 1.49 (colored)

- remove unused variables
- move variables inside ifdef sections
- ifdef notdef unused code
- use __USE for debugging variables

Revision 1.49 / (download) - annotate - [select for diffs], Fri Jun 28 14:46:44 2013 UTC (9 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Branch point for: rmind-smpnet
Changes since 1.48: +6 -6 lines
Diff to previous 1.48 (colored)

Fix the non-thunderbolt case. XXX: Is that right even?
http://m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html

Revision 1.36.2.3 / (download) - annotate - [select for diffs], Wed Jan 16 05:33:15 2013 UTC (10 years ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.36.2.2: +8 -6 lines
Diff to previous 1.36.2.2 (colored) to branchpoint 1.36 (colored)

sync with (a bit old) head

Revision 1.46.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:02:06 2012 UTC (10 years, 2 months ago) by tls
Branch: tls-maxphys
Changes since 1.46: +169 -6 lines
Diff to previous 1.46 (colored)

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

Revision 1.36.8.5 / (download) - annotate - [select for diffs], Sun Nov 18 19:01:44 2012 UTC (10 years, 2 months ago) by msaitoh
Branch: 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
Changes since 1.36.8.4: +8 -6 lines
Diff to previous 1.36.8.4 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored)

Pull up following revision(s) (requested by bouyer in ticket #674):
	sys/dev/ic/mfi.c: revision 1.48
MFI_STATE_BOOT_MESSAGE_PENDING also needs to be handed for non-TBOLT
controllers, from FreeBSD. tested by Hugo Silva against a GEN2 controller.

Revision 1.48 / (download) - annotate - [select for diffs], Fri Nov 9 18:46:54 2012 UTC (10 years, 2 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, khorben-n900, agc-symver-base, agc-symver
Changes since 1.47: +8 -6 lines
Diff to previous 1.47 (colored)

MFI_STATE_BOOT_MESSAGE_PENDING also needs to be handed for non-TBOLT
controllers, from FreeBSD. tested by Hugo Silva against a GEN2 controller.

Revision 1.36.2.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:21:05 2012 UTC (10 years, 3 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.36.2.1: +1479 -143 lines
Diff to previous 1.36.2.1 (colored) to branchpoint 1.36 (colored)

sync with head

Revision 1.36.8.4 / (download) - annotate - [select for diffs], Wed Oct 24 03:23:44 2012 UTC (10 years, 3 months ago) by riz
Branch: netbsd-6
Changes since 1.36.8.3: +163 -2 lines
Diff to previous 1.36.8.3 (colored) to branchpoint 1.36 (colored)

Pull up following revision(s) (requested by bouyer in ticket #629):
	sys/compat/linux/common/linux_ioctl.c: revision 1.57
	sys/dev/ic/mfi.c: revision 1.47
	sys/conf/majors: revision 1.62
	etc/etc.i386/MAKEDEV.conf: revision 1.24
	sys/dev/ic/mfivar.h: revision 1.20
	etc/MAKEDEV.tmpl: revision 1.159
	sys/dev/ic/mfiio.h: revision 1.1
	etc/etc.amd64/MAKEDEV.conf: revision 1.19
	sys/dev/ic/mfireg.h: revision 1.8
Add a pass-through ioctl for mfi(4), allowing userland to send raw commands
to the controller. This is compatible with the linux and FreeBSD
implementations.
Add the needed conversion for mfi ioctls in COMPAT_LINUX
Allocate a character major number, and create /dev/mfi0 by default
on amd64 and i386.
This allows (along with a hand-created /emul/linux/proc/devices file)
to run the MegaCLI linux binary provided by LSI.

Revision 1.36.8.3 / (download) - annotate - [select for diffs], Wed Oct 24 03:19:19 2012 UTC (10 years, 3 months ago) by riz
Branch: netbsd-6
Changes since 1.36.8.2: +1318 -143 lines
Diff to previous 1.36.8.2 (colored) to branchpoint 1.36 (colored)

Pull up following revision(s) (requested by bouyer in ticket #628):
	sys/dev/ic/mfi.c: revision 1.40
	sys/dev/ic/mfi.c: revision 1.41
	sys/dev/ic/mfi.c: revision 1.42
	sys/dev/ic/mfi.c: revision 1.43
	sys/dev/ic/mfi.c: revision 1.44
	sys/dev/ic/mfi.c: revision 1.45
	sys/dev/ic/mfi.c: revision 1.46
	sys/dev/pci/pcidevs: revision 1.1128
	sys/dev/pci/mfi_pci.c: revision 1.15
	sys/dev/pci/mfi_pci.c: revision 1.16
	sys/dev/ic/mfi.c: revision 1.39
	sys/dev/ic/mfivar.h: revision 1.16
	sys/dev/ic/mfireg.h: revision 1.6
	sys/dev/ic/mfivar.h: revision 1.17
	sys/dev/ic/mfireg.h: revision 1.7
	sys/dev/ic/mfivar.h: revision 1.18
	sys/dev/ic/mfivar.h: revision 1.19
Add some support for 64bit DMA but stick to 32bit DMA for now.
From OpenBSD mfi.c rev 1.119.
Add LSI MegaRAID SAS2208
MFI_IOP_SKINNY is an enum not a single bit value, so it can't be used as
a bit flag. As sc_flags is really used to hold an enum mfi_iop value,
change it to enum mfi_iop and rename to sc_ioptype. While there init it
in mfi_attach() instead of mfi_pci_attach().
sg64.len is 32bits, so use htole32()
Really init sc_ioptype in mfi_attach()
Add support newer LSI RAID controllers based on the SAS2208 chip,
codenamed "ThunderBolt". Add tagged queuing support for all adapters
supported by mfi(4).
Tested with a MegaRAID SAS 9265-8i adapter, and an older Dell PERC 5/i.
Avoid "unused variable" warning for non-DIAGNOSTIC kernels.
Pointed out by Havard Eidnes
After discussion on tech-kern@, fix performance issue related to
cache flush commands from WAPBL, by skipping the cache flush if the
BBU is present and considered good. Users which still want the write back
cache with a non-working BBU can set vfs.wapbl.flush_disk_cache to 0.
- add commands to monitor the BBU state. Add a boolean BBU sensor
  to monitor the BBU state via sysmon_envsys(9).
- if the BBU is considered good, turn SCSI_SYNCHRONIZE_CACHE_10 and
  SCSI_SYNCHRONIZE_CACHE_16 commands from upper layer into NOOPs.
  While there, handle SCSI_SYNCHRONIZE_CACHE_16 in addition to
  SCSI_SYNCHRONIZE_CACHE_10.
- Add a shutdown pmf(9) handler, which flushes the cache and shutdown the
  firmware
- on detach, also flush cache and shutdown firmware.
- on attach, print the firmware-provided name, and the BBU state
Tested on a LSI MegaRAID SAS 9265-8i and a PERC 5/i Integrated
Make MFI_DEBUG build on i386.
Report BBU state changes with aprint_normal(), it seems that sysmon_envsys()
doens't report changes for ENVSYS_INDICATOR as it does for ENVSYS_DRIVE.

Revision 1.47 / (download) - annotate - [select for diffs], Wed Sep 19 21:24:29 2012 UTC (10 years, 4 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Changes since 1.46: +163 -2 lines
Diff to previous 1.46 (colored)

Add a pass-through ioctl for mfi(4), allowing userland to send raw commands
to the controller. This is compatible with the linux and FreeBSD
implementations.
Add the needed conversion for mfi ioctls in COMPAT_LINUX
Allocate a character major number, and create /dev/mfi0 by default
on amd64 and i386.
This allows (along with a hand-created /emul/linux/proc/devices file)
to run the MegaCLI linux binary provided by LSI.

Revision 1.46 / (download) - annotate - [select for diffs], Sun Aug 26 16:22:32 2012 UTC (10 years, 5 months ago) by bouyer
Branch: MAIN
Branch point for: tls-maxphys
Changes since 1.45: +13 -5 lines
Diff to previous 1.45 (colored)

Make MFI_DEBUG build on i386.
Report BBU state changes with aprint_normal(), it seems that sysmon_envsys()
doens't report changes for ENVSYS_INDICATOR as it does for ENVSYS_DRIVE.

Revision 1.45 / (download) - annotate - [select for diffs], Sun Aug 26 16:05:29 2012 UTC (10 years, 5 months ago) by bouyer
Branch: MAIN
Changes since 1.44: +243 -35 lines
Diff to previous 1.44 (colored)

After discussion on tech-kern@, fix performance issue related to
cache flush commands from WAPBL, by skipping the cache flush if the
BBU is present and considered good. Users which still want the write back
cache with a non-working BBU can set vfs.wapbl.flush_disk_cache to 0.
- add commands to monitor the BBU state. Add a boolean BBU sensor
  to monitor the BBU state via sysmon_envsys(9).
- if the BBU is considered good, turn SCSI_SYNCHRONIZE_CACHE_10 and
  SCSI_SYNCHRONIZE_CACHE_16 commands from upper layer into NOOPs.
  While there, handle SCSI_SYNCHRONIZE_CACHE_16 in addition to
  SCSI_SYNCHRONIZE_CACHE_10.
- Add a shutdown pmf(9) handler, which flushes the cache and shutdown the
  firmware
- on detach, also flush cache and shutdown firmware.
- on attach, print the firmware-provided name, and the BBU state
Tested on a LSI MegaRAID SAS 9265-8i and a PERC 5/i Integrated

Revision 1.44 / (download) - annotate - [select for diffs], Thu Aug 23 12:24:33 2012 UTC (10 years, 5 months ago) by bouyer
Branch: MAIN
Changes since 1.43: +3 -4 lines
Diff to previous 1.43 (colored)

Avoid "unused variable" warning for non-DIAGNOSTIC kernels.
Pointed out by Havard Eidnes

Revision 1.43 / (download) - annotate - [select for diffs], Thu Aug 23 09:59:13 2012 UTC (10 years, 5 months ago) by bouyer
Branch: MAIN
Changes since 1.42: +1051 -108 lines
Diff to previous 1.42 (colored)

Add support newer LSI RAID controllers based on the SAS2208 chip,
codenamed "ThunderBolt". Add tagged queuing support for all adapters
supported by mfi(4).
Tested with a MegaRAID SAS 9265-8i adapter, and an older Dell PERC 5/i.

Revision 1.42 / (download) - annotate - [select for diffs], Sun Aug 5 22:47:36 2012 UTC (10 years, 6 months ago) by bouyer
Branch: MAIN
Changes since 1.41: +4 -2 lines
Diff to previous 1.41 (colored)

Really init sc_ioptype in mfi_attach()

Revision 1.41 / (download) - annotate - [select for diffs], Sun Aug 5 17:23:25 2012 UTC (10 years, 6 months ago) by bouyer
Branch: MAIN
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

sg64.len is 32bits, so use htole32()

Revision 1.40 / (download) - annotate - [select for diffs], Sun Aug 5 15:50:49 2012 UTC (10 years, 6 months ago) by bouyer
Branch: MAIN
Changes since 1.39: +4 -4 lines
Diff to previous 1.39 (colored)

MFI_IOP_SKINNY is an enum not a single bit value, so it can't be used as
a bit flag. As sc_flags is really used to hold an enum mfi_iop value,
change it to enum mfi_iop and rename to sc_ioptype. While there init it
in mfi_attach() instead of mfi_pci_attach().

Revision 1.39 / (download) - annotate - [select for diffs], Sun Aug 5 14:54:01 2012 UTC (10 years, 6 months ago) by bouyer
Branch: MAIN
Changes since 1.38: +29 -14 lines
Diff to previous 1.38 (colored)

Add some support for 64bit DMA but stick to 32bit DMA for now.
From OpenBSD mfi.c rev 1.119.

Revision 1.36.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:34 2012 UTC (10 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.36: +73 -5 lines
Diff to previous 1.36 (colored)

sync with head

Revision 1.36.6.1 / (download) - annotate - [select for diffs], Thu Apr 5 21:33:26 2012 UTC (10 years, 10 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.36: +73 -5 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

sync to latest -current.

Revision 1.36.8.2 / (download) - annotate - [select for diffs], Thu Mar 22 23:04:27 2012 UTC (10 years, 10 months ago) by riz
Branch: netbsd-6
CVS Tags: 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
Changes since 1.36.8.1: +68 -4 lines
Diff to previous 1.36.8.1 (colored) to branchpoint 1.36 (colored)

Pull up following revision(s) (requested by sborrill in ticket #138):
	sys/dev/pci/mfi_pci.c: revision 1.13
	sys/dev/ic/mfi.c: revision 1.38
	sys/dev/ic/mfivar.h: revision 1.15
	sys/dev/ic/mfireg.h: revision 1.5
Add support for skinny variants (e.g. IBM ServeRAID M1015). Based on OpenBSD
changes with some improvements. Tested on IBM x3550M3 with RAID0 and RAID1
volumes including bioctl(8) operation.

Revision 1.36.8.1 / (download) - annotate - [select for diffs], Thu Mar 22 22:58:23 2012 UTC (10 years, 10 months ago) by riz
Branch: netbsd-6
Changes since 1.36: +7 -3 lines
Diff to previous 1.36 (colored)

Pull up following revision(s) (requested by sborrill in ticket #136):
	sys/dev/ic/mfi.c: revision 1.37
From OpenBSD. Fixes a deadlock during autoconf.
scrub more fields in the ccb when returning them to the free list after
theyve been used, in particular the mfi header flags which has a bit
that specifies if a command should be completed via the interrupt path.
if we use a ccb during boot we set that bit, but it isnt necessarily
cleared by things that use it later on. this means a ccb we expected to
complete via an interrupt never actually generates an interrupt or appears
in the reply queue. this obviously stalls the io.

Revision 1.38 / (download) - annotate - [select for diffs], Wed Mar 21 14:22:36 2012 UTC (10 years, 10 months ago) by sborrill
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base10
Changes since 1.37: +68 -4 lines
Diff to previous 1.37 (colored)

Add support for skinny variants (e.g. IBM ServeRAID M1015). Based on OpenBSD
changes with some improvements. Tested on IBM x3550M3 with RAID0 and RAID1
volumes including bioctl(8) operation.

Revision 1.37 / (download) - annotate - [select for diffs], Wed Mar 21 13:19:11 2012 UTC (10 years, 10 months ago) by sborrill
Branch: MAIN
Changes since 1.36: +7 -3 lines
Diff to previous 1.36 (colored)

From OpenBSD. Fixes a deadlock during autoconf.

scrub more fields in the ccb when returning them to the free list after
theyve been used, in particular the mfi header flags which has a bit
that specifies if a command should be completed via the interrupt path.

if we use a ccb during boot we set that bit, but it isnt necessarily
cleared by things that use it later on. this means a ccb we expected to
complete via an interrupt never actually generates an interrupt or appears
in the reply queue. this obviously stalls the io.

Revision 1.34.8.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:19:59 2011 UTC (11 years, 7 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.34: +4 -2 lines
Diff to previous 1.34 (colored) next main 1.35 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.36 / (download) - annotate - [select for diffs], Mon Jun 20 22:02:55 2011 UTC (11 years, 7 months ago) by pgoyette
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, netbsd-6, jmcneill-usbmp
Changes since 1.35: +3 -2 lines
Diff to previous 1.35 (colored)

Initialize current value for ENVSYS_DRIVE sensors

Revision 1.35 / (download) - annotate - [select for diffs], Mon Jun 20 17:48:46 2011 UTC (11 years, 7 months ago) by pgoyette
Branch: MAIN
Changes since 1.34: +3 -2 lines
Diff to previous 1.34 (colored)

Initializes sensors states before registering.

Revision 1.17.2.6 / (download) - annotate - [select for diffs], Wed Aug 11 22:53:28 2010 UTC (12 years, 5 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.17.2.5: +2 -3 lines
Diff to previous 1.17.2.5 (colored) to branchpoint 1.17 (colored) next main 1.18 (colored)

sync with head.

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:19 2010 UTC (12 years, 9 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.31: +69 -7 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

Sync with HEAD.

Revision 1.19.10.1 / (download) - annotate - [select for diffs], Wed Apr 21 00:27:36 2010 UTC (12 years, 9 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.19: +91 -35 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

sync to netbsd-5

Revision 1.19.4.4 / (download) - annotate - [select for diffs], Sun Mar 28 15:03:22 2010 UTC (12 years, 10 months ago) by snj
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, 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
Changes since 1.19.4.3: +80 -29 lines
Diff to previous 1.19.4.3 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored)

Apply patch (requested by msaitoh in ticket #1326):
Add support for MFI gen2 devices.  Mention newer devices, RAID 6 and
RAID60 in mfi.4.

Revision 1.34 / (download) - annotate - [select for diffs], Sun Mar 14 18:06:28 2010 UTC (12 years, 10 months ago) by pgoyette
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: cherry-xenmp
Changes since 1.33: +2 -3 lines
Diff to previous 1.33 (colored)

Remove setting of edata->monitor since that member no longer exists.

Revision 1.17.2.5 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:32 2010 UTC (12 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.17.2.4: +74 -7 lines
Diff to previous 1.17.2.4 (colored) to branchpoint 1.17 (colored)

sync with head

Revision 1.33 / (download) - annotate - [select for diffs], Tue Feb 9 00:05:18 2010 UTC (12 years, 11 months ago) by msaitoh
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9
Changes since 1.32: +63 -3 lines
Diff to previous 1.32 (colored)

Add newer cars supports. Tested on MegaRAID SAS 9260-8i.
 - Add MFI gen2 support from OpenBSD.
 - Add entry for MegaRAID SAS 9260-8i

Revision 1.32 / (download) - annotate - [select for diffs], Mon Feb 8 23:54:33 2010 UTC (12 years, 11 months ago) by msaitoh
Branch: MAIN
Changes since 1.31: +8 -5 lines
Diff to previous 1.31 (colored)

 Fix a bug that the system which has no logical volume panics in shutdown
hook. Without any logical volume, sysmon_envsys_register() fails. On such
case, sc->sc_sme must be NULL for the detach. Reviewed by dyoung and bouyer.

Revision 1.19.8.2 / (download) - annotate - [select for diffs], Wed Jan 27 21:43:48 2010 UTC (13 years ago) by sborrill
Branch: netbsd-5-0
CVS Tags: netbsd-5-0-2-RELEASE
Changes since 1.19.8.1: +7 -3 lines
Diff to previous 1.19.8.1 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored)

Pull up the following revisions(s) (requested by bouyer in ticket #1257):
	sys/dev/ic/mfi.c:	revision 1.31

bio(4) is MP-safe but mfi(4) is not. So get the kernel_lock at
mfi_ioctl() entry and release it on exit.

Revision 1.19.4.3 / (download) - annotate - [select for diffs], Wed Jan 27 21:40:25 2010 UTC (13 years ago) by sborrill
Branch: netbsd-5
Changes since 1.19.4.2: +7 -3 lines
Diff to previous 1.19.4.2 (colored) to branchpoint 1.19 (colored)

Pull up the following revisions(s) (requested by bouyer in ticket #1257):
	sys/dev/ic/mfi.c:	revision 1.31

bio(4) is MP-safe but mfi(4) is not. So get the kernel_lock at
mfi_ioctl() entry and release it on exit.

Revision 1.19.4.2 / (download) - annotate - [select for diffs], Wed Jan 27 21:33:36 2010 UTC (13 years ago) by sborrill
Branch: netbsd-5
Changes since 1.19.4.1: +2 -3 lines
Diff to previous 1.19.4.1 (colored) to branchpoint 1.19 (colored)

Pull up the following revisions(s) (requested by bouyer in ticket #1256):
	sys/dev/ic/mfi.c:	revision 1.21

Don't release CCB twice. Found by code inspection.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Jan 19 20:54:32 2010 UTC (13 years ago) by bouyer
Branch: MAIN
CVS Tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Changes since 1.30: +7 -3 lines
Diff to previous 1.30 (colored)

bio(4) is MP-safe but mfi(4) is not. So get the kernel_lock at
mfi_ioctl() entry and release it on exit.

Revision 1.17.2.4 / (download) - annotate - [select for diffs], Wed Sep 16 13:37:48 2009 UTC (13 years, 4 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.17.2.3: +24 -22 lines
Diff to previous 1.17.2.3 (colored) to branchpoint 1.17 (colored)

sync with head

Revision 1.30 / (download) - annotate - [select for diffs], Sun Sep 13 21:24:58 2009 UTC (13 years, 4 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, matt-premerge-20091211, jym-xensuspend-nbase
Changes since 1.29: +18 -18 lines
Diff to previous 1.29 (colored)

Delete whitespace at ends of lines.  No functional change intended.

Revision 1.19.8.1 / (download) - annotate - [select for diffs], Thu Sep 10 07:09:43 2009 UTC (13 years, 4 months ago) by snj
Branch: netbsd-5-0
Changes since 1.19: +8 -6 lines
Diff to previous 1.19 (colored)

Pull up following revision(s) (requested by bouyer in ticket #931):
	sys/dev/ic/mfi.c: revision 1.28 via patch
mfi.c still uses the spl() synchronisation scheme and so needs the kernel lock.
The sysmon subsystem is marked MPSAFE and so runs without the kernel lock.
So get the kernel lock in mfi_sensor_refresh()  before calling mfi_ioctl_vol().
This fixes command list corruption seen on heavy I/O load on the mfi driver(4).

Revision 1.19.4.1 / (download) - annotate - [select for diffs], Thu Sep 10 07:06:34 2009 UTC (13 years, 4 months ago) by snj
Branch: netbsd-5
Changes since 1.19: +8 -6 lines
Diff to previous 1.19 (colored)

Pull up following revision(s) (requested by bouyer in ticket #931):
	sys/dev/ic/mfi.c: revision 1.28 via patch
mfi.c still uses the spl() synchronisation scheme and so needs the kernel lock.
The sysmon subsystem is marked MPSAFE and so runs without the kernel lock.
So get the kernel lock in mfi_sensor_refresh() before calling mfi_ioctl_vol().
This fixes command list corruption seen on heavy I/O load on the mfi driver(4).

Revision 1.29 / (download) - annotate - [select for diffs], Thu Aug 27 09:40:39 2009 UTC (13 years, 5 months ago) by bouyer
Branch: MAIN
Changes since 1.28: +2 -3 lines
Diff to previous 1.28 (colored)

Oups, remove extra }

Revision 1.28 / (download) - annotate - [select for diffs], Wed Aug 26 21:41:05 2009 UTC (13 years, 5 months ago) by bouyer
Branch: MAIN
Changes since 1.27: +8 -5 lines
Diff to previous 1.27 (colored)

mfi.c still uses the spl() synchronisation scheme and so needs the kernel lock.
The sysmon subsystem is marked MPSAFE and so runs without the kernel lock.
So get the kernel lock in mfi_sensor_refresh()  before calling
mfi_ioctl_vol().
This fixes command list corruption seen on heavy I/O load on the mfi
driver(4).

Revision 1.20.2.2 / (download) - annotate - [select for diffs], Thu Jul 23 23:31:48 2009 UTC (13 years, 6 months ago) by jym
Branch: jym-xensuspend
Changes since 1.20.2.1: +130 -13 lines
Diff to previous 1.20.2.1 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

Sync with HEAD.

Revision 1.17.2.3 / (download) - annotate - [select for diffs], Sat Jul 18 14:53:02 2009 UTC (13 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.17.2.2: +130 -13 lines
Diff to previous 1.17.2.2 (colored) to branchpoint 1.17 (colored)

sync with head.

Revision 1.27 / (download) - annotate - [select for diffs], Thu Jul 16 18:58:38 2009 UTC (13 years, 6 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base7, yamt-nfs-mp-base6, jymxensuspend-base
Changes since 1.26: +47 -11 lines
Diff to previous 1.26 (colored)

Let us detach & re-attach children of mfi0.  Detach mfi0 at shutdown.

Detachment may fail after freeing some but not all resources, so
take care not to re-release any resource during detachment.

Tested on a Dell PowerEdge 1950.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Jul 16 18:10:00 2009 UTC (13 years, 6 months ago) by dyoung
Branch: MAIN
Changes since 1.25: +10 -10 lines
Diff to previous 1.25 (colored)

device_t/softc split.  Tested and shown to work on a Dell PowerEdge
1950.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Jul 16 01:30:10 2009 UTC (13 years, 6 months ago) by dyoung
Branch: MAIN
Changes since 1.24: +5 -5 lines
Diff to previous 1.24 (colored)

Try to detach ancestors (sd0 at scsibus0, scsibus0 at mfi0), first,
to avoid dangling references to envsys(4) sensors and such if
detaching the ancestors should fail.

Revision 1.24 / (download) - annotate - [select for diffs], Thu Jul 16 01:01:47 2009 UTC (13 years, 6 months ago) by dyoung
Branch: MAIN
Changes since 1.23: +83 -2 lines
Diff to previous 1.23 (colored)

Add a rudimentary detachment hook for mfi(4).

Revision 1.17.2.2 / (download) - annotate - [select for diffs], Sat May 16 10:41:23 2009 UTC (13 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.17.2.1: +4 -4 lines
Diff to previous 1.17.2.1 (colored) to branchpoint 1.17 (colored)

sync with head

Revision 1.20.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:19:23 2009 UTC (13 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.20: +6 -7 lines
Diff to previous 1.20 (colored)

Sync with HEAD.

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

Revision 1.23 / (download) - annotate - [select for diffs], Tue May 12 14:25:17 2009 UTC (13 years, 8 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base5, yamt-nfs-mp-base4, jym-xensuspend-base
Changes since 1.22: +4 -4 lines
Diff to previous 1.22 (colored)

struct device * -> device_t, no functional changes intended.

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Mon May 4 08:12:42 2009 UTC (13 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.17: +87 -65 lines
Diff to previous 1.17 (colored)

sync with head.

Revision 1.19.2.3 / (download) - annotate - [select for diffs], Tue Apr 28 07:35:26 2009 UTC (13 years, 9 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.19.2.2: +4 -4 lines
Diff to previous 1.19.2.2 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored)

Sync with HEAD.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Mar 18 16:00:18 2009 UTC (13 years, 10 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored)

bzero -> memset

Revision 1.19.2.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:30:45 2009 UTC (13 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.19.2.1: +2 -3 lines
Diff to previous 1.19.2.1 (colored) to branchpoint 1.19 (colored)

Sync with HEAD.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Feb 16 18:05:19 2009 UTC (13 years, 11 months ago) by mlelstv
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Changes since 1.20: +2 -3 lines
Diff to previous 1.20 (colored)

Don't release CCB twice. Found by code inspection.

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:17:55 2009 UTC (14 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.19: +4 -4 lines
Diff to previous 1.19 (colored)

Sync with HEAD.

Revision 1.11.14.4 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:55 2009 UTC (14 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.11.14.3: +82 -59 lines
Diff to previous 1.11.14.3 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

Sync with HEAD.

Revision 1.20 / (download) - annotate - [select for diffs], Sat Jan 3 03:43:22 2009 UTC (14 years, 1 month ago) by yamt
Branch: MAIN
CVS Tags: mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.19: +4 -4 lines
Diff to previous 1.19 (colored)

remove extra semicolons.

Revision 1.18.2.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:14:14 2008 UTC (14 years, 1 month ago) by haad
Branch: haad-dm
Changes since 1.18: +82 -59 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

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

Revision 1.19 / (download) - annotate - [select for diffs], Thu Oct 23 21:00:06 2008 UTC (14 years, 3 months ago) by bouyer
Branch: MAIN
CVS Tags: 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, 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-base, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, netbsd-5-0, netbsd-5, matt-nb5-mips64
Changes since 1.18: +82 -59 lines
Diff to previous 1.18 (colored)

Change mfi_mgmt() to take a mfi_ccb and scsipi_xfer as argument, as
mfi_scsi_io does. Do not tsleep in mfi_mgmt waiting for completion;
let the caller handle it. If mfi_mgmt() is called with a non-NULL scsipi_xfer
have mfi_mgmt_done() wake it up, else wake up the mfi_ccb.
mfi_poll()/mfi_post() is up to the caller.

mfi_scsipi_request(): handle SCSI_SYNCHRONIZE_CACHE_10 as we do for other
commmands: have mfi_mgmt() fill in the ccb, queue of poll the ccb and
return.

Introduce mfi_mgmt_internal() which behaves like mfi_mgmt() did (tsleep
waiting for completion). Use it for internal and ioctl management
requests.

Fix kern/39297 from Greg Oster (mfi calls tsleep() from mfi_intr()),
tested by Mark Davies.

Revision 1.17.4.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:35:04 2008 UTC (14 years, 4 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.11.14.3 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:07 2008 UTC (14 years, 7 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.11.14.2: +1 -1 lines
Diff to previous 1.11.14.2 (colored) to branchpoint 1.11 (colored)

Sync with HEAD.

Revision 1.17.6.1 / (download) - annotate - [select for diffs], Fri Jun 27 15:11:21 2008 UTC (14 years, 7 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

Sync with head.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Jun 24 10:08:43 2008 UTC (14 years, 7 months ago) by gmcgarry
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base, haad-dm-base1
Branch point for: haad-dm
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

status is unsigned.

Revision 1.11.14.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:24 2008 UTC (14 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.11.14.1: +4 -4 lines
Diff to previous 1.11.14.1 (colored) to branchpoint 1.11 (colored)

Sync with HEAD.

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:33:44 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-pf42
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

sync with head.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Apr 22 22:49:49 2008 UTC (14 years, 9 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, yamt-nfs-mp-base, wrstuden-revivesa-base-1, wrstuden-revivesa-base, hpcarm-cleanup-nbase
Branch point for: yamt-nfs-mp, wrstuden-revivesa, simonb-wapbl
Changes since 1.16: +2 -7 lines
Diff to previous 1.16 (colored)

revert rev. 1.16 and redo the fix as proposed by oster per private mail

Revision 1.16 / (download) - annotate - [select for diffs], Tue Apr 22 09:29:08 2008 UTC (14 years, 9 months ago) by cegger
Branch: MAIN
Changes since 1.15: +9 -4 lines
Diff to previous 1.15 (colored)

Fix error path:
Don't try to free non-allocated memory. Only free allocated memory.
This fixes a crash reported by Brian A. Seklecki on port-xen:
http://mail-index.netbsd.org/port-xen/2008/04/10/msg003555.html

Fix tested by Brian A. Seklecki:
http://mail-index.netbsd.org/port-xen/2008/04/21/msg003604.html

Revision 1.15 / (download) - annotate - [select for diffs], Tue Apr 8 12:07:26 2008 UTC (14 years, 9 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base
Branch point for: yamt-pf42
Changes since 1.14: +5 -5 lines
Diff to previous 1.14 (colored)

use aprint_*_dev and device_xname

Revision 1.11.14.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:41 2008 UTC (14 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.11: +256 -176 lines
Diff to previous 1.11 (colored)

Sync with HEAD.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Mar 27 21:15:29 2008 UTC (14 years, 10 months ago) by xtraeme
Branch: MAIN
Changes since 1.13: +15 -8 lines
Diff to previous 1.13 (colored)

Add back the bus_dmamap_sync() calls that were in the old
mfi_despatch_cmd() func after merging changes in rev 1.12.

Merge rev 1.69 and 1.64 from openbsd, fixing two bugs:

Fix subtle x ? y : z bug when calling mfi_create_sgl. This worked because
during runtime the bug condition does not happen.

When determining the size of the volumes and disks we want how many
bytes each of them has, not the number of kilobytes. this solves the
"why am i dividing by 2" question. the answer is "you dont, you multiply
by 512".

The first item fixes a panic with Dell Perc 5/i reported by oster@.
Changes tested on Dell Perc 5/i by oster@.

Revision 1.11.10.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:15:17 2008 UTC (14 years, 10 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.11: +243 -170 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

sync with head.

Revision 1.8.8.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:38 2008 UTC (14 years, 10 months ago) by matt
Branch: matt-armv6
Changes since 1.8.8.2: +243 -170 lines
Diff to previous 1.8.8.2 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

sync with HEAD

Revision 1.2.6.6 / (download) - annotate - [select for diffs], Wed Feb 27 08:36:34 2008 UTC (14 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2.6.5: +243 -170 lines
Diff to previous 1.2.6.5 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

sync with head.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Feb 25 21:22:32 2008 UTC (14 years, 11 months ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, hpcarm-cleanup-base, ad-socklock-base1
Changes since 1.12: +141 -152 lines
Diff to previous 1.12 (colored)

Apply some KNF to this driver and do some random changes as well:

- Change malloc + memset(blah, 0, ...)  to malloc with M_ZERO.
- The adapt_ioctl assigned was returning ENOTTY, so there's no point
  on having it.
- Static'ify.

I believe there are some paths on this driver where the splbio()s
are not needed, but can't test to verify...

Revision 1.12 / (download) - annotate - [select for diffs], Mon Feb 25 10:46:02 2008 UTC (14 years, 11 months ago) by xtraeme
Branch: MAIN
Changes since 1.11: +120 -36 lines
Diff to previous 1.11 (colored)

Added support for the mfi(4) controllers with powerpc IOPs such as
LSI SAS1078 or Dell PERC 6, from OpenBSD.

Tested by Akira Kato on current-users@.

Revision 1.8.8.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:52:55 2008 UTC (15 years ago) by matt
Branch: matt-armv6
Changes since 1.8.8.1: +30 -27 lines
Diff to previous 1.8.8.1 (colored) to branchpoint 1.8 (colored)

sync with HEAD

Revision 1.2.6.5 / (download) - annotate - [select for diffs], Fri Dec 7 17:29:55 2007 UTC (15 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2.6.4: +30 -27 lines
Diff to previous 1.2.6.4 (colored) to branchpoint 1.2 (colored)

sync with head

Revision 1.8.6.3 / (download) - annotate - [select for diffs], Wed Nov 21 21:54:53 2007 UTC (15 years, 2 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.8.6.2: +30 -27 lines
Diff to previous 1.8.6.2 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

Sync with HEAD.

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Mon Nov 19 00:47:53 2007 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.10: +30 -27 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Sync with HEAD.

Revision 1.9.4.2 / (download) - annotate - [select for diffs], Sun Nov 18 19:35:25 2007 UTC (15 years, 2 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.9.4.1: +28 -25 lines
Diff to previous 1.9.4.1 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

Sync with HEAD

Revision 1.11 / (download) - annotate - [select for diffs], Fri Nov 16 08:00:14 2007 UTC (15 years, 2 months ago) by xtraeme
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, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.10: +30 -27 lines
Diff to previous 1.10 (colored)

Extend the envsys2 API (one more time, sorry) as defined in:

http://mail-index.netbsd.org/tech-kern/2007/11/09/0001.html

sysmon_envsys_create() and sysmon_envsys_destroy() were added to
create/destroy sysmon_envsys objects (and its TAILQ/LIST for sensors/events).

sysmon_envsys_sensor_attach() and sysmon_envsys_sensor_detach() were
added to attach/detach sensors to a specified sysmon_envsys device.

The events framework is now per device and configurable via the
ENVSYS_SETDICTIONARY ioctl or /etc/envsys.conf and envstat(8).

Update all users and documentation to reflect these changes.

Revision 1.8.8.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:26:53 2007 UTC (15 years, 3 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.8: +4 -4 lines
Diff to previous 1.8 (colored)

sync with HEAD

Revision 1.2.6.4 / (download) - annotate - [select for diffs], Sat Oct 27 11:30:52 2007 UTC (15 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2.6.3: +4 -4 lines
Diff to previous 1.2.6.3 (colored) to branchpoint 1.2 (colored)

sync with head.

Revision 1.8.6.2 / (download) - annotate - [select for diffs], Fri Oct 26 15:44:53 2007 UTC (15 years, 3 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.8.6.1: +3 -3 lines
Diff to previous 1.8.6.1 (colored) to branchpoint 1.8 (colored)

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.9.4.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:37:49 2007 UTC (15 years, 3 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

Sync with HEAD.

Revision 1.3.2.4 / (download) - annotate - [select for diffs], Tue Oct 23 20:07:35 2007 UTC (15 years, 3 months ago) by ad
Branch: vmlocking
Changes since 1.3.2.3: +3 -3 lines
Diff to previous 1.3.2.3 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Sync with head.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Oct 19 11:59:56 2007 UTC (15 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: jmcneill-base
Branch point for: mjf-devfs
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

Revision 1.2.4.3 / (download) - annotate - [select for diffs], Mon Oct 15 05:09:59 2007 UTC (15 years, 3 months ago) by riz
Branch: netbsd-3
Changes since 1.2.4.2: +136 -120 lines
Diff to previous 1.2.4.2 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Pull up following revisions via patch (requested by bouyer in ticket #1838):
	distrib/sets/lists/man/mi: revision 1.997
	sbin/bioctl/strtonum.c: revision 1.1
	sys/dev/Makefile: revision 1.25
	sys/arch/amd64/conf/GENERIC: revision 1.139
	sbin/bioctl/strtonum.h: revision 1.1
	sys/dev/bio.c: revision 1.1
	sbin/bioctl/bioctl.c: revision 1.1
	share/man/man4/bio.4: revision 1.1
	sbin/bioctl/bioctl.8: revision 1.1
	sys/sys/envsys.h: revision 1.11
	sbin/bioctl/bioctl.8: revision 1.3
	sbin/bioctl/bioctl.8: revision 1.4
	sys/arch/i386/conf/XEN2_DOM0: revision 1.25
	distrib/sets/lists/base/mi: revision 1.704
	sys/conf/majors: revision 1.34
	share/man/man4/Makefile: revision 1.426
	etc/MAKEDEV.tmpl: revision 1.86
	sys/arch/i386/conf/GENERIC: revision 1.825
	distrib/sets/lists/comp/mi: revision 1.1022
	sys/conf/files: revision 1.839
	usr.sbin/envstat/envstat.c: revision 1.24
	sbin/Makefile: revision 1.105
	sys/dev/ic/mfi.c: revision 1.4
	sys/dev/biovar.h: revision 1.1
	sys/dev/ic/mfivar.h: revision 1.4
	sbin/bioctl/Makefile: revision 1.1
Fix typo.
Add bio(4) and associated bioctl(8) from OpenBSD, a driver control block
device controllers, and more specifically raid controllers.
Add a new sensor type, ENVSYS_DRIVE, to report drive status. From OpenBSD.
Add bio and sysmon support to mfi(4). This allow userland to query
status for drives and logical volumes attached to a mfi(4) controller. While
there fix some debug printfs in mfi so they compile.
Add bio(4) to amd64 and i386 GENERIC.
Add bio(4) and associated bioctl(8) from OpenBSD, a driver control block
device controllers, and more specifically raid controllers.
Add a new sensor type, ENVSYS_DRIVE, to report drive status. From OpenBSD.
Add bio and sysmon support to mfi(4). This allow userland to query
status for drives and logical volumes attached to a mfi(4) controller. While
there fix some debug printfs in mfi so they compile.
Add bio(4) to amd64 and i386 GENERIC.
Fix Dd argument (use full month names).
Use more markup.
Comment out references to safte(4) and softraid(4), which don't exist in
NetBSD.
Remove trailing whitespace.
Use macros instead of characters for HTML output (replace ">", "<"
with \*[Gt], \*[Lt]).
Sort sections.
Create /dev/bio

Revision 1.3.2.3 / (download) - annotate - [select for diffs], Tue Oct 9 13:41:28 2007 UTC (15 years, 3 months ago) by ad
Branch: vmlocking
Changes since 1.3.2.2: +3 -3 lines
Diff to previous 1.3.2.2 (colored) to branchpoint 1.3 (colored)

Sync with head.

Revision 1.8.6.1 / (download) - annotate - [select for diffs], Tue Oct 2 18:28:24 2007 UTC (15 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Sync with HEAD.

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Mon Sep 10 10:54:51 2007 UTC (15 years, 4 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Sync with HEAD.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Sep 4 20:46:00 2007 UTC (15 years, 5 months ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, nick-csl-alignment-base5
Branch point for: bouyer-xenamd64
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

s/ENVSYS_FMONDRVSTATE/ENVSYS_FMONSTCHANGED/. Noticed by Manuel Bouyer@.

Revision 1.2.6.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:34:55 2007 UTC (15 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2.6.2: +112 -123 lines
Diff to previous 1.2.6.2 (colored) to branchpoint 1.2 (colored)

sync with head.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Sun Jul 15 13:21:16 2007 UTC (15 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.3.2.1: +25 -52 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored)

Sync with head.

Revision 1.3.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:06:00 2007 UTC (15 years, 6 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.3: +108 -119 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Sync with head.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jul 4 17:07:04 2007 UTC (15 years, 7 months ago) by xtraeme
Branch: MAIN
CVS Tags: nick-csl-alignment-base, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: nick-csl-alignment, matt-armv6, jmcneill-pm
Changes since 1.7: +2 -4 lines
Diff to previous 1.7 (colored)

mfi_sensor_gtredata:

- There's no need to set edata->units again, it was set already before.
- Remove the last ENVSYS_SVALID assignment that overrides previous
  assignments (found by mhitch@).

Revision 1.7 / (download) - annotate - [select for diffs], Sun Jul 1 11:35:31 2007 UTC (15 years, 7 months ago) by xtraeme
Branch: MAIN
Changes since 1.6: +2 -4 lines
Diff to previous 1.6 (colored)

There's no need to set ENVSYS_FMONNOTSUPP in sensor's flags anymore,
userland limits for this type of sensor is disabled by sysmon_envsys(9).

Revision 1.6 / (download) - annotate - [select for diffs], Sun Jul 1 07:37:14 2007 UTC (15 years, 7 months ago) by xtraeme
Branch: MAIN
Changes since 1.5: +29 -52 lines
Diff to previous 1.5 (colored)

Imported envsys 2, a brief description of the new features:
(Part 2: drivers)

* Support for detachable sensors.
* Cleaned up the API for simplicity and efficiency.
* Ability to send capacity/critical/warning events to powerd(8).
* Adapted all the code to the new locking order.
* Compatibility with the old envsys API: the ENVSYS_GTREINFO
  and ENVSYS_GTREDATA ioctl(2)s are supported.
* Added support for a 'dictionary based communication channel' between
  sysmon_power(9) and powerd(8), that means there is no 32 bytes event
  size restriction anymore.
* Binary compatibility with old envstat(8) and powerd(8) via COMPAT_40.
* All drivers with the n^2 gtredata bug were fixed, PR kern/36226.

Tested by:

blymn: smsc(4).
bouyer: ipmi(4), mfi(4).
kefren: ug(4).
njoly: viaenv(4), adt7463.c.
riz: owtemp(4).
xtraeme: acpiacad(4), acpibat(4), acpitz(4), aiboost(4), it(4), lm(4).

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Sun May 27 14:30:05 2007 UTC (15 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.3: +136 -120 lines
Diff to previous 1.3 (colored)

Sync with head.

Revision 1.2.2.4 / (download) - annotate - [select for diffs], Tue May 8 10:45:18 2007 UTC (15 years, 9 months ago) by pavel
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.2.2.3: +136 -120 lines
Diff to previous 1.2.2.3 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Pull up following revision(s) (requested by bouyer in ticket #603):
	distrib/sets/lists/base/mi: revision 1.704
	distrib/sets/lists/comp/mi: revision 1.1022
	distrib/sets/lists/man/mi: revision 1.997
	doc/CHANGES: revision 1.839
	sbin/Makefile: patch
	sbin/bioctl/Makefile: revision 1.1
	sbin/bioctl/bioctl.8: revision 1.1
	sbin/bioctl/bioctl.c: revision 1.1
	sbin/bioctl/strtonum.c: revision 1.1
	sbin/bioctl/strtonum.h: revision 1.1
	share/man/man4/Makefile: revision 1.426
	share/man/man4/bio.4: revision 1.1
	sys/arch/amd64/conf/GENERIC: revision 1.139
	sys/arch/i386/conf/GENERIC: revision 1.825
	sys/arch/i386/conf/XEN2_DOM0: revision 1.25
	sys/conf/files: revision 1.839
	sys/conf/majors: patch
	sys/dev/Makefile: revision 1.25
	sys/dev/bio.c: patch
	sys/dev/biovar.h: patch
	sys/dev/ic/mfi.c: revision 1.4-1.5
	sys/dev/ic/mfivar.h: revision 1.4
	sys/sys/envsys.h: revision 1.11
	usr.sbin/envstat/envstat.c: revision 1.24
Add bio(4) and associated bioctl(8) from OpenBSD, a driver control block
device controllers, and more specifically raid controllers.
Add a new sensor type, ENVSYS_DRIVE, to report drive status. From OpenBSD.
Add bio and sysmon support to mfi(4). This allow userland to query
status for drives and logical volumes attached to a mfi(4) controller. While
there fix some debug printfs in mfi so they compile.
Add bio(4) to amd64 and i386 GENERIC.

note bio(4), envsys(4) DRIVE, and mfi(4) support for both.

tred->sensor is a u_int.

Revision 1.2.10.2 / (download) - annotate - [select for diffs], Mon May 7 10:55:26 2007 UTC (15 years, 9 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.2.10.1: +136 -120 lines
Diff to previous 1.2.10.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

sync with head.

Revision 1.5 / (download) - annotate - [select for diffs], Tue May 1 19:39:22 2007 UTC (15 years, 9 months ago) by dogcow
Branch: MAIN
CVS Tags: yamt-idlelwp-base8
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

tred->sensor is a u_int.

Revision 1.4 / (download) - annotate - [select for diffs], Tue May 1 17:18:55 2007 UTC (15 years, 9 months ago) by bouyer
Branch: MAIN
Changes since 1.3: +136 -120 lines
Diff to previous 1.3 (colored)

Add bio(4) and associated bioctl(8) from OpenBSD, a driver control block
device controllers, and more specifically raid controllers.
Add a new sensor type, ENVSYS_DRIVE, to report drive status. From OpenBSD.
Add bio and sysmon support to mfi(4). This allow userland to query
status for drives and logical volumes attached to a mfi(4) controller. While
there fix some debug printfs in mfi so they compile.
Add bio(4) to amd64 and i386 GENERIC.

Revision 1.2.10.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:53:38 2007 UTC (15 years, 10 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.2: +6 -6 lines
Diff to previous 1.2 (colored)

Sync with HEAD.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Mar 4 06:01:58 2007 UTC (15 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, mjf-ufs-trans
Changes since 1.2: +6 -6 lines
Diff to previous 1.2 (colored)

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

Revision 1.2.8.2 / (download) - annotate - [select for diffs], Fri Jan 12 00:57:36 2007 UTC (16 years ago) by ad
Branch: newlock2
Changes since 1.2.8.1: +1950 -0 lines
Diff to previous 1.2.8.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Sync with head.

Revision 1.2.6.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:48:03 2006 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2.6.1: +1950 -0 lines
Diff to previous 1.2.6.1 (colored) to branchpoint 1.2 (colored)

sync with head.

Revision 1.2.4.2 / (download) - annotate - [select for diffs], Sat Dec 23 16:43:19 2006 UTC (16 years, 1 month ago) by ghen
Branch: netbsd-3
Changes since 1.2.4.1: +1950 -0 lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored)

Pull up following revision(s) (requested by bouyer in ticket #1609):
	sys/arch/i386/conf/INSTALL: revision 1.298
	sys/arch/i386/conf/GENERIC: revision 1.802
	sys/dev/pci/files.pci: revision 1.274
	sys/arch/amd64/conf/GENERIC: revision 1.122
	sys/dev/pci/mfi_pci.c: revision 1.1 via patch
	distrib/sets/lists/man/mi: revision 1.958
	sys/arch/amd64/conf/INSTALL: revision 1.61
	sys/dev/ic/mfireg.h: revision 1.1
	share/man/man4/Makefile: revision 1.416 via patch
	sys/dev/ic/mfi.c: revision 1.1
	sys/arch/i386/conf/XEN2_DOM0: revision 1.19
	sys/dev/ic/mfivar.h: revision 1.1
	sys/conf/files: revision 1.821
	share/man/man4/mfi.4: revision 1.1
	share/man/man4/mfi.4: revision 1.2
	sys/dev/pci/pcidevs via patch
Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.
Punctuation issues.

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Thu Dec 21 15:07:58 2006 UTC (16 years, 1 month ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.1.2.2: +4 -0 lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

sync with head.

Revision 1.2.2.3 / (download) - annotate - [select for diffs], Thu Dec 21 14:21:24 2006 UTC (16 years, 1 month ago) by tron
Branch: netbsd-4
Changes since 1.2.2.2: +4 -0 lines
Diff to previous 1.2.2.2 (colored) to branchpoint 1.2 (colored)

Pull up following revision(s) (requested by bouyer in ticket #286):
	sys/dev/pci/mfi_pci.c: revision 1.2
	sys/dev/ic/mfireg.h: revision 1.2
	sys/dev/ic/mfi.c: revision 1.2
	sys/dev/ic/mfivar.h: revision 1.2
Add missing $NetBSD: $

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Thu Dec 21 12:46:21 2006 UTC (16 years, 1 month ago) by tron
Branch: netbsd-4
Changes since 1.2.2.1: +1946 -0 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored)

Pull up following revision(s) (requested by bouyer in ticket #286):
	sys/arch/i386/conf/INSTALL: revision 1.298
	sys/arch/i386/conf/GENERIC: revision 1.802
	sys/dev/pci/files.pci: revision 1.274
	sys/arch/amd64/conf/GENERIC: revision 1.122
	sys/dev/pci/mfi_pci.c: revision 1.1
	distrib/sets/lists/man/mi: revision 1.958
	sys/arch/amd64/conf/INSTALL: revision 1.61
	sys/arch/i386/conf/ALL: revision 1.75
	sys/dev/ic/mfireg.h: revision 1.1
	share/man/man4/Makefile: revision 1.416
	sys/dev/ic/mfi.c: revision 1.1
	sys/arch/i386/conf/XEN2_DOM0: revision 1.19
	sys/dev/ic/mfivar.h: revision 1.1
	sys/conf/files: revision 1.821
	share/man/man4/mfi.4: revision 1.1
Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.

Revision 1.2.8.1, Wed Dec 20 21:44:06 2006 UTC (16 years, 1 month ago) by ad
Branch: newlock2
Changes since 1.2: +0 -1950 lines
FILE REMOVED

file mfi.c was added on branch newlock2 on 2007-01-12 00:57:36 +0000

Revision 1.2.6.1, Wed Dec 20 21:44:06 2006 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2: +0 -1950 lines
FILE REMOVED

file mfi.c was added on branch yamt-lazymbuf on 2006-12-30 20:48:03 +0000

Revision 1.2.4.1, Wed Dec 20 21:44:06 2006 UTC (16 years, 1 month ago) by ghen
Branch: netbsd-3
Changes since 1.2: +0 -1950 lines
FILE REMOVED

file mfi.c was added on branch netbsd-3 on 2006-12-23 16:43:19 +0000

Revision 1.2.2.1, Wed Dec 20 21:44:06 2006 UTC (16 years, 1 month ago) by tron
Branch: netbsd-4
Changes since 1.2: +0 -1950 lines
FILE REMOVED

file mfi.c was added on branch netbsd-4 on 2006-12-21 12:46:21 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Wed Dec 20 21:44:06 2006 UTC (16 years, 1 month ago) by bouyer
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, post-newlock2-merge, newlock2-nbase, newlock2-base, ad-audiomp-base, ad-audiomp
Branch point for: yamt-lazymbuf, yamt-idlelwp, newlock2, netbsd-4, netbsd-3
Changes since 1.1: +4 -0 lines
Diff to previous 1.1 (colored)

Add missing $NetBSD: $

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Mon Dec 18 11:42:13 2006 UTC (16 years, 1 month ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.1.2.1: +1946 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored)

sync with head.

Revision 1.1.2.1, Sun Dec 17 22:57:15 2006 UTC (16 years, 1 month ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.1: +0 -1946 lines
FILE REMOVED

file mfi.c was added on branch yamt-splraiseipl on 2006-12-18 11:42:13 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Sun Dec 17 22:57:15 2006 UTC (16 years, 1 month ago) by bouyer
Branch: MAIN
CVS Tags: yamt-splraiseipl-base4
Branch point for: yamt-splraiseipl

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.

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>