The NetBSD Project

CVS log for src/sys/dev/i2c/spdmem_i2c.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.26 / (download) - annotate - [select for diffs], Wed Mar 30 00:06:50 2022 UTC (2 years ago) by pgoyette
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

These modules need to depend on iic, not just on i2cexec.  (They will
still recursively get i2cexec since the iic depends on it.)

Partial fix for kern/56772

Revision 1.13.8.2 / (download) - annotate - [select for diffs], Tue Dec 7 11:29:57 2021 UTC (2 years, 4 months ago) by martin
Branch: netbsd-8
Changes since 1.13.8.1: +7 -3 lines
Diff to previous 1.13.8.1 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)

Pull up the following revisions, requested by msaitoh in ticket #1717

	sys/dev/i2c/spdmem_i2c.c		1.23-1.25 via patch

- Carefully access to the I2C bus in the match function.
- Improve bank reset code for DDR4.

Revision 1.17.4.1 / (download) - annotate - [select for diffs], Tue Dec 7 11:25:12 2021 UTC (2 years, 4 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE
Changes since 1.17: +7 -3 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

Pull up the following revisions, requested by msaitoh in ticket #1388:

	sys/dev/i2c/spdmem_i2c.c		1.23-1.25 via patch

- Carefully access to the I2C bus in the match function.
- Improve bank reset code for DDR4.

Revision 1.25 / (download) - annotate - [select for diffs], Mon Dec 6 16:24:57 2021 UTC (2 years, 4 months ago) by msaitoh
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

Check the return value correctly. Pointed out by pgoyette@.

Revision 1.24 / (download) - annotate - [select for diffs], Mon Dec 6 04:25:36 2021 UTC (2 years, 4 months ago) by msaitoh
Branch: MAIN
Changes since 1.23: +5 -2 lines
Diff to previous 1.23 (colored)

Carefully access to the I2C bus in the match function.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Nov 30 05:02:29 2021 UTC (2 years, 4 months ago) by msaitoh
Branch: MAIN
Changes since 1.22: +3 -2 lines
Diff to previous 1.22 (colored)

Access byte2...

Revision 1.22.6.1 / (download) - annotate - [select for diffs], Mon Aug 9 00:30:09 2021 UTC (2 years, 8 months ago) by thorpej
Branch: thorpej-i2c-spi-conf2
Changes since 1.22: +79 -30 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

Port over the changes from thorpej-i2c-spi-conf to thorpej-i2c-spi-conf2,
which is based on a newer HEAD revision.

Revision 1.21.4.6 / (download) - annotate - [select for diffs], Thu Jun 17 04:46:28 2021 UTC (2 years, 9 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.21.4.5: +6 -5 lines
Diff to previous 1.21.4.5 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

Sync w/ HEAD.

Revision 1.22 / (download) - annotate - [select for diffs], Sun Jun 13 09:48:04 2021 UTC (2 years, 10 months ago) by mlelstv
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2
Branch point for: thorpej-i2c-spi-conf2
Changes since 1.21: +8 -4 lines
Diff to previous 1.21 (colored)

iic_acquire_bus can fail

Revision 1.21.4.5 / (download) - annotate - [select for diffs], Sun May 16 22:56:47 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.21.4.4: +3 -5 lines
Diff to previous 1.21.4.4 (colored) to branchpoint 1.21 (colored)

Tweak previous to deal better with "device tree node describes empty
DIMM slot" problem.

Revision 1.21.4.4 / (download) - annotate - [select for diffs], Sun May 16 22:53:57 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.21.4.3: +20 -10 lines
Diff to previous 1.21.4.3 (colored) to branchpoint 1.21 (colored)

Go back to probing in the direct config case, and return a high confidence
match value if the SPD probe succeeds.  This ensures that we beat a generic
i2c serial eeprom driver if the contents looks like they contain SPD data.

Revision 1.21.4.3 / (download) - annotate - [select for diffs], Sun May 16 15:40:20 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.21.4.2: +7 -4 lines
Diff to previous 1.21.4.2 (colored) to branchpoint 1.21 (colored)

Check for errors from iic_acquire_bus().

Revision 1.21.4.2 / (download) - annotate - [select for diffs], Sun May 16 15:27:12 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.21.4.1: +70 -42 lines
Diff to previous 1.21.4.1 (colored) to branchpoint 1.21 (colored)

The last change had an unfortunate side-effect on empty DIMM slots, so
roll that back.  Instead, if we used direct config, then probe for the
module in the attach routine and report if the module is not present,
rather than assuming that it is.

Encapsulate the direct config logic for SPD into one place for clarity.

Revision 1.21.4.1 / (download) - annotate - [select for diffs], Sun May 16 05:16:21 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.21: +33 -20 lines
Diff to previous 1.21 (colored)

SPD stands for "Serial Presence Detect".  This implies that
if we're using direct configuration that we should treat
that as a *hint*... it's entirely possible that a device
tree lists locations where SPD memory can be found, not
necessarily where memory is known to be present.

Accordingly, if we get a direct configuration match based
on compatible data or device name, we still check to see
if the device is there.

Revision 1.18.8.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:44 2021 UTC (3 years ago) by thorpej
Branch: thorpej-futex
Changes since 1.18: +5 -5 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Sync with HEAD.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Jan 27 02:29:48 2021 UTC (3 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-i2c-spi-conf
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

Use DEVICE_COMPAT_EOL.

Revision 1.20 / (download) - annotate - [select for diffs], Mon Jan 25 13:30:20 2021 UTC (3 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.19: +3 -4 lines
Diff to previous 1.19 (colored)

Since we're using designated initialisers for compat data, we should
use a completely empty initializer for the sentinel.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Jan 17 21:42:35 2021 UTC (3 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.18: +6 -5 lines
Diff to previous 1.18 (colored)

Use designated initializers and a consistent termination style in
compat_data[].

Revision 1.15.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:05 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.15.2.1: +10 -10 lines
Diff to previous 1.15.2.1 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

Merge changes from current as of 20200406

Revision 1.18 / (download) - annotate - [select for diffs], Mon Dec 23 14:55:22 2019 UTC (4 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: 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-futex
Changes since 1.17: +10 -10 lines
Diff to previous 1.17 (colored)

No need to use I2C_F_POLL here.

Revision 1.13.8.1 / (download) - annotate - [select for diffs], Sat Nov 16 16:26:17 2019 UTC (4 years, 4 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE
Changes since 1.13: +7 -6 lines
Diff to previous 1.13 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #1442):

	sys/dev/i2c/spdmem_i2c.c: revision 1.14

Use 1-byte data-buffers when writing to the "control" device for the
SPD ROMs (we do this for page-selection).  The imcsmb doesn't support
zero-byte transfers.

With this, I'm able to get the data for all 8 of my DIMMs (on two
different imcsmb busses) using the spdmem(4) driver.  And the data
decodes correctly using the decode-dimms utility (from the linux
i2ctools).

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

Sync with HEAD

Revision 1.14.2.3 / (download) - annotate - [select for diffs], Sat Oct 20 06:58:31 2018 UTC (5 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.14.2.2: +5 -4 lines
Diff to previous 1.14.2.2 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

Sync with head

Revision 1.17 / (download) - annotate - [select for diffs], Sat Oct 20 03:23:05 2018 UTC (5 years, 5 months ago) by macallan
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, netbsd-9-base, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, isaki-audio2-base, isaki-audio2
Branch point for: netbsd-9
Changes since 1.16: +5 -4 lines
Diff to previous 1.16 (colored)

match "i2c-at34c02", found in various sparc64 boxes

Revision 1.14.2.2 / (download) - annotate - [select for diffs], Sun Sep 30 01:45:50 2018 UTC (5 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.14.2.1: +11 -2 lines
Diff to previous 1.14.2.1 (colored) to branchpoint 1.14 (colored)

Ssync with HEAD

Revision 1.16 / (download) - annotate - [select for diffs], Wed Sep 26 20:15:08 2018 UTC (5 years, 6 months ago) by jakllsch
Branch: MAIN
CVS Tags: pgoyette-compat-0930
Changes since 1.15: +11 -2 lines
Diff to previous 1.15 (colored)

match spdmem_i2c on "atmel,spd" compatible string

Revision 1.14.2.1 / (download) - annotate - [select for diffs], Mon Jun 25 07:25:50 2018 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.14: +16 -3 lines
Diff to previous 1.14 (colored)

Sync with HEAD

Revision 1.15 / (download) - annotate - [select for diffs], Sat Jun 16 21:22:13 2018 UTC (5 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Branch point for: phil-wifi
Changes since 1.14: +16 -3 lines
Diff to previous 1.14 (colored)

More cleanup to i2c autoconfiguration:

- Get all of the drivers onto the new match quality constants.
- Introduce a new helper function, iic_use_direct_match(), that has
  all of the logic for direct-config matching.  If it returns true,
  the driver returns the match result (which may be 0).  If it returns
  false, the driver does indirect-config matching.
- iic_compat_match() now returns a weighted match quality; matches to
  lower-indexed "compatible" device property are more-specific matches,
  and return a better match quality accordingly.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Mar 1 05:47:22 2018 UTC (6 years, 1 month ago) by pgoyette
Branch: MAIN
CVS Tags: pgoyette-compat-base, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.13: +7 -6 lines
Diff to previous 1.13 (colored)

Use 1-byte data-buffers when writing to the "control" device for the
SPD ROMs (we do this for page-selection).  The imcsmb doesn't support
zero-byte transfers.

With this, I'm able to get the data for all 8 of my DIMMs (on two
different imcsmb busses) using the spdmem(4) driver.  And the data
decodes correctly using the decode-dimms utility (from the linux
i2ctools).

Revision 1.6.2.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:02 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.6.2.1: +137 -10 lines
Diff to previous 1.6.2.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

update from HEAD

Revision 1.9.4.4 / (download) - annotate - [select for diffs], Wed Oct 5 20:55:41 2016 UTC (7 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.9.4.3: +80 -2 lines
Diff to previous 1.9.4.3 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

Sync with HEAD

Revision 1.13 / (download) - annotate - [select for diffs], Fri Sep 9 05:36:59 2016 UTC (7 years, 7 months ago) by msaitoh
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, 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-1-RELEASE, netbsd-8-1-RC1, 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.12: +80 -2 lines
Diff to previous 1.12 (colored)

 Add code to select page "0" for DDR4 and newer SPD ROM. If the value read
is not suitable as SPD ROM, try to select page 0 and try again. The passed
arguments of iic_exec(SPDCTL_SPA) might not be correct and/or our API of
iic_exec() should be improved. See the comment for the detail.

Use this change until we find a better (or correct?) way.

Revision 1.9.4.3 / (download) - annotate - [select for diffs], Sat Mar 19 11:30:09 2016 UTC (8 years ago) by skrll
Branch: nick-nhusb
Changes since 1.9.4.2: +16 -15 lines
Diff to previous 1.9.4.2 (colored) to branchpoint 1.9 (colored)

Sync with HEAD

Revision 1.12 / (download) - annotate - [select for diffs], Tue Jan 5 11:49:32 2016 UTC (8 years, 3 months ago) by msaitoh
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319
Changes since 1.11: +16 -15 lines
Diff to previous 1.11 (colored)

Check whether iic_exec is failed or not.
- This change fixes a bug that a device that the checksum is really 0 fails
  attaching.
- Reduce the number of access to one if a device doesn't exist. Without this
  change and iic(4) does polling, it'll wait long time.

Revision 1.9.4.2 / (download) - annotate - [select for diffs], Sun Dec 27 12:09:49 2015 UTC (8 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.9.4.1: +57 -9 lines
Diff to previous 1.9.4.1 (colored) to branchpoint 1.9 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.11 / (download) - annotate - [select for diffs], Mon Dec 7 09:41:37 2015 UTC (8 years, 4 months ago) by mlelstv
Branch: MAIN
CVS Tags: nick-nhusb-base-20151226
Changes since 1.10: +57 -9 lines
Diff to previous 1.10 (colored)

Handle reading of 4kbit EEPROMs in SPD devices. This is needed for DDR4 DIMMs.

Revision 1.9.4.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:18:09 2015 UTC (9 years ago) by skrll
Branch: nick-nhusb
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

Sync with HEAD

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Sat Mar 21 17:11:35 2015 UTC (9 years 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.9: +3 -3 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

Pull up following revision(s) (requested by jmcneill in ticket #634):
	distrib/sets/lists/modules/md.amd64: revision 1.51
	distrib/sets/lists/modules/md.evbppc.powerpc: revision 1.5
	distrib/sets/lists/modules/md.i386: revision 1.55
	distrib/sets/lists/modules/mi: revision 1.71
	sys/dev/i2c/au8522.c: revision 1.7
	sys/dev/i2c/cx24227.c: revision 1.7
	sys/dev/i2c/dbcool.c: revision 1.42
	sys/dev/i2c/hytp14.c: revision 1.3
	sys/dev/i2c/i2c_exec.c: revision 1.10
	sys/dev/i2c/lg3303.c: revision 1.9
	sys/dev/i2c/mt2131.c: revision 1.5
	sys/dev/i2c/nxt2k.c: revision 1.4
	sys/dev/i2c/sdtemp.c: revision 1.24
	sys/dev/i2c/spdmem_i2c.c: revision 1.10
	sys/dev/i2c/tvpll.c: revision 1.6
	sys/dev/i2c/xc3028.c: revision 1.7
	sys/dev/i2c/xc5k.c: revision 1.6
	sys/dev/i2c/zl10353.c: revision 1.4
	sys/modules/Makefile: revision 1.143
	sys/modules/i2cexec/Makefile: revision 1.1
i2c devices don't actually have a dependency on "iic" (the bus driver)
but on "i2cexec". Create an i2cexec module (i2c_exec.c) to mirror the
dependencies in files.i2c and switch device drivers to depend on "i2cexec"
module instead.
A kernel with a USB stack and no I2C controller / bus attachment would spit
out a bunch of "WARNING: module error: can't find builtin dependency `iic'"
messages at boot. This change solves that problem.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Mar 7 14:16:51 2015 UTC (9 years, 1 month ago) by jmcneill
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

i2c devices don't actually have a dependency on "iic" (the bus driver)
but on "i2cexec". Create an i2cexec module (i2c_exec.c) to mirror the
dependencies in files.i2c and switch device drivers to depend on "i2cexec"
module instead.

A kernel with a USB stack and no I2C controller / bus attachment would spit
out a bunch of "WARNING: module error: can't find builtin dependency `iic'"
messages at boot. This change solves that problem.

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:37 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.6: +4 -7 lines
Diff to previous 1.6 (colored)

Rebase to HEAD as of a few days ago.

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

Rebase.

Revision 1.3.2.3 / (download) - annotate - [select for diffs], Thu May 22 11:40:21 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.3.2.2: +4 -7 lines
Diff to previous 1.3.2.2 (colored) to branchpoint 1.3 (colored) next main 1.4 (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.6.4.2 / (download) - annotate - [select for diffs], Sun May 18 17:45:37 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.6.4.1: +2 -5 lines
Diff to previous 1.6.4.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

sync with head

Revision 1.9 / (download) - annotate - [select for diffs], Mon Apr 14 14:30:24 2014 UTC (10 years ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, rmind-smpnet-nbase, rmind-smpnet-base, nick-nhusb-base, netbsd-7-base
Branch point for: nick-nhusb, netbsd-7
Changes since 1.8: +2 -5 lines
Diff to previous 1.8 (colored)

Remove extraneous sysctl setup calls now done as part of regular attach.

Revision 1.6.4.1 / (download) - annotate - [select for diffs], Wed Aug 28 23:59:25 2013 UTC (10 years, 7 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.6: +4 -4 lines
Diff to previous 1.6 (colored)

sync with head

Revision 1.8 / (download) - annotate - [select for diffs], Wed Aug 7 19:38:45 2013 UTC (10 years, 8 months ago) by soren
Branch: MAIN
CVS Tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

Allow i2c addr wildcard matching. Use with care!

Revision 1.7 / (download) - annotate - [select for diffs], Sun Jul 28 06:12:45 2013 UTC (10 years, 8 months ago) by kiyohara
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

Call iic_exec() with I2C_F_POLL.  Don't sleep in probe/attach time.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:20:58 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.3.2.1: +7 -2 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored)

sync with head

Revision 1.6 / (download) - annotate - [select for diffs], Wed Sep 12 00:36:41 2012 UTC (11 years, 7 months ago) by pgoyette
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

Initialize the sysctl(9) stuff before configuring the spd(4) devices.

Otherwise, the devices do not create their own sysctl nodes!

Revision 1.3.6.2 / (download) - annotate - [select for diffs], Sat Jun 2 11:09:16 2012 UTC (11 years, 10 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.3.6.1: +7 -2 lines
Diff to previous 1.3.6.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

sync to latest -current.

Revision 1.5 / (download) - annotate - [select for diffs], Thu May 31 16:09:33 2012 UTC (11 years, 10 months ago) by pgoyette
Branch: MAIN
CVS Tags: jmcneill-usbmp-base10
Changes since 1.4: +7 -2 lines
Diff to previous 1.4 (colored)

Update handling of sysctl stuff when built as modules

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:30 2012 UTC (11 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.3: +4 -3 lines
Diff to previous 1.3 (colored)

sync with head

Revision 1.3.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:34:13 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.3: +4 -3 lines
Diff to previous 1.3 (colored)

merge to -current.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Jan 22 10:36:52 2012 UTC (12 years, 2 months ago) by nakayama
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2
Changes since 1.3: +4 -3 lines
Diff to previous 1.3 (colored)

Add "dimm" found on Sun US-IIe based machines (eg. Netra X1, Blade 100).

Revision 1.3 / (download) - annotate - [select for diffs], Sun Oct 2 19:03:56 2011 UTC (12 years, 6 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

now that iic is a module, add "iic" dependency to iic drivers

Revision 1.2 / (download) - annotate - [select for diffs], Mon Aug 1 03:49:52 2011 UTC (12 years, 8 months ago) by pgoyette
Branch: MAIN
Changes since 1.1: +48 -6 lines
Diff to previous 1.1 (colored)

Modularize the spdmem(4) driver

Revision 1.1.6.2 / (download) - annotate - [select for diffs], Wed Aug 11 22:53:22 2010 UTC (13 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.1.6.1: +122 -0 lines
Diff to previous 1.1.6.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

sync with head.

Revision 1.1.4.2 / (download) - annotate - [select for diffs], Sun May 30 05:17:20 2010 UTC (13 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.1.4.1: +122 -0 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

sync with head

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:12 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.1.2.1: +122 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD.

Revision 1.1.6.1, Wed Mar 24 00:31:41 2010 UTC (14 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.1: +0 -122 lines
FILE REMOVED

file spdmem_i2c.c was added on branch yamt-nfs-mp on 2010-08-11 22:53:22 +0000

Revision 1.1.4.1, Wed Mar 24 00:31:41 2010 UTC (14 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.1: +0 -122 lines
FILE REMOVED

file spdmem_i2c.c was added on branch rmind-uvmplock on 2010-05-30 05:17:20 +0000

Revision 1.1.2.1, Wed Mar 24 00:31:41 2010 UTC (14 years ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.1: +0 -122 lines
FILE REMOVED

file spdmem_i2c.c was added on branch uebayasi-xip on 2010-04-30 14:43:12 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Wed Mar 24 00:31:41 2010 UTC (14 years 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, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-nfs-mp, uebayasi-xip, rmind-uvmplock

Split spdmem driver into a bus attachment and a common back-end
probe and ROM decode, to follow similar changes made in OpenBSD:

        http://article.gmane.org/gmane.os.openbsd.cvs/94948
        http://article.gmane.org/gmane.os.openbsd.cvs/94956

There exists at least one alternative attachment (for SGI IP35
systems; see http://article.gmane.org/gmane.os.openbsd.cvs/94947),
and there could be more in the future.

Thanks to Christoph Egger for pointing out the OpenBSD activity.

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>