The NetBSD Project

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

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu Jun 20 18:41:45 2024 UTC (5 months, 1 week ago) by palle
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +6 -6 lines
sun4v: change some debug printf() to DPRINTF()

Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Jun 20 17:49:46 2024 UTC (5 months, 1 week ago) by palle
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +65 -2 lines
sun4v: add some DPRINTF() to vdsk

Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Jun 19 20:04:20 2024 UTC (5 months, 1 week ago) by palle
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +1 -37 lines
sun4v: revert two new functions introduced in rev. 1.13 - not necessary yet

Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed Jun 19 20:00:10 2024 UTC (5 months, 1 week ago) by palle
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2 lines
sun4v: fix incorrect string length (product name Virtual CDROM)

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Jun 12 19:12:44 2024 UTC (5 months, 2 weeks ago) by riastradh
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +15 -15 lines
arch/sparc64/dev/dsk.c: Nix trailing whitespace.

No functional change intended.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Jun 10 19:54:24 2024 UTC (5 months, 3 weeks ago) by palle
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +37 -1 lines
sun4v: add incomplete implementation of the CD-specific READ_DISCINFO and READ_TRACKINFO - probably needs some more work though...

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Jun 9 19:13:54 2024 UTC (5 months, 3 weeks ago) by palle
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +6 -14 lines
sun4v: fix vdsk so an iso image exported by the ldom virtual disk service is correctly detected as a cd device + some whitespace fixes

Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Dec 12 21:34:34 2023 UTC (11 months, 2 weeks ago) by andvar
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +5 -2 lines
extract capacity variable to make VDSK_DEBUG enabled code build.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon May 16 17:13:28 2022 UTC (2 years, 6 months ago) by palle
Branches: 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
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +12 -1 lines
sun4v/vdsk: add handling of SCSI_REPORT_LUNS

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Dec 4 13:23:03 2021 UTC (2 years, 11 months ago) by andvar
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +4 -4 lines
fix typos in comments and log messages, mainly in establish(ed).

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

Revision 1.7.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 4 02:57:07 2021 UTC (3 years, 3 months ago) by thorpej
Branches: thorpej-cfargs2
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +2 -2 lines
Adapt to CFARGS().

Revision 1.6.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 1 22:42:17 2021 UTC (3 years, 4 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +4 -1 lines
Sync with HEAD.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Jun 25 19:10:50 2021 UTC (3 years, 5 months ago) by palle
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base
Branch point for: thorpej-cfargs2
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +4 -1 lines
sun4v: vdsk - restart the ldc state machine when the ldc endpoint resets the link or a DATA/NACK/DRING_DATA message is received. These changes make the driver more robust. In a ldom with Solaris 11.4 SRU30 as primary domain (T5 host system) frequent resets and NACK messages are observed.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Apr 24 23:36:49 2021 UTC (3 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: 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
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
Merge thorpej-cfargs branch:

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

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

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

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

...and a sentinel value CFARG_EOL.

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

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

Revision 1.5.10.1: download - view: text, markup, annotated - select for diffs
Sun Mar 21 21:09:07 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +2 -2 lines
Give config_found() the same variadic arguments treatment as
config_search().  This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls.  Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.

Revision 1.3.16.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:08 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.3.16.1: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.16.1: +3 -51 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.3.16.1: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:54 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -1 lines
Merge changes from current as of 20200406

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Nov 19 20:07:30 2019 UTC (5 years ago) by palle
Branches: 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
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -1 lines
sun4v: added support for handling of opcode SCSI_MAINTENANCE_IN when using ldom based virtual disk

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Oct 1 18:00:07 2019 UTC (5 years, 2 months ago) by chs
Branches: MAIN
CVS tags: phil-wifi-20191119
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +4 -52 lines
in many device attach paths, allocate memory with KM_SLEEP instead of KM_NOSLEEP
and remove code to handle failures that can no longer happen.

Revision 1.3.12.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:44 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.3.12.1: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.12.1: +1386 -0 lines
update from HEAD

Revision 1.2.4.3: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:53 2017 UTC (7 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.2.4.2: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.4.2: +6 -1 lines
Sync with HEAD

Revision 1.2.6.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:37 2017 UTC (7 years, 7 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +6 -1 lines
Sync with HEAD

Revision 1.2.2.3: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:20 2017 UTC (7 years, 8 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.2.2.2: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.2: +6 -1 lines
Sync with HEAD

Revision 1.3.12.1
Fri Mar 3 21:09:25 2017 UTC (7 years, 9 months ago) by jdolecek
Branches: tls-maxphys
FILE REMOVED
Changes since revision 1.3: +0 -1386 lines
file vdsk.c was added on branch tls-maxphys on 2017-12-03 11:36:44 +0000

Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Mar 3 21:09:25 2017 UTC (7 years, 9 months ago) by palle
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20190609, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, bouyer-socketcan-base1
Branch point for: tls-maxphys, phil-wifi
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +6 -1 lines
sun4v: Fixed PR 51554 - Avoid unsafe allocation in ldc/vdsk

Revision 1.2.4.2: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:55:36 2016 UTC (8 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.2.4.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.4.1: +1381 -0 lines
Sync with HEAD

Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Wed Sep 14 03:04:17 2016 UTC (8 years, 2 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.1: +1381 -0 lines
Sync with HEAD

Revision 1.2.4.1
Sat Aug 20 18:21:18 2016 UTC (8 years, 3 months ago) by skrll
Branches: nick-nhusb
FILE REMOVED
Changes since revision 1.2: +0 -1381 lines
file vdsk.c was added on branch nick-nhusb on 2016-10-05 20:55:36 +0000

Revision 1.2.2.1
Sat Aug 20 18:21:18 2016 UTC (8 years, 3 months ago) by pgoyette
Branches: pgoyette-localcount
FILE REMOVED
Changes since revision 1.2: +0 -1381 lines
file vdsk.c was added on branch pgoyette-localcount on 2016-09-14 03:04:17 +0000

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Aug 20 18:21:18 2016 UTC (8 years, 3 months ago) by nakayama
Branches: MAIN
CVS tags: pgoyette-localcount-20170107, pgoyette-localcount-20161104, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, localcount-20160914, bouyer-socketcan-base
Branch point for: pgoyette-localcount, nick-nhusb, bouyer-socketcan
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
Avoid "cast to pointer from integer of different size" warning on
32-bit kernels.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Aug 19 19:02:07 2016 UTC (8 years, 3 months ago) by palle
Branches: MAIN
sun4v: vdsk and ldc drivers - from OpenBSD, but heavily adapted to NetBSD scsipi - access to a virtual disk served from a ldom primary domain now works

Diff request

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

Log view options

CVSweb <webmaster@jp.NetBSD.org>