The NetBSD Project

CVS log for src/sys/dev/sdmmc/sdhc.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.117.2.1 / (download) - annotate - [select for diffs], Sat Feb 3 11:47:06 2024 UTC (2 months, 2 weeks ago) by martin
Branch: netbsd-10
CVS Tags: netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4
Changes since 1.117: +11 -2 lines
Diff to previous 1.117 (colored) next main 1.118 (colored) to selected 1.51.2.6 (colored)

Pull up following revision(s) (requested by jmcneill in ticket #561):

	etc/etc.evbppc/Makefile.inc: revision 1.15
	sys/arch/evbppc/wii/dev/wiifb.c: revision 1.1
	sys/arch/evbppc/wii/dev/wiifb.c: revision 1.2
	sys/arch/evbppc/wii/dev/bwdsp.c: revision 1.1
	sys/arch/evbppc/wii/dev/wiifb.c: revision 1.3
	sys/arch/evbppc/wii/dev/bwdsp.c: revision 1.2
	distrib/utils/embedded/files/evbppc_wii_icon.png: revision 1.1
	usr.sbin/sysinst/arch/evbppc/md.h: revision 1.4
	sys/arch/evbppc/wii/dev/wiifb.c: revision 1.4
	sys/arch/evbppc/wii/dev/viio.h: revision 1.1
	sys/arch/evbppc/wii/dev/wiifb.c: revision 1.5
	sys/arch/evbppc/wii/dev/mainbus.h: revision 1.1
	distrib/utils/embedded/conf/wii.conf: revision 1.1
	distrib/utils/embedded/conf/wii.conf: revision 1.2
	distrib/utils/embedded/conf/wii.conf: revision 1.3
	sys/dev/sdmmc/sdhcvar.h: revision 1.34
	sys/dev/sdmmc/sdhc.c: revision 1.118
	sys/arch/evbppc/wii/dev/resetbtn.c: revision 1.1
	distrib/utils/embedded/conf/evbppc.conf: revision 1.1
	sys/dev/wsfb/genfb.c: revision 1.91
	sys/arch/evbppc/wii/dev/resetbtn.c: revision 1.2
	sys/dev/wscons/wsconsio.h: revision 1.127
	sys/arch/powerpc/oea/oea_machdep.c: revision 1.85
	sys/arch/evbppc/wii/dev/hollywood.h: revision 1.1
	sys/arch/evbppc/conf/std.wii: revision 1.1
	sys/arch/evbppc/wii/dev/hollywood.h: revision 1.2
	sys/arch/evbppc/wii/dev/hollywood.c: revision 1.1
	sys/arch/evbppc/conf/std.wii: revision 1.2
	sys/arch/evbppc/wii/dev/hollywood.c: revision 1.2
	sys/arch/evbppc/conf/std.wii: revision 1.3
	sys/arch/powerpc/oea/cpu_subr.c: revision 1.109
	sys/arch/evbppc/wii/wii_mmuinit.S: revision 1.1
	sys/dev/usb/usb.h: revision 1.124
	sys/arch/evbppc/wii/machdep.c: revision 1.1
	sys/arch/evbppc/wii/dev/rtcsram.c: revision 1.1
	sys/arch/powerpc/include/oea/hid.h: revision 1.14
	sys/arch/evbppc/wii/mainbus.c: revision 1.1
	sys/arch/evbppc/wii/machdep.c: revision 1.2
	sys/arch/evbppc/wii/dev/ehci_hollywood.c: revision 1.1
	sys/arch/evbppc/wii/mainbus.c: revision 1.2
	sys/arch/evbppc/wii/machdep.c: revision 1.3
	sys/arch/evbppc/wii/dev/ehci_hollywood.c: revision 1.2
	sys/arch/evbppc/wii/mainbus.c: revision 1.3
	sys/arch/evbppc/wii/machdep.c: revision 1.4
	sys/arch/evbppc/wii/dev/hwgpio.c: revision 1.1
	sys/arch/evbppc/wii/dev/sdhc_hollywood.c: revision 1.1
	sys/arch/evbppc/wii/dev/sdhc_hollywood.c: revision 1.2
	sys/arch/evbppc/wii/wii_locore.S: revision 1.1
	sys/arch/evbppc/conf/files.wii: revision 1.1
	sys/arch/evbppc/wii/wii_locore.S: revision 1.2
	sys/arch/evbppc/include/wii.h: revision 1.1
	sys/arch/evbppc/conf/files.wii: revision 1.2
	sys/arch/evbppc/wii/dev/exi.c: revision 1.1
	sys/arch/evbppc/include/wii.h: revision 1.2
	sys/arch/evbppc/conf/files.wii: revision 1.3
	sys/arch/powerpc/powerpc/clock.c: revision 1.18
	sys/arch/evbppc/include/wii.h: revision 1.3
	sys/arch/evbppc/conf/files.wii: revision 1.4
	sys/arch/evbppc/include/wii.h: revision 1.4
	sys/arch/evbppc/wii/dev/exi.h: revision 1.1
	sys/arch/evbppc/wii/dev/avenc.c: revision 1.1
	sys/arch/evbppc/include/wii.h: revision 1.5
	sys/arch/evbppc/include/wii.h: revision 1.6
	sys/arch/evbppc/include/wii.h: revision 1.7
	sys/arch/evbppc/wii/dev/avenc.h: revision 1.1
	distrib/utils/embedded/mkimage: revision 1.79
	sys/arch/evbppc/conf/WII: revision 1.1
	sys/arch/evbppc/conf/INSTALL_WII: revision 1.1
	distrib/utils/embedded/files/evbppc_wii_meta.xml: revision 1.1
	sys/arch/evbppc/wii/dev/vireg.h: revision 1.1
	sys/arch/evbppc/conf/WII: revision 1.2
	distrib/utils/embedded/files/evbppc_wii_meta.xml: revision 1.2
	sys/arch/evbppc/wii/dev/vireg.h: revision 1.2
	sys/arch/evbppc/conf/WII: revision 1.3
	sys/arch/evbppc/conf/WII: revision 1.4
	usr.sbin/sysinst/arch/evbppc/md.c: revision 1.11
	sys/arch/evbppc/wii/dev/ohci_hollywood.c: revision 1.1
	sys/dev/usb/ehcivar.h: revision 1.52
	sys/arch/evbppc/wii/pic_pi.c: revision 1.1
	sys/arch/evbppc/wii/dev/ohci_hollywood.c: revision 1.2
	etc/etc.evbppc/ttys: revision 1.8
	sys/arch/evbppc/wii/dev/bwai.c: revision 1.1
	sys/arch/evbppc/wii/dev/bwai.c: revision 1.2
	sys/arch/evbppc/wii/dev/bwai.c: revision 1.3
	sys/arch/evbppc/wii/autoconf.c: revision 1.1
	sys/arch/evbppc/conf/Makefile.wii.inc: revision 1.1
	sys/arch/evbppc/wii/dev/bwai.h: revision 1.1
	sys/arch/evbppc/wii/autoconf.c: revision 1.2
	sys/arch/evbppc/conf/Makefile.wii.inc: revision 1.2

powerpc: oea: Fix prefetchable mappings
Prefetchable mappings need PMAP_NOCACHE to get write-combine semantics.
powerpc: oea: Decode IBM750CL L2 cache information.
sdmmc: add support for optional delay after register write
wscons: Add HOLLYWOOD display and YUY2 pixel format types
wsfb: add support for optional "devcmap" property
A hardware driver can supply a pointer to a 16x 32-bit array to override
the default rasops device colour map in the "devcmap" property.
ehci: add EHCIF_32BIT_ACCESS flag to force 32-bit MMIO
fix comments: HID0 ICFI/DCFI are "flash invalidate", not "flush invalidate"
powerpc: fix delay for large (> ~5sec) values
When calculating the target timebase, promote '1000' on the RHS to ULL
to force 64-bit calculation, otherwise 'n * 1000' will overflow.
usb: increase USB_PORT_RESET_RECOVERY from 10ms to 20ms
I changed this from 250ms to 10ms back in 2021 based on a similar FreeBSD
change, but it seems to be a bit too aggressive for some platforms.
evbppc: Add initial support for the Nintendo Wii
wii: support RB_POWERDOWN
build fix: use dd with count=1 for compat with NetBSD dd(1)
wii: Add NTSC 480p support.
In addition to this, add VIIO_{GET,SET}REGS ioctl support to allow for
poking at video interface registers from userland. This is helpful for
debugging display issues.
wii: Add 128x48 icon to SD card image
wii: Fix a comment
wii: Add drivers for Broadway DSP and Audio interface.
0: [*] audio0 @ bwdsp0: Broadway DSP
       playback: 16, 2ch, 48000Hz
       record:   unavailable
       (P-) slinear_be 16/16, 2ch, { 48000 }
wii: Add screenblank support.
wii: Use screen dimming register for screen blanking.
wii: Add GPIO, I2C, and basic A/V encoder driver.
wii: Use A/V encoder volume controls instead of using a software filter.
wii: Simply DSP driver - no interrupt handler required.
wii: provide device names to intr_establish
wii$ intrctl list
interrupt id      CPU0  device name(s)
pi irq 14        64769* hollywood0
hollywood irq 36  5872* ehci0
hollywood irq 39 58907* sdhc0
hollywood irq 40     4* sdhc1
hollywood irq 49     0* resetbtn0
pi irq 5             0* bwai0
wii: Add support for passing boot options to the kernel.
wii: Add External interface bus and RTC support
wii: Remove objcopy after kernel build.
HBC will do the right thing.
Add wsvt25 entries (off by default) for ttyE0-ttyE3.
Add support for "PAL" (576i) mode on Wii.

Revision 1.118 / (download) - annotate - [select for diffs], Sat Jan 20 00:22:11 2024 UTC (2 months, 4 weeks ago) by jmcneill
Branch: MAIN
CVS Tags: HEAD
Changes since 1.117: +11 -2 lines
Diff to previous 1.117 (colored) to selected 1.51.2.6 (colored)

sdmmc: add support for optional delay after register write

Revision 1.117 / (download) - annotate - [select for diffs], Wed Nov 2 10:38:04 2022 UTC (17 months, 2 weeks ago) by jmcneill
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1
Branch point for: netbsd-10
Changes since 1.116: +10 -10 lines
Diff to previous 1.116 (colored) to selected 1.51.2.6 (colored)

Select DMA mode after programming the ADMA base address register(s).

The Arasan SDHCI 8.9a found in the Xilinx Zynq-7000 SoC requires this
sequence to avoid sporadic transfer errors.

Revision 1.116 / (download) - annotate - [select for diffs], Fri Oct 14 07:54:49 2022 UTC (18 months ago) by jmcneill
Branch: MAIN
Changes since 1.115: +4 -3 lines
Diff to previous 1.115 (colored) to selected 1.51.2.6 (colored)

Disable ADMA2 on Ricoh SDHCI controllers.

PR# 57015

Revision 1.115 / (download) - annotate - [select for diffs], Sun Feb 6 15:52:20 2022 UTC (2 years, 2 months ago) by jmcneill
Branch: MAIN
CVS Tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.114: +3 -4 lines
Diff to previous 1.114 (colored) to selected 1.51.2.6 (colored)

sdhc: Retire SDHC_FLAG_USE_ADMA2 flag.

ADMA2 support in sdhc is mature now, so no need for it to be opt-in.

Revision 1.114 / (download) - annotate - [select for diffs], Mon Jan 17 20:10:37 2022 UTC (2 years, 3 months ago) by mrg
Branch: MAIN
Changes since 1.113: +15 -7 lines
Diff to previous 1.113 (colored) to selected 1.51.2.6 (colored)

sdhc: avoid taking adaptive mutex while holding spin mutex

the clock_bus pre- and post- callbacks used in sdhc_bus_clock_ddr()
are called with a spin mutex held, and the new sdhc@acpi ends up
calling into (sleeping) ACPI code, triggering lockdebug assertion.

introduce an adaptive mutex that is held around these callbacks,
and reduce the spin mutex held time in sdhc_bus_clock_ddr().

Revision 1.113 / (download) - annotate - [select for diffs], Sat Jan 15 14:33:36 2022 UTC (2 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.112: +4 -3 lines
Diff to previous 1.112 (colored) to selected 1.51.2.6 (colored)

sdhc: High speed support capability flag applies to eMMC too.

Revision 1.100.4.3 / (download) - annotate - [select for diffs], Fri Dec 3 19:31:19 2021 UTC (2 years, 4 months ago) by martin
Branch: netbsd-8
Changes since 1.100.4.2: +5 -5 lines
Diff to previous 1.100.4.2 (colored) to branchpoint 1.100 (colored) next main 1.101 (colored) to selected 1.51.2.6 (colored)

Pull up the following revisions (all via patch), requested by msaitoh
in ticket #1713:

	sys/dev/sdmmc/sdhc.c				1.110, 1.112
	sys/dev/sdmmc/sdmmc_mem.c			1.74
	sys/dev/pci/sdhc_pci.c				1.18

- Support 64bit BAR.
- Use unsigned to avoid undefined behavior in hwrite[12]() and
  sdmmc_mem_sd_switch().
- Fix typo in comment.

Revision 1.103.2.3 / (download) - annotate - [select for diffs], Fri Dec 3 18:20:41 2021 UTC (2 years, 4 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE
Changes since 1.103.2.2: +5 -5 lines
Diff to previous 1.103.2.2 (colored) to branchpoint 1.103 (colored) next main 1.104 (colored) to selected 1.51.2.6 (colored)

Pull up the followin revisions (all via patch), requested by msaitoh
in ticket #1383:

	sys/dev/sdmmc/sdhc.c				1.110, 1.112
	sys/dev/sdmmc/sdmmc_mem.c			1.74
	sys/dev/pci/sdhc_pci.c				1.18

- Support 64bit BAR.
- Use unsigned to avoid undefined behavior in hwrite[12]() and
  sdmmc_mem_sd_switch().
- Fix typo in comment.

Revision 1.112 / (download) - annotate - [select for diffs], Wed Nov 10 16:53:28 2021 UTC (2 years, 5 months ago) by msaitoh
Branch: MAIN
Changes since 1.111: +3 -3 lines
Diff to previous 1.111 (colored) to selected 1.51.2.6 (colored)

s/suport/support/ in comment.

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

Merge thorpej-cfargs2.

Revision 1.110.4.1 / (download) - annotate - [select for diffs], Wed Aug 4 23:24:59 2021 UTC (2 years, 8 months ago) by thorpej
Branch: thorpej-cfargs2
Changes since 1.110: +3 -3 lines
Diff to previous 1.110 (colored) next main 1.111 (colored) to selected 1.51.2.6 (colored)

Adapt to CFARGS().

Revision 1.109.2.1 / (download) - annotate - [select for diffs], Thu Jun 17 04:46:30 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.109: +4 -4 lines
Diff to previous 1.109 (colored) next main 1.110 (colored) to selected 1.51.2.6 (colored)

Sync w/ HEAD.

Revision 1.109.4.1 / (download) - annotate - [select for diffs], Mon May 31 22:15:19 2021 UTC (2 years, 10 months ago) by cjep
Branch: cjep_staticlib_x
Changes since 1.109: +4 -4 lines
Diff to previous 1.109 (colored) next main 1.110 (colored) to selected 1.51.2.6 (colored)

sync with head

Revision 1.110 / (download) - annotate - [select for diffs], Thu May 13 05:54:14 2021 UTC (2 years, 11 months ago) by msaitoh
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1
Branch point for: thorpej-cfargs2
Changes since 1.109: +4 -4 lines
Diff to previous 1.109 (colored) to selected 1.51.2.6 (colored)

 Use unsigned to avoid undefined behavior in hwrite[12](). Found by kUBSan.

Revision 1.109 / (download) - annotate - [select for diffs], Sat Apr 24 23:36:59 2021 UTC (2 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: cjep_staticlib_x-base
Branch point for: thorpej-i2c-spi-conf, cjep_staticlib_x
Changes since 1.108: +3 -3 lines
Diff to previous 1.108 (colored) to selected 1.51.2.6 (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.107.2.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:50 2021 UTC (3 years ago) by thorpej
Branch: thorpej-futex
Changes since 1.107: +13 -8 lines
Diff to previous 1.107 (colored) next main 1.108 (colored) to selected 1.51.2.6 (colored)

Sync with HEAD.

Revision 1.108.2.1 / (download) - annotate - [select for diffs], Sun Mar 21 21:09:15 2021 UTC (3 years ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.108: +3 -3 lines
Diff to previous 1.108 (colored) next main 1.109 (colored) to selected 1.51.2.6 (colored)

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.108 / (download) - annotate - [select for diffs], Sat Mar 13 23:26:47 2021 UTC (3 years, 1 month ago) by mlelstv
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-cfargs-base
Branch point for: thorpej-cfargs
Changes since 1.107: +13 -8 lines
Diff to previous 1.107 (colored) to selected 1.51.2.6 (colored)

Enable block count only for count > 0.
Don't enable autostop when command sets new flag SCF_NO_STOP.

Revision 1.100.4.2 / (download) - annotate - [select for diffs], Wed Aug 5 16:14:25 2020 UTC (3 years, 8 months ago) by martin
Branch: netbsd-8
Changes since 1.100.4.1: +8 -2 lines
Diff to previous 1.100.4.1 (colored) to branchpoint 1.100 (colored) to selected 1.51.2.6 (colored)

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

	sys/dev/sdmmc/sdhc.c: revision 1.107
	sys/dev/sdmmc/sdhcreg.h: revision 1.21

Identify SDHC 4.1 and 4.2. From {DragonFly,Free}BSD.

Revision 1.103.2.2 / (download) - annotate - [select for diffs], Mon Jul 20 18:15:43 2020 UTC (3 years, 8 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-2-RELEASE, netbsd-9-1-RELEASE
Changes since 1.103.2.1: +8 -2 lines
Diff to previous 1.103.2.1 (colored) to branchpoint 1.103 (colored) to selected 1.51.2.6 (colored)

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

	sys/dev/sdmmc/sdhc.c: revision 1.107
	sys/dev/sdmmc/sdhcreg.h: revision 1.21

Identify SDHC 4.1 and 4.2. From {DragonFly,Free}BSD.

Revision 1.107 / (download) - annotate - [select for diffs], Wed Jul 15 15:57:52 2020 UTC (3 years, 9 months ago) by msaitoh
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.106: +8 -2 lines
Diff to previous 1.106 (colored) to selected 1.51.2.6 (colored)

Identify SDHC 4.1 and 4.2. From {DragonFly,Free}BSD.

Revision 1.101.6.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:48 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.101.6.1: +68 -41 lines
Diff to previous 1.101.6.1 (colored) to branchpoint 1.101 (colored) next main 1.102 (colored) to selected 1.51.2.6 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.103.2.1 / (download) - annotate - [select for diffs], Tue Feb 25 18:40:43 2020 UTC (4 years, 1 month ago) by martin
Branch: netbsd-9
Changes since 1.103: +42 -18 lines
Diff to previous 1.103 (colored) to selected 1.51.2.6 (colored)

Pull up following revision(s) (requested by mrg in ticket #717):

	sys/dev/fdt/dwcmmc_fdt.c			1.11
	sys/dev/ic/bwfm.c				1.15-1.18
	sys/dev/ic/bwfmreg.h				1.4-1.6
	sys/dev/ic/bwfmvar.h				1.4,1.5
	sys/dev/ic/dwc_mmc.c				1.21,1.22
	sys/dev/ic/dwc_mmc_reg.h			1.8,1.9,1.12,1.13
	sys/dev/pcmcia/pcmciareg.h			1.11
	sys/dev/sdmmc/if_bwfm_sdio.c			1.4,1.6-1.12
	sys/dev/sdmmc/if_bwfm_sdio.h			1.1,1.2
	sys/dev/sdmmc/sdhc.c				1.105,1.106
	sys/dev/sdmmc/sdmmc.c				1.37,1.39
	sys/dev/sdmmc/sdmmc_cis.c			1.6,1.8
	sys/dev/sdmmc/sdmmc_io.c			1.15-1.19
	sys/dev/sdmmc/sdmmc_ioreg.h			1.4,1.5
	sys/dev/sdmmc/sdmmc_mem.c			1.69-1.71
	sys/dev/sdmmc/sdmmcdevs				1.5-1.8
	sys/dev/sdmmc/sdmmcvar.h			1.31,1.33,1.34
	sys/net/if_media.h				1.66

Add Broadcom devices
 -
Fix typo
 -
add PCMCIA_CISTPL_SDIO definition.
 -
From OpenBSD:
- move event handling to workqueue
- check for save/restore capability
 -
Tag work queue as MPsafe and increase length.
 -
Juse use bpf_mtap(), the 802.11 encapsulation is handled by firmware.
 -
From OpenBSD:
- support block length per function
- add functions to read/write regions
 -
Decode (but not use) SDIO tuple in CIS.
 -
Fix locking.
 -
Add more SDIO defines (partially from version 3.0).
 -
From OpenBSD:
- All the missing pieces (firmware load, chip setup, protocol handling)
TX queue and interrupt handling via sdmmc_task.
 -
Fix locking.
 -
Fix packet parsing.
 -
Add parser for original firmware config files.
 -
tagging work queue as MPSAFE was premature. Revert.
 -
SD_IO_RW_EXTENDED is a data transfer command, so set ADTC flag instead of AC
Use correct function to verify if a task has been queued. Avoids race
that can corrupt the task queue.
 -
More register definitions.
 -
Add IFM_IEEE80211_VHT subtype, IFM_IEEE80211_11AC operating mode, and missing descriptions
 -
If firmware is connected in HT or VHT mode, report it to SIOCGIFMEDIA
 -
white space police.

Skip setting power when the voltage doesn't change.
Also increase some timeouts.
 -
Add and use sdmmc_pause to avoid long-term busy waits.
 -
Add sdio abort function.
 -
Additional error messages.
 -
Print parameters for SDIO devices.
 -
Minor cosmetics.
 -
Simplyfy sdmmc_io_set_blocklen function signature by dropping the
extra softc pointer. Aligns with OpenBSD.
 -
Missing commit for sdio abort function.
 -
More code from OpenBSD
 -
no need to splnet() when enqueing packets
 -
explicit structure padding
 -
make internal functions static
 -
also prepare for GPIO interrupts.
 -
Avoid warnings for tautological shifts as sole conditional.
 -
Follow the Linux driver an use the FDT "compatible" property to build a
filename for the nvram config file, fall back to the standard filename.
E.g.
[Caching 123 nodes and 1093 properties]
compatible              73696e6f 766f6970 2c627069 2d6d322d   "sinovoip,bpi-m2-
            0010:       7a65726f 00...... ........ ........   zero"
            0015:       616c6c77 696e6e65 722c7375 6e38692d   "allwinner,sun8i-
            0025:       68322d70 6c757300 ........ ........   h2-plus"
interrupt-parent        00000001 ........ ........ ........   ....
model                   42616e61 6e612050 69204250 492d4d32   "Banana Pi BPI-M2
            0010:       2d5a6572 6f00.... ........ ........   -Zero"
name                    00...... ........ ........ ........   ""
serial-number           30326330 30303432 65636431 36376566   02c00042ecd167ef
            0010:       00...... ........ ........ ........   .
-rw-r--r--  1 root  wheel     875 Nov  2 12:06 brcmfmac43430-sdio.AP6212.txt
lrwxr-xr-x  1 root  wheel      29 Dec 30 16:19 brcmfmac43430-sdio.sinovoip,bpi-m2-zero.txt -> brcmfmac43430-sdio.AP6212.txt
-rw-r--r--  1 root  wheel     874 Jun 30  2019 brcmfmac43430-sdio.raspberrypi,3-model-b.txt
-rw-r--r--  1 root  wheel    1864 Jun 30  2019 brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt
lrwxr-xr-x  1 root  wheel      29 Dec 30 11:24 brcmfmac43455-sdio.raspberrypi,4-model-b-plus.txt -> brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt
 -
Add product ID for Broadcom BCM43455
 -
Use correct firmware for BCM43456
 -
size check was backwards.
 -
Be less noisy for some commands.
 -
Fix DWC_MMC_INT_SDIO_INT bit
 -
dwc_mmc fixes:
 - Rockchip uses a different SDIO int bit, so take this into consideration
 - Avoid unnecessary resets and always wait for resets to complete
 - kpause instead of delay while holding spinlock
 - Do not attempt autostop for SD_IO_RW_EXTENDED commands
 - Allow for sub-blklen byte counts for single block transfers
  -
More SDIO stability and performance fixes

Revision 1.106 / (download) - annotate - [select for diffs], Mon Oct 28 18:11:15 2019 UTC (4 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.105: +8 -8 lines
Diff to previous 1.105 (colored) to selected 1.51.2.6 (colored)

Avoid warnings for tautological shifts as sole conditional.

Revision 1.105 / (download) - annotate - [select for diffs], Mon Oct 28 06:00:14 2019 UTC (4 years, 5 months ago) by mlelstv
Branch: MAIN
Changes since 1.104: +36 -12 lines
Diff to previous 1.104 (colored) to selected 1.51.2.6 (colored)

Skip setting power when the voltage doesn't change.
Also increase some timeouts.

Revision 1.104 / (download) - annotate - [select for diffs], Wed Oct 23 05:20:52 2019 UTC (4 years, 5 months ago) by hkenken
Branch: MAIN
Changes since 1.103: +26 -23 lines
Diff to previous 1.103 (colored) to selected 1.51.2.6 (colored)

Add SDHC flags.

+ SDHC_FLAG_BROKEN_ADMA2_ZEROLEN
  Broken ADMA2 Zero length descriptor.
  Can't 64K Byte data transfer.
+ SDHC_FLAG_NO_1_8_V
  Support no 1.8V Supply.
  Disable UHS-I bus speed mode (SDR50, DDR50, SDR104).

Revision 1.103 / (download) - annotate - [select for diffs], Wed Jul 3 23:10:08 2019 UTC (4 years, 9 months ago) by jmcneill
Branch: MAIN
CVS Tags: netbsd-9-base, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Branch point for: netbsd-9
Changes since 1.102: +4 -4 lines
Diff to previous 1.102 (colored) to selected 1.51.2.6 (colored)

If switching to fixed sampling clock, do not return an error to the sdmmc layer.

Revision 1.101.6.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:32 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.101: +13 -2 lines
Diff to previous 1.101 (colored) to selected 1.51.2.6 (colored)

Sync with HEAD

Revision 1.102 / (download) - annotate - [select for diffs], Wed Mar 13 12:16:49 2019 UTC (5 years, 1 month ago) by jmcneill
Branch: MAIN
CVS Tags: phil-wifi-20190609, isaki-audio2-base, isaki-audio2
Changes since 1.101: +13 -2 lines
Diff to previous 1.101 (colored) to selected 1.51.2.6 (colored)

Add vendor callback for post-bus clock ops and add SDHC_FLAG_STOP_WITH_TC flag

Revision 1.100.4.1 / (download) - annotate - [select for diffs], Sun Jan 7 09:24:59 2018 UTC (6 years, 3 months ago) by snj
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1
Changes since 1.100: +35 -36 lines
Diff to previous 1.100 (colored) to selected 1.51.2.6 (colored)

Pull up following revision(s) (requested by ryo in ticket #468):
	sys/dev/sdmmc/sdhcreg.h: revision 1.19
	sys/dev/sdmmc/sdhc.c: revision 1.101
fix problem for ESDHC/USDHC due to change of r1.96
on ESDHC/USDHC, even if the iosize is less than SDHC_HOST_CTL_VERSION,
specver must be an appropriate value.

Revision 1.30.2.4 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:32 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.30.2.3: +880 -177 lines
Diff to previous 1.30.2.3 (colored) next main 1.31 (colored) to selected 1.51.2.6 (colored)

update from HEAD

Revision 1.51.2.9 / (download) - annotate - [select for diffs], Mon Aug 28 17:52:27 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.51.2.8: +109 -39 lines
Diff to previous 1.51.2.8 (colored) to branchpoint 1.51 (colored) next main 1.52 (colored) to selected 1.51.2.6 (colored)

Sync with HEAD

Revision 1.101 / (download) - annotate - [select for diffs], Fri Jun 23 08:43:59 2017 UTC (6 years, 9 months ago) by ryo
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, phil-wifi-base, 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, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Branch point for: phil-wifi
Changes since 1.100: +35 -36 lines
Diff to previous 1.100 (colored) to selected 1.51.2.6 (colored)

fix problem for ESDHC/USDHC due to change of r1.96

on ESDHC/USDHC, even if the iosize is less than SDHC_HOST_CTL_VERSION,
specver must be an appropriate value.

Revision 1.94.2.2 / (download) - annotate - [select for diffs], Wed Apr 26 02:53:23 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.94.2.1: +18 -4 lines
Diff to previous 1.94.2.1 (colored) to branchpoint 1.94 (colored) next main 1.95 (colored) to selected 1.51.2.6 (colored)

Sync with HEAD

Revision 1.100 / (download) - annotate - [select for diffs], Sat Apr 22 21:49:41 2017 UTC (6 years, 11 months ago) by jmcneill
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, netbsd-8-base, matt-nb8-mediatek-base, matt-nb8-mediatek
Branch point for: netbsd-8
Changes since 1.99: +18 -4 lines
Diff to previous 1.99 (colored) to selected 1.51.2.6 (colored)

Add a vendor callback for setting signal voltage.

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

Sync with HEAD

Revision 1.94.2.1 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:38 2017 UTC (7 years, 1 month ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.94: +101 -32 lines
Diff to previous 1.94 (colored) to selected 1.51.2.6 (colored)

Sync with HEAD

Revision 1.99 / (download) - annotate - [select for diffs], Fri Feb 17 10:51:48 2017 UTC (7 years, 2 months ago) by nonaka
Branch: MAIN
CVS Tags: pgoyette-localcount-20170320, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Changes since 1.98: +50 -2 lines
Diff to previous 1.98 (colored) to selected 1.51.2.6 (colored)

sdhc(4): hardware reset support for Intel eMMC controller

Revision 1.98 / (download) - annotate - [select for diffs], Fri Feb 17 10:50:43 2017 UTC (7 years, 2 months ago) by nonaka
Branch: MAIN
Changes since 1.97: +12 -3 lines
Diff to previous 1.97 (colored) to selected 1.51.2.6 (colored)

sdhc(4), sdmmc(4): Added MMC HS DDR52 support.

Revision 1.51.2.8 / (download) - annotate - [select for diffs], Sun Feb 5 13:40:46 2017 UTC (7 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.51.2.7: +43 -31 lines
Diff to previous 1.51.2.7 (colored) to branchpoint 1.51 (colored) to selected 1.51.2.6 (colored)

Sync with HEAD

Revision 1.97 / (download) - annotate - [select for diffs], Sat Jan 7 15:05:08 2017 UTC (7 years, 3 months ago) by kiyohara
Branch: MAIN
CVS Tags: nick-nhusb-base-20170204, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.96: +13 -5 lines
Diff to previous 1.96 (colored) to selected 1.51.2.6 (colored)

Add flags SDHC_FLAG_NO_AUTO_STOP and SDHC_FLAG_NO_BUSY_INTR.

Revision 1.96 / (download) - annotate - [select for diffs], Sat Jan 7 15:00:38 2017 UTC (7 years, 3 months ago) by kiyohara
Branch: MAIN
Changes since 1.95: +32 -28 lines
Diff to previous 1.95 (colored) to selected 1.51.2.6 (colored)

Don't access SDHC_HOST_CTL_VERSION, if iosize less than this.

Revision 1.51.2.7 / (download) - annotate - [select for diffs], Wed Oct 5 20:55:56 2016 UTC (7 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.51.2.6: +4 -4 lines
Diff to previous 1.51.2.6 (colored) to branchpoint 1.51 (colored)

Sync with HEAD

Revision 1.95 / (download) - annotate - [select for diffs], Wed Aug 10 04:24:17 2016 UTC (7 years, 8 months ago) by nonaka
Branch: MAIN
CVS Tags: pgoyette-localcount-20170107, pgoyette-localcount-20161104, nick-nhusb-base-20161204, nick-nhusb-base-20161004, localcount-20160914
Changes since 1.94: +4 -4 lines
Diff to previous 1.94 (colored) to selected 1.51.2.6 (colored)

Use 1.65-1.95 voltage window for 1.8V support.

Revision 1.51.2.6 / (download) - annotate - [selected], Sat Jul 9 20:25:15 2016 UTC (7 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.51.2.5: +3 -2 lines
Diff to previous 1.51.2.5 (colored) to branchpoint 1.51 (colored)

Sync with HEAD

Revision 1.94 / (download) - annotate - [select for diffs], Sun Jul 3 11:55:27 2016 UTC (7 years, 9 months ago) by kiyohara
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20160907
Branch point for: pgoyette-localcount
Changes since 1.93: +3 -2 lines
Diff to previous 1.93 (colored) to selected 1.51.2.6 (colored)

Please more delay, if timeout in sdhc_wait_intr().

Revision 1.51.2.5 / (download) - annotate - [select for diffs], Sat Mar 19 11:30:19 2016 UTC (8 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.51.2.4: +130 -26 lines
Diff to previous 1.51.2.4 (colored) to branchpoint 1.51 (colored) to selected 1.51.2.6 (colored)

Sync with HEAD

Revision 1.93 / (download) - annotate - [select for diffs], Thu Dec 31 11:53:19 2015 UTC (8 years, 3 months ago) by ryo
Branch: MAIN
CVS Tags: nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319
Changes since 1.92: +129 -25 lines
Diff to previous 1.92 (colored) to selected 1.51.2.6 (colored)

add support iMX6 uSDHC
- some UHS-I/SDR104 card are not stable
- eMMC doesn't work yet

Revision 1.92 / (download) - annotate - [select for diffs], Mon Dec 28 16:47:11 2015 UTC (8 years, 3 months ago) by ryo
Branch: MAIN
Changes since 1.91: +3 -3 lines
Diff to previous 1.91 (colored) to selected 1.51.2.6 (colored)

fix typo. use pmask for SDHC_PRESENT_STATE.

Revision 1.51.2.4 / (download) - annotate - [select for diffs], Sun Dec 27 12:09:58 2015 UTC (8 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.51.2.3: +30 -15 lines
Diff to previous 1.51.2.3 (colored) to branchpoint 1.51 (colored) to selected 1.51.2.6 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.44.2.9 / (download) - annotate - [select for diffs], Sun Nov 8 01:22:54 2015 UTC (8 years, 5 months ago) by riz
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
Changes since 1.44.2.8: +8 -2 lines
Diff to previous 1.44.2.8 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored) to selected 1.51.2.6 (colored)

Pull up following revision(s) (requested by jmcneill in ticket #1022):
	sys/dev/sdmmc/sdhc.c: revision 1.89
	sys/arch/arm/omap/omap3_sdhc.c: revision 1.19
	sys/dev/sdmmc/sdhcvar.h: revision 1.25
	sys/arch/evbarm/beagle/beagle_machdep.c: revision 1.62
allow vendor specific code to hook into bus width changes
Support 8-bit eMMC for TI AM335x. On my BeagleBone Black,
Before: 134217728 bytes transferred in 9.410 secs (14263307 bytes/sec)
After:  134217728 bytes transferred in 7.518 secs (17852850 bytes/sec)
enable 8-bit mode on AM335X SDMMC2

Revision 1.91 / (download) - annotate - [select for diffs], Tue Nov 3 07:59:29 2015 UTC (8 years, 5 months ago) by mlelstv
Branch: MAIN
CVS Tags: nick-nhusb-base-20151226
Changes since 1.90: +3 -3 lines
Diff to previous 1.90 (colored) to selected 1.51.2.6 (colored)

Also wait for DAT when sending RSP_BSY commands. Fixes PR 50388.

Revision 1.90 / (download) - annotate - [select for diffs], Tue Nov 3 06:49:39 2015 UTC (8 years, 5 months ago) by mlelstv
Branch: MAIN
Changes since 1.89: +4 -3 lines
Diff to previous 1.89 (colored) to selected 1.51.2.6 (colored)

fix timeout path in soft reset when building with SDHC_DEBUG

Revision 1.89 / (download) - annotate - [select for diffs], Mon Nov 2 22:18:45 2015 UTC (8 years, 5 months ago) by jmcneill
Branch: MAIN
Changes since 1.88: +8 -2 lines
Diff to previous 1.88 (colored) to selected 1.51.2.6 (colored)

allow vendor specific code to hook into bus width changes

Revision 1.88 / (download) - annotate - [select for diffs], Tue Oct 6 14:32:51 2015 UTC (8 years, 6 months ago) by mlelstv
Branch: MAIN
Changes since 1.87: +21 -13 lines
Diff to previous 1.87 (colored) to selected 1.51.2.6 (colored)

support hiding command timeout messages with a new command flag and use this
when probing for cards. Should fix PR 50302.

Revision 1.51.2.3 / (download) - annotate - [select for diffs], Tue Sep 22 12:06:00 2015 UTC (8 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.51.2.2: +567 -121 lines
Diff to previous 1.51.2.2 (colored) to branchpoint 1.51 (colored) to selected 1.51.2.6 (colored)

Sync with HEAD

Revision 1.87 / (download) - annotate - [select for diffs], Wed Sep 9 08:09:28 2015 UTC (8 years, 7 months ago) by mlelstv
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921
Changes since 1.86: +6 -2 lines
Diff to previous 1.86 (colored) to selected 1.51.2.6 (colored)

The iMX uSDHC controller doesn't have an interrupt error status flag,
the bit position is reserved and reads as value 0.
- Fake the flag if any of the error bits is set.
- uSDHC supports the 32bit access, the 16bit path doesn't need that quirk.

Revision 1.86 / (download) - annotate - [select for diffs], Wed Sep 9 08:06:47 2015 UTC (8 years, 7 months ago) by mlelstv
Branch: MAIN
Changes since 1.85: +3 -4 lines
Diff to previous 1.85 (colored) to selected 1.51.2.6 (colored)

Don't test flags from error value in status value. Instead test the
error interrupt status.

Revision 1.85 / (download) - annotate - [select for diffs], Wed Sep 9 08:04:33 2015 UTC (8 years, 7 months ago) by mlelstv
Branch: MAIN
Changes since 1.84: +4 -3 lines
Diff to previous 1.84 (colored) to selected 1.51.2.6 (colored)

fix DPRINTF parameters

Revision 1.84 / (download) - annotate - [select for diffs], Sun Aug 9 13:46:50 2015 UTC (8 years, 8 months ago) by mlelstv
Branch: MAIN
Changes since 1.83: +74 -27 lines
Diff to previous 1.83 (colored) to selected 1.51.2.6 (colored)

Ignore data inhibit for commands that do not use the DAT line.
Do a soft reset when the inhibit condition persists for better
error recovery.

Simplify interrupt handling and print errors reported by the controller.

Add more specific debug messages for timeout errors.

Revision 1.83 / (download) - annotate - [select for diffs], Sun Aug 9 13:39:18 2015 UTC (8 years, 8 months ago) by mlelstv
Branch: MAIN
Changes since 1.82: +21 -9 lines
Diff to previous 1.82 (colored) to selected 1.51.2.6 (colored)

Protect the whole tuning operation including the register setup.

Revision 1.82 / (download) - annotate - [select for diffs], Sun Aug 9 13:24:39 2015 UTC (8 years, 8 months ago) by mlelstv
Branch: MAIN
Changes since 1.81: +11 -2 lines
Diff to previous 1.81 (colored) to selected 1.51.2.6 (colored)

Add a quirk for Ricoh 5U823 controller. Operation with a 100MHz
bus clock for SDR50 seems to be unstable, reduce frequency one notch
(effectively down to 66MHz with divisor = 3).

Revision 1.81 / (download) - annotate - [select for diffs], Thu Aug 6 09:30:55 2015 UTC (8 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.80: +4 -4 lines
Diff to previous 1.80 (colored) to selected 1.51.2.6 (colored)

don't hold intr_lock while calling sdhc_execute_tuning

Revision 1.80 / (download) - annotate - [select for diffs], Wed Aug 5 12:28:47 2015 UTC (8 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.79: +58 -2 lines
Diff to previous 1.79 (colored) to selected 1.51.2.6 (colored)

support re-tuning modes 1 and 2

Revision 1.79 / (download) - annotate - [select for diffs], Wed Aug 5 10:30:25 2015 UTC (8 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.78: +101 -7 lines
Diff to previous 1.78 (colored) to selected 1.51.2.6 (colored)

Implement SDHC sampling clock tuning procedure.

Revision 1.78 / (download) - annotate - [select for diffs], Wed Aug 5 07:31:52 2015 UTC (8 years, 8 months ago) by mlelstv
Branch: MAIN
Changes since 1.77: +10 -2 lines
Diff to previous 1.77 (colored) to selected 1.51.2.6 (colored)

lock more hardware accesses

Revision 1.77 / (download) - annotate - [select for diffs], Mon Aug 3 12:11:36 2015 UTC (8 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.76: +4 -2 lines
Diff to previous 1.76 (colored) to selected 1.51.2.6 (colored)

Add SDHC_FLAG_POLL_CARD_DET flag which lets the bus glue request polling
instead of standard SDHC card insert / detach events.

Revision 1.76 / (download) - annotate - [select for diffs], Mon Aug 3 10:08:51 2015 UTC (8 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.75: +25 -11 lines
Diff to previous 1.75 (colored) to selected 1.51.2.6 (colored)

Add support for DDR50 transfer modes.

Revision 1.75 / (download) - annotate - [select for diffs], Mon Aug 3 05:24:37 2015 UTC (8 years, 8 months ago) by mlelstv
Branch: MAIN
Changes since 1.74: +4 -4 lines
Diff to previous 1.74 (colored) to selected 1.51.2.6 (colored)

better error message

Revision 1.74 / (download) - annotate - [select for diffs], Mon Aug 3 00:44:52 2015 UTC (8 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.73: +3 -3 lines
Diff to previous 1.73 (colored) to selected 1.51.2.6 (colored)

don't select SDR12 mode if we are <= 400 kHz

Revision 1.73 / (download) - annotate - [select for diffs], Mon Aug 3 00:19:27 2015 UTC (8 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.72: +3 -3 lines
Diff to previous 1.72 (colored) to selected 1.51.2.6 (colored)

dont confuse signaling voltage and bus voltage

Revision 1.72 / (download) - annotate - [select for diffs], Sun Aug 2 22:01:28 2015 UTC (8 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.71: +8 -7 lines
Diff to previous 1.71 (colored) to selected 1.51.2.6 (colored)

let SDHC_FLAG_HOSTCAPS override SDHC_CAPABILITIES2 as well

Revision 1.71 / (download) - annotate - [select for diffs], Sun Aug 2 21:45:12 2015 UTC (8 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.70: +61 -9 lines
Diff to previous 1.70 (colored) to selected 1.51.2.6 (colored)

add support for UHS-I modes on capable 3.0+ controllers

Revision 1.70 / (download) - annotate - [select for diffs], Sun Aug 2 11:28:01 2015 UTC (8 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.69: +3 -3 lines
Diff to previous 1.69 (colored) to selected 1.51.2.6 (colored)

bus_dma_segment_t ds_addr is bus_addr_t not paddr_t (another case of it)

Revision 1.69 / (download) - annotate - [select for diffs], Sun Aug 2 11:26:21 2015 UTC (8 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.68: +3 -3 lines
Diff to previous 1.68 (colored) to selected 1.51.2.6 (colored)

bus_dma_segment_t ds_addr is bus_addr_t not paddr_t

Revision 1.68 / (download) - annotate - [select for diffs], Sun Aug 2 07:14:10 2015 UTC (8 years, 8 months ago) by mlelstv
Branch: MAIN
Changes since 1.67: +9 -5 lines
Diff to previous 1.67 (colored) to selected 1.51.2.6 (colored)

Be more verbose about error conditions.

Revision 1.67 / (download) - annotate - [select for diffs], Sun Aug 2 07:07:02 2015 UTC (8 years, 8 months ago) by mlelstv
Branch: MAIN
Changes since 1.66: +3 -3 lines
Diff to previous 1.66 (colored) to selected 1.51.2.6 (colored)

correct (the commented out) calculation of bus frequency.

Revision 1.66 / (download) - annotate - [select for diffs], Sun Aug 2 00:24:24 2015 UTC (8 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.65: +6 -2 lines
Diff to previous 1.65 (colored) to selected 1.51.2.6 (colored)

return MMC_OCR_HCS bit from host_ocr if the controller supports high-speed mode

Revision 1.65 / (download) - annotate - [select for diffs], Fri Jul 31 15:00:08 2015 UTC (8 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.64: +52 -64 lines
Diff to previous 1.64 (colored) to selected 1.51.2.6 (colored)

Simplify sdhc(4) locking

Revision 1.64 / (download) - annotate - [select for diffs], Thu Jul 30 15:03:14 2015 UTC (8 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.63: +7 -3 lines
Diff to previous 1.63 (colored) to selected 1.51.2.6 (colored)

print "platform DMA" instead of "SDMA" when using external DMA engine

Revision 1.63 / (download) - annotate - [select for diffs], Wed Jul 29 12:11:13 2015 UTC (8 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.62: +146 -8 lines
Diff to previous 1.62 (colored) to selected 1.51.2.6 (colored)

Add ADMA2 support, which enables scatter gather DMA for data transfers on
controllers that support it.

Revision 1.62 / (download) - annotate - [select for diffs], Tue Jul 28 07:14:48 2015 UTC (8 years, 8 months ago) by skrll
Branch: MAIN
Changes since 1.61: +2 -3 lines
Diff to previous 1.61 (colored) to selected 1.51.2.6 (colored)

Remove unnecessary #include

Revision 1.61 / (download) - annotate - [select for diffs], Thu Jul 23 23:52:54 2015 UTC (8 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.60: +15 -4 lines
Diff to previous 1.60 (colored) to selected 1.51.2.6 (colored)

Add a SDHC_FLAG_NO_TIMEOUT quirk to handle spurious timeouts on Tegra K1
during data transfers. While here, increase the soft timeout for DMA
transfers from 1s to 3s.

Revision 1.60 / (download) - annotate - [select for diffs], Wed Jul 22 09:54:42 2015 UTC (8 years, 8 months ago) by skrll
Branch: MAIN
Changes since 1.59: +15 -16 lines
Diff to previous 1.59 (colored) to selected 1.51.2.6 (colored)

Use C99 designated initializers.

No functional change.

Revision 1.51.2.2 / (download) - annotate - [select for diffs], Sat Jun 6 14:40:13 2015 UTC (8 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.51.2.1: +60 -25 lines
Diff to previous 1.51.2.1 (colored) to branchpoint 1.51 (colored) to selected 1.51.2.6 (colored)

Sync with HEAD

Revision 1.59 / (download) - annotate - [select for diffs], Sat May 30 17:52:07 2015 UTC (8 years, 10 months ago) by jmcneill
Branch: MAIN
CVS Tags: nick-nhusb-base-20150606
Changes since 1.58: +9 -3 lines
Diff to previous 1.58 (colored) to selected 1.51.2.6 (colored)

support 8-bit mode for SDHC 3.0+ controllers

Revision 1.58 / (download) - annotate - [select for diffs], Sun May 3 22:37:27 2015 UTC (8 years, 11 months ago) by jmcneill
Branch: MAIN
Changes since 1.57: +17 -10 lines
Diff to previous 1.57 (colored) to selected 1.51.2.6 (colored)

print some useful information at attach time

Revision 1.57 / (download) - annotate - [select for diffs], Sun May 3 11:46:25 2015 UTC (8 years, 11 months ago) by jmcneill
Branch: MAIN
Changes since 1.56: +16 -9 lines
Diff to previous 1.56 (colored) to selected 1.51.2.6 (colored)

Add SDHC_FLAG_SINGLE_POWER_WRITE flag, that tells the driver to update
the SDHC_POWER_CTL register with a single write rather than in multiple
steps. Required for Tegra K1 SDHC.

Revision 1.56 / (download) - annotate - [select for diffs], Sat May 2 12:10:24 2015 UTC (8 years, 11 months ago) by jmcneill
Branch: MAIN
Changes since 1.55: +11 -6 lines
Diff to previous 1.55 (colored) to selected 1.51.2.6 (colored)

support SDHC 4.0, allow for overriding clk base frequency

Revision 1.44.2.8 / (download) - annotate - [select for diffs], Sun Apr 19 04:31:40 2015 UTC (9 years ago) by msaitoh
Branch: netbsd-7
CVS Tags: 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.44.2.7: +15 -5 lines
Diff to previous 1.44.2.7 (colored) to branchpoint 1.44 (colored) to selected 1.51.2.6 (colored)

Pull up following revision(s) (requested by bouyer in ticket #703):
	sys/dev/sdmmc/sdhcvar.h: revision 1.16
	sys/dev/sdmmc/sdhc.c: revision 1.55
Add a new SDHC_FLAG, SDHC_FLAG_EXTDMA_DMAEN, which request that the
SDHC_DMA_ENABLE bit be set in the command, even if we're using an
external DMA engine. Needed by the upcoming DMA support for AM335x
(beaglebone).

Revision 1.55 / (download) - annotate - [select for diffs], Tue Apr 14 18:34:29 2015 UTC (9 years ago) by bouyer
Branch: MAIN
Changes since 1.54: +15 -5 lines
Diff to previous 1.54 (colored) to selected 1.51.2.6 (colored)

Add a new SDHC_FLAG, SDHC_FLAG_EXTDMA_DMAEN, which request that the
SDHC_DMA_ENABLE bit be set in the command, even if we're using an
external DMA engine. Needed by the upcoming DMA support for AM335x
(beaglebone).

Revision 1.51.2.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:18:13 2015 UTC (9 years ago) by skrll
Branch: nick-nhusb
Changes since 1.51: +11 -5 lines
Diff to previous 1.51 (colored) to selected 1.51.2.6 (colored)

Sync with HEAD

Revision 1.44.2.7 / (download) - annotate - [select for diffs], Mon Mar 9 09:29:33 2015 UTC (9 years, 1 month ago) by snj
Branch: netbsd-7
Changes since 1.44.2.6: +5 -3 lines
Diff to previous 1.44.2.6 (colored) to branchpoint 1.44 (colored) to selected 1.51.2.6 (colored)

Pull up following revision(s) (requested by nonaka in ticket #577):
	sys/arch/powerpc/booke/dev/pq3sdhc.c: revision 1.6
	sys/dev/sdmmc/sdhc.c: revision 1.54
	sys/dev/sdmmc/sdmmc.c: revision 1.24
eSDHC has no DMA_BOUNDARY in BLOCK_SIZE register.
So clear multi segment DMA transfer support bit.
--
fix to simulate multi-segment dma transfer for pq3sdhc(4).
--
pq3sdhc: Enable DMA transfer.

Revision 1.54 / (download) - annotate - [select for diffs], Fri Feb 27 15:53:09 2015 UTC (9 years, 1 month ago) by nonaka
Branch: MAIN
CVS Tags: nick-nhusb-base-20150406
Changes since 1.53: +5 -3 lines
Diff to previous 1.53 (colored) to selected 1.51.2.6 (colored)

eSDHC has no DMA_BOUNDARY in BLOCK_SIZE register.
So clear multi segment DMA transfer support bit.

Revision 1.53 / (download) - annotate - [select for diffs], Fri Feb 27 01:52:15 2015 UTC (9 years, 1 month ago) by nonaka
Branch: MAIN
Changes since 1.52: +3 -3 lines
Diff to previous 1.52 (colored) to selected 1.51.2.6 (colored)

Don't clear other bits. pq3sdhc is set more bits.

Revision 1.44.2.6 / (download) - annotate - [select for diffs], Tue Jan 27 08:17:09 2015 UTC (9 years, 2 months ago) by martin
Branch: netbsd-7
Changes since 1.44.2.5: +7 -3 lines
Diff to previous 1.44.2.5 (colored) to branchpoint 1.44 (colored) to selected 1.51.2.6 (colored)

Pull up following revision(s) (requested by nonaka in ticket #460):
	sys/dev/sdmmc/sdhcreg.h: revision 1.12
	sys/dev/sdmmc/sdhc.c: revision 1.52
eSDHC has non standard Host Controller Version Register offset.

Revision 1.52 / (download) - annotate - [select for diffs], Mon Jan 26 04:56:56 2015 UTC (9 years, 2 months ago) by nonaka
Branch: MAIN
Changes since 1.51: +7 -3 lines
Diff to previous 1.51 (colored) to selected 1.51.2.6 (colored)

eSDHC has non standard Host Controller Version Register offset.

Revision 1.44.2.5 / (download) - annotate - [select for diffs], Sun Oct 5 20:00:54 2014 UTC (9 years, 6 months ago) by martin
Branch: netbsd-7
Changes since 1.44.2.4: +4 -3 lines
Diff to previous 1.44.2.4 (colored) to branchpoint 1.44 (colored) to selected 1.51.2.6 (colored)

Pull up following revision(s) (requested by skrll in ticket #129):
	sys/dev/sdmmc/sdhcvar.h: revision 1.15
	sys/dev/sdmmc/sdhc.c: revision 1.51
	sys/arch/arm/broadcom/bcm2835_emmc.c: revision 1.19
Pass sdhc_softc instead of sdhc_host to sc_vendor_transfer_data_dma,
since the vendor specific code has no access to it otherwise,
but can easily do device_private(sdhc_softc->sc_dev).

Revision 1.51 / (download) - annotate - [select for diffs], Sat Oct 4 18:09:32 2014 UTC (9 years, 6 months ago) by jmcneill
Branch: MAIN
CVS Tags: nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.50: +4 -3 lines
Diff to previous 1.50 (colored) to selected 1.51.2.6 (colored)

pass sdhc_softc instead of sdhc_host to sc_vendor_transfer_data_dma, since the vendor specific code has no visibility into struct sdhc_host and can easily do device_private(sdhc_softc->sc_dev)

Revision 1.44.2.4 / (download) - annotate - [select for diffs], Sat Oct 4 08:20:11 2014 UTC (9 years, 6 months ago) by martin
Branch: netbsd-7
Changes since 1.44.2.3: +3 -4 lines
Diff to previous 1.44.2.3 (colored) to branchpoint 1.44 (colored) to selected 1.51.2.6 (colored)

Pull up following revision(s) (requested by skrll in ticket #127):
	sys/dev/sdmmc/sdhc.c: revision 1.50
Fix divisor calculation for SDHC 3.0.

Revision 1.44.2.3 / (download) - annotate - [select for diffs], Fri Oct 3 18:53:56 2014 UTC (9 years, 6 months ago) by martin
Branch: netbsd-7
Changes since 1.44.2.2: +23 -12 lines
Diff to previous 1.44.2.2 (colored) to branchpoint 1.44 (colored) to selected 1.51.2.6 (colored)

Pull up following revision(s) (requested by skrll in ticket #126):
	sys/arch/evbarm/rpi/rpi_machdep.c: revision 1.47
	sys/arch/arm/broadcom/bcm2835reg.h: revision 1.12
	sys/arch/evbarm/conf/RPI: revision 1.52
	sys/arch/evbarm/conf/RPI: revision 1.53
	sys/arch/evbarm/conf/RPI: revision 1.54
	sys/arch/arm/broadcom/bcm2835_emmc.c: revision 1.10
	sys/arch/arm/broadcom/bcm2835_emmc.c: revision 1.11
	sys/arch/arm/broadcom/bcm2835_emmc.c: revision 1.12
	sys/arch/arm/broadcom/bcm2835_emmc.c: revision 1.13
	sys/arch/arm/broadcom/bcm2835_emmc.c: revision 1.14
	sys/arch/arm/broadcom/bcm2835_emmc.c: revision 1.15
	sys/arch/arm/broadcom/bcm2835_dmac.c: revision 1.3
	sys/arch/arm/broadcom/bcm2835_dmac.c: revision 1.4
	sys/arch/arm/broadcom/bcm2835_dmac.h: revision 1.2
	sys/arch/arm/broadcom/bcm2835_dmac.c: revision 1.5
	sys/arch/arm/broadcom/bcm2835_emmc.c: revision 1.18
	sys/arch/arm/broadcom/bcm2835_dmac.h: revision 1.3
	sys/arch/arm/broadcom/bcm2835_dmac.c: revision 1.6
	sys/arch/arm/broadcom/bcm2835_dmac.c: revision 1.7
	sys/arch/arm/broadcom/bcm2835_dmac.c: revision 1.8
	sys/arch/arm/broadcom/bcm2835_dmac.c: revision 1.9
	sys/arch/arm/broadcom/files.bcm2835: revision 1.23
	sys/dev/sdmmc/sdhc.c: revision 1.45
	sys/dev/sdmmc/sdhc.c: revision 1.46
	sys/dev/sdmmc/sdhc.c: revision 1.47
	sys/dev/sdmmc/sdhcvar.h: revision 1.14
Various RPI DMAC and sdhc improvements.

Revision 1.50 / (download) - annotate - [select for diffs], Thu Oct 2 18:14:38 2014 UTC (9 years, 6 months ago) by mlelstv
Branch: MAIN
Changes since 1.49: +3 -4 lines
Diff to previous 1.49 (colored) to selected 1.51.2.6 (colored)

Fix divisor calculation for SDHC 3.0.
1/1   -> 0
1/2   -> 1
1/4   -> 2
...
1/2*N -> N

Revision 1.44.2.2 / (download) - annotate - [select for diffs], Thu Oct 2 14:42:53 2014 UTC (9 years, 6 months ago) by martin
Branch: netbsd-7
Changes since 1.44.2.1: +4 -2 lines
Diff to previous 1.44.2.1 (colored) to branchpoint 1.44 (colored) to selected 1.51.2.6 (colored)

Pull up following revision(s) (requested by jmcneill in ticket #124):
	sys/dev/sdmmc/sdhc.c: revision 1.49
Correct clk div calculation for SD 3.0 controllers.

Revision 1.49 / (download) - annotate - [select for diffs], Wed Oct 1 20:59:37 2014 UTC (9 years, 6 months ago) by jmcneill
Branch: MAIN
Changes since 1.48: +4 -2 lines
Diff to previous 1.48 (colored) to selected 1.51.2.6 (colored)

correct clk div calculation for SD 3.0 controllers

Revision 1.44.2.1 / (download) - annotate - [select for diffs], Wed Oct 1 08:53:43 2014 UTC (9 years, 6 months ago) by martin
Branch: netbsd-7
Changes since 1.44: +5 -4 lines
Diff to previous 1.44 (colored) to selected 1.51.2.6 (colored)

Pull up following revision(s) (requested by jmcneill in ticket #123):
	sys/dev/sdmmc/sdhc.c: revision 1.48
Don't check slot type for pre-3.0 controllers, the bits were reserved at
the time. If an older controller advertises 1.8V support, just use it.
This fixes high-speed mode support for me on BeagleBone Black.

Revision 1.48 / (download) - annotate - [select for diffs], Wed Oct 1 00:25:43 2014 UTC (9 years, 6 months ago) by jmcneill
Branch: MAIN
Changes since 1.47: +5 -4 lines
Diff to previous 1.47 (colored) to selected 1.51.2.6 (colored)

Don't check slot type for pre-3.0 controllers, the bits were reserved at
the time. If an older controller advertises 1.8V support, just use it.
This fixes high-speed mode support for me on BeagleBone Black.

Revision 1.47 / (download) - annotate - [select for diffs], Sun Sep 14 08:47:08 2014 UTC (9 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.46: +18 -13 lines
Diff to previous 1.46 (colored) to selected 1.51.2.6 (colored)

When doing vendor dma transfer wait for SDHC_TRANSFER_COMPLETE.

From jmcneill@ with some layout changes from me.

Revision 1.46 / (download) - annotate - [select for diffs], Fri Sep 12 19:47:40 2014 UTC (9 years, 7 months ago) by jakllsch
Branch: MAIN
Changes since 1.45: +5 -3 lines
Diff to previous 1.45 (colored) to selected 1.51.2.6 (colored)

Avoid NULL deref when sdhc(4) attaches via config_interrupts().

Revision 1.45 / (download) - annotate - [select for diffs], Fri Sep 12 19:45:16 2014 UTC (9 years, 7 months ago) by jakllsch
Branch: MAIN
Changes since 1.44: +8 -4 lines
Diff to previous 1.44 (colored) to selected 1.51.2.6 (colored)

Allow sdhc(4) to use a non-integrated DMA engine.

Revision 1.30.2.3 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:50 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.30.2.2: +6 -4 lines
Diff to previous 1.30.2.2 (colored) to selected 1.51.2.6 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.43.10.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:54:58 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.43: +6 -4 lines
Diff to previous 1.43 (colored) next main 1.44 (colored) to selected 1.51.2.6 (colored)

Rebase.

Revision 1.44 / (download) - annotate - [select for diffs], Sat May 24 12:10:32 2014 UTC (9 years, 10 months ago) by hkenken
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base
Branch point for: netbsd-7
Changes since 1.43: +6 -4 lines
Diff to previous 1.43 (colored) to selected 1.51.2.6 (colored)

eSDHC Controller doesn't have "Host SDMA Buffer Boundary" bit field

Revision 1.7.2.6 / (download) - annotate - [select for diffs], Sat Feb 15 03:33:40 2014 UTC (10 years, 2 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.7.2.5: +5 -5 lines
Diff to previous 1.7.2.5 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored) to selected 1.51.2.6 (colored)

HAS_CGM -> HAVE_CGM (like current)
Add 32BIT_ACCESS

Revision 1.7.2.5 / (download) - annotate - [select for diffs], Tue Nov 5 18:35:35 2013 UTC (10 years, 5 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.7.2.4: +3 -3 lines
Diff to previous 1.7.2.4 (colored) to branchpoint 1.7 (colored) to selected 1.51.2.6 (colored)

turn off debug

Revision 1.30.2.2 / (download) - annotate - [select for diffs], Mon Feb 25 00:29:31 2013 UTC (11 years, 1 month ago) by tls
Branch: tls-maxphys
Changes since 1.30.2.1: +138 -54 lines
Diff to previous 1.30.2.1 (colored) to selected 1.51.2.6 (colored)

resync with head

Revision 1.10.2.5 / (download) - annotate - [select for diffs], Wed Feb 13 01:36:15 2013 UTC (11 years, 2 months ago) by riz
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.10.2.4: +4 -3 lines
Diff to previous 1.10.2.4 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored) to selected 1.51.2.6 (colored)

Pull up following revision(s) (requested by skrll in ticket #813):

etc/MAKEDEV.tmpl					1.160
etc/etc.evbarm/MAKEDEV.conf				1.9
external/broadcom/rpi-firmware/dist/LICENCE.broadcom	1.1
external/broadcom/rpi-firmware/dist/bootcode.bin	1.1
external/broadcom/rpi-firmware/dist/bootcode.bin	1.2
external/broadcom/rpi-firmware/dist/fixup.dat		1.1
external/broadcom/rpi-firmware/dist/fixup.dat		1.2
external/broadcom/rpi-firmware/dist/fixup_cd.dat	1.1
external/broadcom/rpi-firmware/dist/fixup_cd.dat	1.2
external/broadcom/rpi-firmware/dist/start.elf		1.1
external/broadcom/rpi-firmware/dist/start.elf		1.2
external/broadcom/rpi-firmware/dist/start_cd.elf	1.1
external/broadcom/rpi-firmware/dist/start_cd.elf	1.2
sys/arch/arm/broadcom/bcm2835_bsc.c			1.1 via patch
sys/arch/arm/broadcom/bcm2835_bscreg.h			1.1 via patch
sys/arch/arm/broadcom/bcm2835_dotg.c			1.1 via patch
sys/arch/arm/broadcom/bcm2835_emmc.c			1.7 via patch
sys/arch/arm/broadcom/bcm2835_genfb.c			1.4 via patch
sys/arch/arm/broadcom/bcm2835_gpio_subr.c		1.2 via patch
sys/arch/arm/broadcom/bcm2835_gpio_subr.h		1.1 via patch
sys/arch/arm/broadcom/bcm2835_gpioreg.h			1.1 via patch
sys/arch/arm/broadcom/bcm2835_intr.c			1.3 via patch
sys/arch/arm/broadcom/bcm2835_mbox.c			1.5 via patch
sys/arch/arm/broadcom/bcm2835_mbox.h			1.4 via patch
sys/arch/arm/broadcom/bcm2835_obio.c			1.17 via patch
sys/arch/arm/broadcom/bcm2835_pm.c			1.2 via patch
sys/arch/arm/broadcom/bcm2835_rng.c			1.3 via patch
sys/arch/arm/broadcom/bcm2835_space.c			1.5 via patch
sys/arch/arm/broadcom/bcm2835_spi.c			1.1 via patch
sys/arch/arm/broadcom/bcm2835_spireg.h			1.1 via patch
sys/arch/arm/broadcom/bcm2835_tmr.c			1.3 via patch
sys/arch/arm/broadcom/bcm2835reg.h			1.10 via patch
sys/arch/arm/broadcom/files.bcm2835			1.14 via patch
sys/arch/evbarm/conf/RPI				1.23 via patch
sys/arch/evbarm/conf/files.rpi				1.3 via patch
sys/arch/evbarm/conf/mk.rpi				1.2 via patch
sys/arch/evbarm/conf/std.rpi				1.4 via patch
sys/arch/evbarm/rpi/rpi_machdep.c			1.34 via patch
sys/arch/evbarm/rpi/rpi_start.S				1.7 via patch
sys/arch/evbarm/rpi/rpi_vcmbox.c			1.2 via patch
sys/arch/evbarm/rpi/vcio.h				1.1 via patch
sys/arch/evbarm/rpi/vcprop.h				1.7 via patch
sys/conf/files						patch
sys/dev/sdmmc/sdhc.c					1.43
sys/dev/sdmmc/sdhcvar.h					1.13
sys/dev/usb/dwc_otg.c					1.45 via patch
sys/dev/usb/dwc_otgreg.h				1.5 via patch
sys/dev/usb/dwc_otgvar.h				1.11 via patch
sys/dev/usb/files.usb					1.126 via patch
sys/dev/usb/if_smsc.c					1.7 via patch
sys/dev/usb/if_smscreg.h				1.1 via patch
sys/dev/usb/if_smscvar.h				1.1 via patch
sys/dev/usb/usbdevices.config				patch
sys/dev/usb/usbdevs					1.633 via patch
sys/dev/usb/usbdevs.h					regen
sys/dev/usb/usbdevs_data.h				regen
sys/dev/wscons/wsconsio.h				1.105,1.107 via patch
sys/dev/wscons/wsdisplayvar.h				1.50
sys/dev/wscons/wsdisplay_util.c				1.2
sys/dev/videomode/edid.c				1.12 via patch

	Greatly improved Raspberry Pi support.  USB and onboard
	Ethernet should work.
	[skrll, ticket #813]

Revision 1.9.2.4 / (download) - annotate - [select for diffs], Wed Jan 23 00:06:09 2013 UTC (11 years, 2 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.9.2.3: +89 -31 lines
Diff to previous 1.9.2.3 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored) to selected 1.51.2.6 (colored)

sync with head

Revision 1.9.2.3 / (download) - annotate - [select for diffs], Wed Jan 16 05:33:32 2013 UTC (11 years, 3 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.9.2.2: +51 -25 lines
Diff to previous 1.9.2.2 (colored) to branchpoint 1.9 (colored) to selected 1.51.2.6 (colored)

sync with (a bit old) head

Revision 1.43 / (download) - annotate - [select for diffs], Thu Jan 10 17:19:33 2013 UTC (11 years, 3 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: tls-earlyentropy
Changes since 1.42: +4 -3 lines
Diff to previous 1.42 (colored) to selected 1.51.2.6 (colored)

add SDHC_FLAG_NO_HS_BIT flag to prevent sdhc driver from setting the SDHC_HIGH_SPEED bit in SDHC_HOST_CTL, required to get many high speed cards working on rpi

Revision 1.42 / (download) - annotate - [select for diffs], Tue Jan 8 19:36:38 2013 UTC (11 years, 3 months ago) by jakllsch
Branch: MAIN
Changes since 1.41: +8 -2 lines
Diff to previous 1.41 (colored) to selected 1.51.2.6 (colored)

If the command protocol calls for a trailing busy signal,
wait (up to 10 seconds) for it to be released.

Revision 1.41 / (download) - annotate - [select for diffs], Mon Jan 7 02:56:24 2013 UTC (11 years, 3 months ago) by jakllsch
Branch: MAIN
Changes since 1.40: +7 -4 lines
Diff to previous 1.40 (colored) to selected 1.51.2.6 (colored)

Find correct slot index in sdhc_cfprint().

Revision 1.10.2.4 / (download) - annotate - [select for diffs], Wed Jan 2 23:34:56 2013 UTC (11 years, 3 months ago) by riz
Branch: netbsd-6
Changes since 1.10.2.3: +53 -26 lines
Diff to previous 1.10.2.3 (colored) to branchpoint 1.10 (colored) to selected 1.51.2.6 (colored)


sys/dev/sdmmc/sdhc.c				patch
sys/dev/sdmmc/sdhcreg.h				patch

	Support SDHC version 3 clocks.
	[skrll, ticket #759]

Revision 1.40 / (download) - annotate - [select for diffs], Mon Dec 24 06:09:50 2012 UTC (11 years, 3 months ago) by jakllsch
Branch: MAIN
Changes since 1.39: +4 -3 lines
Diff to previous 1.39 (colored) to selected 1.51.2.6 (colored)

SDHC_VOLTAGE_SUPP_1_8V is only valid in the presence of SDHC_EMBEDDED_SLOT.
Fixes probing of full-size 1GB Toshiba card made in 2008 that fails to
respond with a 1.8V supply.  (JMB389 (in TS-RDF1) host claims
SDHC_VOLTAGE_SUPP_1_8V but does not claim SDHC_EMBEDDED_SLOT.)

Revision 1.39 / (download) - annotate - [select for diffs], Sun Dec 23 22:33:09 2012 UTC (11 years, 3 months ago) by jakllsch
Branch: MAIN
Changes since 1.38: +3 -6 lines
Diff to previous 1.38 (colored) to selected 1.51.2.6 (colored)

SMC_CAPS_DMA without SMC_CAPS_MULTI_SEG_DMA means we as a host driver only
can support one segment per operation.  This is not the case with SDHCI SDMA,
the only SDHCI DMA mechanism we currently support in sdhc(4).  Should fix
corrupt data on DMA-enabled SDHCI controllers claiming conformance to a SDHCI
Specification other than 1.0.

Revision 1.38 / (download) - annotate - [select for diffs], Sat Dec 22 03:56:58 2012 UTC (11 years, 3 months ago) by jakllsch
Branch: MAIN
Changes since 1.37: +39 -11 lines
Diff to previous 1.37 (colored) to selected 1.51.2.6 (colored)

Add support for SDHCI 3.0 bus clock generation, which unlike 1.0 and 2.0
has support for non-power-of-two divisors from 1 to 1023. Additionally
restore finding the correct power-of-two divisor for standard-compliant
pre-3.0 SDHCI parts.  Also, calculate minimum divided clock for the
clkmsk-quirk parts correctly.

XXX Will future standard-compliant SDHCI versions have a SDHCI 3.0
backwards-compatible clock generator, or just SDHCI 1.0/2.0?

Revision 1.37 / (download) - annotate - [select for diffs], Thu Dec 20 22:56:38 2012 UTC (11 years, 4 months ago) by jakllsch
Branch: MAIN
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored) to selected 1.51.2.6 (colored)

If we get a SDMA boundary-crossing interrupt at the end of the final
segment, the transfer is not implicitly complete; we still need to wait
for the transfer complete interrupt so that we can issue new commands
successfully.

This fixes the problem my Ricoh R5C822 was having where all writes after
a larger (64KiB) write were failing because we attempted to issue CMD13
(to check the status of the aformentioned write) too soon afterwards.

I suspect this fix to apply to other Ricoh SDHCI controllers I've heard
people have had trouble with.  Sorry I didn't look at this sooner.

Revision 1.36 / (download) - annotate - [select for diffs], Thu Dec 20 14:37:00 2012 UTC (11 years, 4 months ago) by jakllsch
Branch: MAIN
Changes since 1.35: +35 -13 lines
Diff to previous 1.35 (colored) to selected 1.51.2.6 (colored)

Change sdhc_detach so that it detaches all host controllers at once.
This should make multiple slot controllers, for example those with
a controller on more than one PCI/CardBus BAR, detach with fewer bugs.
Tested with as-of-yet-uncommited sdhc_pci changes on a single-host
ExpressCard JMicron JMB38[89].

Revision 1.35 / (download) - annotate - [select for diffs], Thu Dec 13 06:43:37 2012 UTC (11 years, 4 months ago) by riastradh
Branch: MAIN
CVS Tags: yamt-pagecache-base7
Changes since 1.34: +24 -4 lines
Diff to previous 1.34 (colored) to selected 1.51.2.6 (colored)

Implement TI AM335x's SDHC reset quirk.  Beaglebone SDHC works now!

On the AM335x, we first must wait for the controller to acknowledge
the reset; then we can wait for the reset to complete.

I believe this quirk also applies to the OMAP4 ES, but I don't have
one of those to test and we don't seem to have an obvious conditional
for it anyway.

This quirk may work for controllers that don't require it too, but I
am nervous about doing it by default because if we miss the reset
acknowledgement, then we'll just time out even though everything is
really hunky-dory.

Also, for all sdhc, don't bother writing 0 in sdhc_soft_reset while
waiting for the reset to complete; there is no need.

ok matt

Revision 1.34 / (download) - annotate - [select for diffs], Wed Dec 12 15:15:31 2012 UTC (11 years, 4 months ago) by matt
Branch: MAIN
Changes since 1.33: +8 -2 lines
Diff to previous 1.33 (colored) to selected 1.51.2.6 (colored)

Add sc_vendor_bus_clock hook
From jmcneill.

Revision 1.33 / (download) - annotate - [select for diffs], Wed Dec 12 06:24:01 2012 UTC (11 years, 4 months ago) by riastradh
Branch: MAIN
Changes since 1.32: +23 -23 lines
Diff to previous 1.32 (colored) to selected 1.51.2.6 (colored)

Avoid the 16-bit read in sdhc_host_found for 32-bit-only devices.

This change makes sdhc_host_found allocate hp up front before showing
the identification, in order to avoid having to open-code a copy of
HREAD2 before hp is available.

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:02:33 2012 UTC (11 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.30: +42 -14 lines
Diff to previous 1.30 (colored) to selected 1.51.2.6 (colored)

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

Revision 1.9.2.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:22:01 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.9.2.1: +183 -103 lines
Diff to previous 1.9.2.1 (colored) to branchpoint 1.9 (colored) to selected 1.51.2.6 (colored)

sync with head

Revision 1.32 / (download) - annotate - [select for diffs], Mon Oct 29 13:30:25 2012 UTC (11 years, 5 months ago) by kiyohara
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Changes since 1.31: +41 -13 lines
Diff to previous 1.31 (colored) to selected 1.51.2.6 (colored)

Support omap3 SDHC driver.  tested on OVERO only.

Revision 1.31 / (download) - annotate - [select for diffs], Thu Sep 13 21:44:50 2012 UTC (11 years, 7 months ago) by joerg
Branch: MAIN
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored) to selected 1.51.2.6 (colored)

Don't use const foo const as type, one const is enough.

Revision 1.30 / (download) - annotate - [select for diffs], Fri Aug 31 01:44:20 2012 UTC (11 years, 7 months ago) by matt
Branch: MAIN
Branch point for: tls-maxphys
Changes since 1.29: +7 -3 lines
Diff to previous 1.29 (colored) to selected 1.51.2.6 (colored)

Support deciphering SDHCv3 clock rates.

Revision 1.10.2.3 / (download) - annotate - [select for diffs], Thu Aug 9 06:36:48 2012 UTC (11 years, 8 months ago) by jdc
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.10.2.2: +11 -6 lines
Diff to previous 1.10.2.2 (colored) to branchpoint 1.10 (colored) to selected 1.51.2.6 (colored)

Pull up revisions:
  src/sys/arch/evbarm/dev/plcomreg.h revisions 1.2,1.3,1.4
  src/sys/arch/evbarm/conf/INTEGRATOR revision 1.65
  src/sys/arch/evbarm/dev/plcom.c revisions 1.34,1.35,1.36,1.37,1.38,1.39,1.40
  src/sys/arch/evbarm/ifpga/plcom_ifpga.c revisions 1.12,1.13,1.14
  src/sys/arch/evbarm/dev/plcomvar.h revisions 1.9,1.10,1.11
  src/sys/arch/evbarm/ifpga/plcom_ifpgavar.h revision 1.2
  src/sys/arch/arm/arm/cpufunc.c revisions 1.105,1.108
  src/sys/arch/arm/arm32/cpu.c revision 1.79
  src/sys/arch/arm/include/armreg.h revisions 1.49,1.54
  src/sys/arch/arm/arm32/pmap.c revision 1.229
  src/sys/arch/arm/arm32/arm32_machdep.c revision 1.77
  src/sys/arch/arm/include/cpu.h revision 1.64
  src/sys/arch/arm/arm/cpufunc_asm_arm1136.S revision 1.3
  src/sys/arch/arm/arm/cpufunc_asm_arm11x6.S revision 1.1
  src/sys/arch/arm/conf/files.arm revision 1.106
  src/sys/arch/arm/include/cpufunc.h revision 1.57
  src/sys/dev/sdmmc/sdhc.c revisions 1.14,1.24
  src/sys/dev/sdmmc/sdhcvar.h revisions 1.7,1.8
  src/sys/arch/evbarm/ifpga/ifpgareg.h revision 1.4
  src/sys/arch/evbarm/integrator/integrator_machdep.c revision 1.69
  src/sys/arch/arm/broadcom/bcm2835_dma.c revision 1.1
  src/sys/arch/arm/broadcom/bcm2835_emmc.c revision 1.1
  src/sys/arch/arm/broadcom/bcm2835_intr.c revision 1.1
  src/sys/arch/arm/broadcom/bcm2835_intr.h revision 1.1
  src/sys/arch/arm/broadcom/bcm2835_obio.c revision 1.1
  src/sys/arch/arm/broadcom/bcm2835_plcom.c revision 1.1
  src/sys/arch/arm/broadcom/bcm2835_pm.c revision 1.1
  src/sys/arch/arm/broadcom/bcm2835_pmvar.h revision 1.1
  src/sys/arch/arm/broadcom/bcm2835_space.c revision 1.1
  src/sys/arch/arm/broadcom/bcm2835_tmr.c revision 1.1
  src/sys/arch/arm/broadcom/bcm2835reg.h revision 1.1
  src/sys/arch/arm/broadcom/bcm2835var.h revision 1.1
  src/sys/arch/arm/broadcom/bcm_amba.h revision 1.1
  src/sys/arch/arm/broadcom/files.bcm2835 revision 1.1
  src/sys/arch/evbarm/Makefile revision 1.9
  src/sys/arch/evbarm/conf/RPI revision 1.1
  src/sys/arch/evbarm/conf/files.rpi revision 1.1
  src/sys/arch/evbarm/conf/mk.rpi revision 1.1
  src/sys/arch/evbarm/conf/std.rpi revision 1.1
  src/sys/arch/evbarm/rpi/genassym.cf revision 1.1
  src/sys/arch/evbarm/rpi/rpi.h revision 1.1
  src/sys/arch/evbarm/rpi/rpi_machdep.c revision 1.1
  src/sys/arch/evbarm/rpi/rpi_start.S revision 1.1,1.2
  src/etc/etc.evbarm/Makefile.inc revision 1.28
(requested by skrll in ticket #454).

don't mix #define<TAB> and #define<SPACE> in a file.

avoid warning with options PLCOM_DEBUG for INTEGRATOR.

Rename register values. No functional change - same code before and after.

Existing names are prefixed with PL01X_ where they're common between the
PL010 and the PL011. The PL010_/PL011_ prefixes are added where they're
found only on the respective chips.

Replace the simple_lock with a kmutex_t.  Update the locking to match
com(4) in the few places it didn't already.

DOH.  Replace a line that got accidently deleted in the last commit.

device_t/softc split
struct device * -> device_t
struct cfdata * -> cfdata_t

Add the 'Z' to the 1176 cpu product name.

ok matt@

Fix locking botch introduced in 1.36.

Fix a KASSERT. From/OK'ed by matt@

Fix racy softint dispatch that lead to KASSERT(si->si_active) in
softint_execute

Discussed with matt@. "Looks good to me"

Add the documented ARM11[37]6 Auxiliary control register defines.

Add support for the ARM1176JZS

Add a flag for the lack of LED_ON in HOST_CTL (ti omap3 doesn't do that).

Provide a method for attachments to specify capabilites.

Add support for the PL011 to plcom. Pull across a bunch of fixes from
com(4) while I'm here and do some other tidyup.

Tested on a RaspberryPi.

PL010 not tested.

Initial commit of support for the RaspberryPI (www.raspberrypi.org)

This is enough for serial console via the gpio header pins and to get to
multiuser.

A huge thank you to Matt Thomas for all his help.

Add RPI to KERNEL_SETS

Remove #if 0 code.

Revision 1.10.2.2 / (download) - annotate - [select for diffs], Wed Aug 8 06:18:59 2012 UTC (11 years, 8 months ago) by jdc
Branch: netbsd-6
Changes since 1.10.2.1: +43 -16 lines
Diff to previous 1.10.2.1 (colored) to branchpoint 1.10 (colored) to selected 1.51.2.6 (colored)

Pull up revisions:
  src/sys/dev/sdmmc/sdhc.c revisions 1.16,1.20,1.21,1.22,1.23 via patch,1.25
  src/sys/dev/sdmmc/sdhcreg.h revision 1.8
  src/sys/dev/sdmmc/sdmmc_mem.c revisions 1.21,1.22
  src/sys/dev/sdmmc/sdmmcreg.h revisions 1.10,1.11,1.12
(requested by matt in ticket 441).

SDHCI byte swaps the BE response on the wire into LE registers.
As we always want response data in LE, use bus_space_read_stream.
Additonally, read response data in 1 or 4 4-byte chunks, instead of
one 4-byte chunk or 15 1-byte chunks.

bus_space_*_stream_N() functions are not universally available.
Provite alternate implementation for when they are unavailable.

Handle interrupt acknowledgement in the SDHC_FLAG_32BIT_ACCESS case in
the same way as non-SDHC_FLAG_32BIT_ACCESS case.

If there was an error in 32-bit mode, just set ERROR_INTERRUPT otherwise
see if matched anything we care about.

Add use of watermark register when PIO to an ESDHC.  After every kill or
drain of watermask words, pause a bit to give time for the fifo to recover.
Always the command response in BE byteorder.  Rewrite __bitfield to deal
with this.

Responses are actually in host order (except SCR which is return in
big endian so that's convert to host order).

Fix comments about __bitfield.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Jul 30 00:56:01 2012 UTC (11 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.28: +23 -14 lines
Diff to previous 1.28 (colored) to selected 1.51.2.6 (colored)

Make PIO on normal SDHC devices work correctly on big-endian machines.
Add locking around interrupt manipulation (it should now be MP safe).

Revision 1.28 / (download) - annotate - [select for diffs], Sat Jul 28 23:02:57 2012 UTC (11 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.27: +8 -6 lines
Diff to previous 1.27 (colored) to selected 1.51.2.6 (colored)

Only SDHC 1.0 controllers can do that fucky MULTI_SEG stuff.

Revision 1.27 / (download) - annotate - [select for diffs], Sat Jul 28 20:08:51 2012 UTC (11 years, 8 months ago) by jakllsch
Branch: MAIN
Changes since 1.26: +7 -9 lines
Diff to previous 1.26 (colored) to selected 1.51.2.6 (colored)

sdhc(4) currently only implements support for the SDHC 1.0 DMA mechanism, so
only enable in that case.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Jul 26 18:36:09 2012 UTC (11 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.25: +11 -9 lines
Diff to previous 1.25 (colored) to selected 1.51.2.6 (colored)

MULTI_SEG does not for ESDHC.  (Don't know how it works at all on any SDHC
but ...)

Revision 1.25 / (download) - annotate - [select for diffs], Mon Jul 23 13:32:19 2012 UTC (11 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored) to selected 1.51.2.6 (colored)

Responses are actually in host order (except SCR which is return in
big endian so that's convert to host order).

Revision 1.24 / (download) - annotate - [select for diffs], Sat Jul 21 16:14:05 2012 UTC (11 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.23: +9 -5 lines
Diff to previous 1.23 (colored) to selected 1.51.2.6 (colored)

Provide a method for attachments to specify capabilites.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Jul 20 02:04:13 2012 UTC (11 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.22: +34 -16 lines
Diff to previous 1.22 (colored) to selected 1.51.2.6 (colored)

Add use of watermark register when PIO to an ESDHC.  After every kill or
drain of watermask words, pause a bit to give time for the fifo to recover.
Always the command response in BE byteorder.  Rewrite __bitfield to deal
with this.

Revision 1.22 / (download) - annotate - [select for diffs], Tue Jul 17 21:35:26 2012 UTC (11 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.21: +5 -4 lines
Diff to previous 1.21 (colored) to selected 1.51.2.6 (colored)

If there was an error in 32-bit mode, just set ERROR_INTERRUPT otherwise
see if matched anything we care about.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Jul 17 05:57:49 2012 UTC (11 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored) to selected 1.51.2.6 (colored)

Handle interrupt acknowledgement in the SDHC_FLAG_32BIT_ACCESS case in
the same way as non-SDHC_FLAG_32BIT_ACCESS case.

Revision 1.20 / (download) - annotate - [select for diffs], Thu Jul 12 23:07:06 2012 UTC (11 years, 9 months ago) by jakllsch
Branch: MAIN
Changes since 1.19: +7 -2 lines
Diff to previous 1.19 (colored) to selected 1.51.2.6 (colored)

bus_space_*_stream_N() functions are not universally available.
Provite alternate implementation for when they are unavailable.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Jul 12 17:27:42 2012 UTC (11 years, 9 months ago) by jakllsch
Branch: MAIN
Changes since 1.18: +39 -46 lines
Diff to previous 1.18 (colored) to selected 1.51.2.6 (colored)

Completely rework (and enable) SDHC 1.0 DMA data transfer.

While without a large physically-contiguous buffer the performance
suffers severly, this should still be better than PIO.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Jul 12 17:15:27 2012 UTC (11 years, 9 months ago) by jakllsch
Branch: MAIN
Changes since 1.17: +7 -3 lines
Diff to previous 1.17 (colored) to selected 1.51.2.6 (colored)

No need to panic on failure to find a divisor.
Additionally, add commented out calculation of actual clock frequency.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Jul 12 16:58:50 2012 UTC (11 years, 9 months ago) by jakllsch
Branch: MAIN
Changes since 1.16: +18 -3 lines
Diff to previous 1.16 (colored) to selected 1.51.2.6 (colored)

SDHC can have multiple slots, note which slot a specific sdmmc(4) attaches to.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Jul 12 16:46:48 2012 UTC (11 years, 9 months ago) by jakllsch
Branch: MAIN
Changes since 1.15: +9 -9 lines
Diff to previous 1.15 (colored) to selected 1.51.2.6 (colored)

SDHCI byte swaps the BE response on the wire into LE registers.
As we always want response data in LE, use bus_space_read_stream.
Additonally, read response data in 1 or 4 4-byte chunks, instead of
one 4-byte chunk or 15 1-byte chunks.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Jul 12 16:32:34 2012 UTC (11 years, 9 months ago) by jakllsch
Branch: MAIN
Changes since 1.14: +9 -13 lines
Diff to previous 1.14 (colored) to selected 1.51.2.6 (colored)

Always enable and set block count register.  We never do infinite transfers.
The old way seemed to be causing issues on a R5C822, at least with DMA enabled.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Jul 12 03:05:49 2012 UTC (11 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.13: +4 -3 lines
Diff to previous 1.13 (colored) to selected 1.51.2.6 (colored)

Add a flag for the lack of LED_ON in HOST_CTL (ti omap3 doesn't do that).

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Mon Jun 11 17:45:32 2012 UTC (11 years, 10 months ago) by riz
Branch: netbsd-6
Changes since 1.10: +507 -186 lines
Diff to previous 1.10 (colored) to selected 1.51.2.6 (colored)

Pull up following revision(s) (requested by matt in ticket #254):
	sys/arch/powerpc/booke/dev/pq3sdhc.c: revision 1.4
	sys/dev/sdmmc/sdhc.c: revision 1.11
	sys/dev/sdmmc/sdhc.c: revision 1.13
Use the new 32-bit and ESDHC support in sdhc.c
Support 32-bit only access to the SDHC registers.
Add support for FreeScale &quot;Enhanced&quot; SDHC port.
Add support for CGM mode (XLP and BCM2835 (Arason)).
Do not read past array end, found by gcc -O3.
This could cause to HWRITE4() a bad value, but maybe last 2 bytes are
probably ignored by hardware anyway.

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:03 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.9: +543 -207 lines
Diff to previous 1.9 (colored) to selected 1.51.2.6 (colored)

sync with head

Revision 1.9.6.6 / (download) - annotate - [select for diffs], Thu Apr 5 21:33:33 2012 UTC (12 years ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.9.6.5: +17 -9 lines
Diff to previous 1.9.6.5 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored) to selected 1.51.2.6 (colored)

sync to latest -current.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Mar 15 18:37:43 2012 UTC (12 years, 1 month ago) by bouyer
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base10
Changes since 1.12: +17 -9 lines
Diff to previous 1.12 (colored) to selected 1.51.2.6 (colored)

Do not read past array end, found by gcc -O3.
This could cause to HWRITE4() a bad value, but maybe last 2 bytes are
probably ignored by hardware anyway.

Revision 1.9.6.5 / (download) - annotate - [select for diffs], Tue Mar 6 18:26:46 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.9.6.4: +60 -49 lines
Diff to previous 1.9.6.4 (colored) to branchpoint 1.9 (colored) to selected 1.51.2.6 (colored)

sync to -current

Revision 1.9.6.4 / (download) - annotate - [select for diffs], Tue Mar 6 09:56:22 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.9.6.3: +49 -60 lines
Diff to previous 1.9.6.3 (colored) to branchpoint 1.9 (colored) to selected 1.51.2.6 (colored)

sync to -current

Revision 1.9.6.3 / (download) - annotate - [select for diffs], Sun Mar 4 00:46:27 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.9.6.2: +58 -47 lines
Diff to previous 1.9.6.2 (colored) to branchpoint 1.9 (colored) to selected 1.51.2.6 (colored)

sync to latest -current.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Mar 2 18:20:33 2012 UTC (12 years, 1 month ago) by nonaka
Branch: MAIN
CVS Tags: jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base4
Changes since 1.11: +60 -49 lines
Diff to previous 1.11 (colored) to selected 1.51.2.6 (colored)

Added Ricoh 5U822/5U823 SD/MMC Controller support.

Revision 1.9.6.2 / (download) - annotate - [select for diffs], Fri Feb 24 09:11:42 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.9.6.1: +499 -186 lines
Diff to previous 1.9.6.1 (colored) to branchpoint 1.9 (colored) to selected 1.51.2.6 (colored)

sync to -current.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Feb 23 21:06:21 2012 UTC (12 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: jmcneill-usbmp-base5, jmcneill-usbmp-base3
Changes since 1.10: +499 -186 lines
Diff to previous 1.10 (colored) to selected 1.51.2.6 (colored)

Support 32-bit only access to the SDHC registers.
Add support for FreeScale "Enhanced" SDHC port.
Add support for CGM mode (XLP and BCM2835 (Arason)).

Revision 1.9.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:35:00 2012 UTC (12 years, 2 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.9: +6 -2 lines
Diff to previous 1.9 (colored) to selected 1.51.2.6 (colored)

merge to -current.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Feb 2 22:49:17 2012 UTC (12 years, 2 months ago) by nonaka
Branch: MAIN
CVS Tags: netbsd-6-base, jmcneill-usbmp-base2
Branch point for: netbsd-6
Changes since 1.9: +6 -2 lines
Diff to previous 1.9 (colored) to selected 1.51.2.6 (colored)

Use "opt_sdmmc.h" for SDHC_DEBUG.

Revision 1.7.2.4 / (download) - annotate - [select for diffs], Tue Dec 27 17:12:47 2011 UTC (12 years, 3 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.7.2.3: +27 -7 lines
Diff to previous 1.7.2.3 (colored) to branchpoint 1.7 (colored) to selected 1.51.2.6 (colored)

Sync/merge with changes from matt-nb5-pq3

Revision 1.7.2.3 / (download) - annotate - [select for diffs], Sat Dec 24 01:33:58 2011 UTC (12 years, 3 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.7.2.2: +54 -11 lines
Diff to previous 1.7.2.2 (colored) to branchpoint 1.7 (colored) to selected 1.51.2.6 (colored)

Add support for >63MHZ speeds.
Add support for extended clock division via CGM.

Revision 1.3.2.2.4.1 / (download) - annotate - [select for diffs], Tue Jul 26 03:22:29 2011 UTC (12 years, 8 months ago) by matt
Branch: matt-nb5-pq3
Changes since 1.3.2.2: +34 -10 lines
Diff to previous 1.3.2.2 (colored) next main 1.4 (colored) to selected 1.51.2.6 (colored)

Backport flash/nand/nor subsystem from -HEAD.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jun 29 06:21:16 2011 UTC (12 years, 9 months ago) by matt
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.8: +45 -12 lines
Diff to previous 1.8 (colored) to selected 1.51.2.6 (colored)

Add some inital changes for the Freescale eSDHC.

Revision 1.6.2.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:54:05 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.6.2.1: +17 -2 lines
Diff to previous 1.6.2.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored) to selected 1.51.2.6 (colored)

sync with head

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Fri Oct 22 07:22:15 2010 UTC (13 years, 6 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.5.2.1: +15 -0 lines
Diff to previous 1.5.2.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored) to selected 1.51.2.6 (colored)

Sync with HEAD (-D20101022).

Revision 1.1.4.6 / (download) - annotate - [select for diffs], Sat Oct 9 03:32:24 2010 UTC (13 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.1.4.5: +17 -2 lines
Diff to previous 1.1.4.5 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored) to selected 1.51.2.6 (colored)

sync with head

Revision 1.8 / (download) - annotate - [select for diffs], Thu Oct 7 12:06:10 2010 UTC (13 years, 6 months ago) by kiyohara
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, uebayasi-xip-base4, uebayasi-xip-base3, 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
Changes since 1.7: +17 -2 lines
Diff to previous 1.7 (colored) to selected 1.51.2.6 (colored)

Support change Open-drain/Push-pull by bus_rod().

Revision 1.1.4.5 / (download) - annotate - [select for diffs], Wed Aug 11 22:54:11 2010 UTC (13 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.1.4.4: +80 -13 lines
Diff to previous 1.1.4.4 (colored) to branchpoint 1.1 (colored) to selected 1.51.2.6 (colored)

sync with head.

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:43 2010 UTC (13 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.6: +80 -13 lines
Diff to previous 1.6 (colored) to selected 1.51.2.6 (colored)

sync with head

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:49 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.5: +80 -13 lines
Diff to previous 1.5 (colored) to selected 1.51.2.6 (colored)

Sync with HEAD.

Revision 1.7.2.2 / (download) - annotate - [select for diffs], Wed Apr 21 00:27:52 2010 UTC (14 years ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.7.2.1: +1173 -0 lines
Diff to previous 1.7.2.1 (colored) to branchpoint 1.7 (colored) to selected 1.51.2.6 (colored)

sync to netbsd-5

Revision 1.7.2.1, Sat Mar 27 03:04:52 2010 UTC (14 years ago) by matt
Branch: matt-nb5-mips64
Changes since 1.7: +0 -1240 lines
FILE REMOVED

file sdhc.c was added on branch matt-nb5-mips64 on 2010-04-21 00:27:52 +0000

Revision 1.7 / (download) - annotate - [select for diffs], Sat Mar 27 03:04:52 2010 UTC (14 years ago) by nonaka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base10, uebayasi-xip-base2, uebayasi-xip-base1
Branch point for: matt-nb5-mips64
Changes since 1.6: +80 -13 lines
Diff to previous 1.6 (colored) to selected 1.51.2.6 (colored)

Added sdhc at cardbus support.

Revision 1.1.4.4 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:03 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.1.4.3: +7 -7 lines
Diff to previous 1.1.4.3 (colored) to branchpoint 1.1 (colored) to selected 1.51.2.6 (colored)

sync with head

Revision 1.6 / (download) - annotate - [select for diffs], Wed Feb 24 22:38:08 2010 UTC (14 years, 1 month ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9
Branch point for: rmind-uvmplock
Changes since 1.5: +4 -4 lines
Diff to previous 1.5 (colored) to selected 1.51.2.6 (colored)

A pointer typedef entails trading too much flexibility to declare const
and non-const types, and the kernel uses both const and non-const
PMF qualifiers and device suspensors, so change the pmf_qual_t and
device_suspensor_t typedefs from "pointers to const" to non-pointer,
non-const types.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Jan 12 08:41:16 2010 UTC (14 years, 3 months ago) by uebayasi
Branch: MAIN
CVS Tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Changes since 1.4: +4 -4 lines
Diff to previous 1.4 (colored) to selected 1.51.2.6 (colored)

According to SD Host Controller Simplified Specification Version 2.00, 2.2.10.
Host Control Register (Offset 028h), the "Data Transfer Width" bit is in Host
Control Register (Offset 028h), not Power Control Register (Offset 029h).

Revision 1.4 / (download) - annotate - [select for diffs], Fri Jan 8 19:53:10 2010 UTC (14 years, 3 months ago) by dyoung
Branch: MAIN
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored) to selected 1.51.2.6 (colored)

Expand PMF_FN_* macros.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Wed Oct 7 15:41:13 2009 UTC (14 years, 6 months ago) by sborrill
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
Branch point for: matt-nb5-pq3
Changes since 1.3.2.1: +1173 -0 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored) to selected 1.51.2.6 (colored)

Pull up the following revisions(s) (requested by jmcneill in ticket #1044):
	distrib/sets/lists/man/mi:		patch
	share/man/man4/Makefile:		patch
	sys/arch/amd64/conf/files.amd64:	1.67
	sys/arch/i386/conf/files.i386:		1.349
	sys/conf/files				1.945
	share/man/man4/sdmmc.4:			1.1-1.4
	sys/dev/sdmmc/Makefile.sdmmcdevs	1.1
	sys/dev/sdmmc/devlist2h.awk		1.1
	sys/dev/sdmmc/files.sdmmc		1.1-1.2
	sys/dev/sdmmc/ld_sdmmc.c		1.1-1.3
	sys/dev/sdmmc/sbt.c			1.1-1.2
	sys/dev/sdmmc/sdhc.c			1.1-1.3
	sys/dev/sdmmc/sdhcreg.h			1.1
	sys/dev/sdmmc/sdhcvar.h			1.1
	sys/dev/sdmmc/sdmmc.c			1.1
	sys/dev/sdmmc/sdmmc_cis.c		1.1
	sys/dev/sdmmc/sdmmc_io.c		1.1
	sys/dev/sdmmc/sdmmc_ioreg.h		1.1
	sys/dev/sdmmc/sdmmc_mem.c		1.1-1.2
	sys/dev/sdmmc/sdmmcchip.h		1.1
	sys/dev/sdmmc/sdmmcdevs			1.1
	sys/dev/sdmmc/sdmmcdevs.h		1.1-1.2
	sys/dev/sdmmc/sdmmcreg.h		1.1-1.3
	sys/dev/sdmmc/sdmmcvar.h		1.1

Add sdmmc framework

Revision 1.3.2.1, Fri Oct 2 04:33:58 2009 UTC (14 years, 6 months ago) by sborrill
Branch: netbsd-5
Changes since 1.3: +0 -1173 lines
FILE REMOVED

file sdhc.c was added on branch netbsd-5 on 2009-10-07 15:41:13 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Fri Oct 2 04:33:58 2009 UTC (14 years, 6 months ago) by uebayasi
Branch: MAIN
CVS Tags: matt-premerge-20091211, jym-xensuspend-nbase
Branch point for: netbsd-5
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored) to selected 1.51.2.6 (colored)

Typo in comment.

Revision 1.1.6.3 / (download) - annotate - [select for diffs], Thu Jul 23 23:32:20 2009 UTC (14 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.1.6.2: +11 -5 lines
Diff to previous 1.1.6.2 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored) to selected 1.51.2.6 (colored)

Sync with HEAD.

Revision 1.1.4.3 / (download) - annotate - [select for diffs], Sat Jun 20 07:20:29 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.1.4.2: +11 -5 lines
Diff to previous 1.1.4.2 (colored) to branchpoint 1.1 (colored) to selected 1.51.2.6 (colored)

sync with head

Revision 1.2 / (download) - annotate - [select for diffs], Sun May 17 14:36:46 2009 UTC (14 years, 11 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, jymxensuspend-base
Changes since 1.1: +11 -5 lines
Diff to previous 1.1 (colored) to selected 1.51.2.6 (colored)

fix crash with LOCKDEBUG+DIAGNOSTIC kernels:

sdhc_bus_clock() calls mutex_enter().
then in DIAGNOSTIC section, sdhc_bus_clock() calls sdhc_card_detect().
sdhc_card_detect() calls mutex_enter() on the same mutex again.
when LOCKDEBUG is enabled, you get

Mutex error: lockdebug_wantlock: locking against myself

Revision 1.1.6.2 / (download) - annotate - [select for diffs], Wed May 13 17:21:29 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.1.6.1: +1167 -0 lines
Diff to previous 1.1.6.1 (colored) to branchpoint 1.1 (colored) to selected 1.51.2.6 (colored)

Sync with HEAD.

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

Revision 1.1.4.2 / (download) - annotate - [select for diffs], Mon May 4 08:13:18 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.1.4.1: +1167 -0 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored) to selected 1.51.2.6 (colored)

sync with head.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:36:33 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.1.2.1: +1167 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored) to selected 1.51.2.6 (colored)

Sync with HEAD.

Revision 1.1.6.1, Tue Apr 21 03:00:30 2009 UTC (15 years ago) by jym
Branch: jym-xensuspend
Changes since 1.1: +0 -1167 lines
FILE REMOVED

file sdhc.c was added on branch jym-xensuspend on 2009-05-13 17:21:29 +0000

Revision 1.1.4.1, Tue Apr 21 03:00:30 2009 UTC (15 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.1: +0 -1167 lines
FILE REMOVED

file sdhc.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:18 +0000

Revision 1.1.2.1, Tue Apr 21 03:00:30 2009 UTC (15 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.1: +0 -1167 lines
FILE REMOVED

file sdhc.c was added on branch nick-hppapmap on 2009-04-28 07:36:33 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Tue Apr 21 03:00:30 2009 UTC (15 years ago) by nonaka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jym-xensuspend-base
Branch point for: yamt-nfs-mp, nick-hppapmap, jym-xensuspend
Diff to selected 1.51.2.6 (colored)

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.

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>