CVS log for src/sys/dev/sdmmc/sdmmc_mem.c
Up to [cvs.NetBSD.org] / src / sys / dev / sdmmc
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.74.8.2: download - view: text, markup, annotated - select for diffs
Sat Oct 26 15:26:43 2024 UTC (2 months, 2 weeks ago) by martin
Branches: netbsd-10
CVS tags: netbsd-10-1-RELEASE
Diff to: previous 1.74.8.1: preferred, colored; branchpoint 1.74: preferred, colored; next MAIN 1.75: preferred, colored
Changes since revision 1.74.8.1: +323 -8
lines
Pull up following revision(s) (requested by jmcneill in ticket #985):
sys/dev/sdmmc/sdmmcvar.h: revision 1.37
sys/dev/sdmmc/sdmmcreg.h: revision 1.35
sys/dev/sdmmc/ld_sdmmc.c: revision 1.44
sys/dev/sdmmc/sdmmc_mem.c: revision 1.76
sdmmc: Add support for SD card caches.
SD physical 6.0 specification introduced Application Performance Class 2
(A2), which adds support for drive caches and command queueing.
Add support for enabling and flushing the cache when this feature is
present.
Revision 1.77: download - view: text, markup, annotated - select for diffs
Thu Oct 24 10:50:31 2024 UTC (2 months, 3 weeks ago) by skrll
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +12 -13
lines
Don't stop sd card initialization early when bus clock is already set
to the target rate.
From jmnceill@ and tested by me on beagle-v.
Revision 1.76: download - view: text, markup, annotated - select for diffs
Fri Oct 18 11:03:52 2024 UTC (2 months, 3 weeks ago) by jmcneill
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +323 -8
lines
sdmmc: Add support for SD card caches.
SD physical 6.0 specification introduced Application Performance Class 2
(A2), which adds support for drive caches and command queueing.
Add support for enabling and flushing the cache when this feature is
present.
Revision 1.74.8.1: download - view: text, markup, annotated - select for diffs
Sun Apr 30 10:58:07 2023 UTC (20 months, 2 weeks ago) by martin
Branches: netbsd-10
CVS tags: netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +4 -3
lines
Pull up following revision(s) (requested by jmcneill in ticket #151):
sys/dev/sdmmc/sdmmc_mem.c: revision 1.75
sdmmc: Only check chipset WP status for SD cards.
The sdmmc_chip_write_protect callback returns the write protect switch
status from the controller (SDWP#). This signal does not exist for eMMC;
instead, write protect is signaled using card registers (CSD). So lets
skip asking the chipset for WP status on eMMC cards for each write
request.
Revision 1.75: download - view: text, markup, annotated - select for diffs
Sat Apr 29 13:21:31 2023 UTC (20 months, 2 weeks ago) by jmcneill
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +4 -3
lines
sdmmc: Only check chipset WP status for SD cards.
The sdmmc_chip_write_protect callback returns the write protect switch
status from the controller (SDWP#). This signal does not exist for eMMC;
instead, write protect is signaled using card registers (CSD). So lets
skip asking the chipset for WP status on eMMC cards for each write
request.
Revision 1.56.4.6: download - view: text, markup, annotated - select for diffs
Fri Dec 3 19:31:19 2021 UTC (3 years, 1 month ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE
Diff to: previous 1.56.4.5: preferred, colored; branchpoint 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56.4.5: +4 -4
lines
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.68.2.3: download - view: text, markup, annotated - select for diffs
Fri Dec 3 18:20:41 2021 UTC (3 years, 1 month ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE
Diff to: previous 1.68.2.2: preferred, colored; branchpoint 1.68: preferred, colored; next MAIN 1.69: preferred, colored
Changes since revision 1.68.2.2: +4 -4
lines
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.74: download - view: text, markup, annotated - select for diffs
Tue Aug 3 07:54:39 2021 UTC (3 years, 5 months ago) by msaitoh
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-futex2-base,
thorpej-futex2,
netbsd-10-base,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Branch point for: netbsd-10
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +4 -4
lines
Use unsigned to avoid undefined behavior in sdmmc_mem_sd_switch().
Found by kUBSan.
Revision 1.72.6.1: download - view: text, markup, annotated - select for diffs
Thu Jun 17 04:46:30 2021 UTC (3 years, 6 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72: +6 -7
lines
Sync w/ HEAD.
Revision 1.73: download - view: text, markup, annotated - select for diffs
Sun Jun 13 09:50:02 2021 UTC (3 years, 7 months ago) by mlelstv
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf-base,
thorpej-cfargs2-base,
thorpej-cfargs2
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +6 -7
lines
Be less verbose normally and more when debugging.
Revision 1.68.2.2: download - view: text, markup, annotated - select for diffs
Sun Aug 9 14:03:07 2020 UTC (4 years, 5 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE
Diff to: previous 1.68.2.1: preferred, colored; branchpoint 1.68: preferred, colored
Changes since revision 1.68.2.1: +11 -5
lines
Pull up following revision(s) (requested by mrg in ticket #1042):
sys/dev/sdmmc/if_bwfm_sdio.c: revision 1.19
sys/dev/sdmmc/ld_sdmmc.c: revision 1.38
sys/dev/sdmmc/sdmmcvar.h: revision 1.35
sys/dev/sdmmc/if_bwfm_sdio.c: revision 1.5
sys/dev/ic/bwfm.c: revision 1.26
sys/dev/ic/bwfm.c: revision 1.27
sys/dev/sdmmc/if_bwfm_sdio.c: revision 1.20
sys/dev/sdmmc/if_bwfm_sdio.c: revision 1.21
sys/dev/sdmmc/sdmmc_io.c: revision 1.20
sys/dev/sdmmc/sdmmc_mem.c: revision 1.72
sys/dev/sdmmc/sdmmc.c: revision 1.40
sys/dev/sdmmc/sdmmc_ioreg.h: revision 1.6
sys/dev/sdmmc/if_bwfm_sdio.c: revision 1.16
Don't pass empty mbufs to the network stack.
Avoid changing signedness bit with << in sdmmc_ioreg.h
Reported by <prlw1>
If the controller doesn't support switch func (opcode 6) then skip
setting this but continue with other settings. This allows us to use
a card, albeit at a lower speed.
Fix races in sdmmc tasks and teach ld@sdmmc to abort xfers on detach.
- Teach sdmmc_add_task to queue it only if not already queued.
- Remove now-redundant logic to avoid repeated queueing elsewhere.
- Teach sdmmc_del_task to wait until task has completed.
- Call sdmmc_del_task in various needful places.
- Replace abuse of pcq by a lock and a tailq.
(pcq is multi-producer, _single_-consumer, but there are potentially
multiple consumers here and really only one producer.)
- Teach ld_sdmmc to abort xfers on detach.
(Mechanism is kinda kludgey but it'll do for now; any effort one is
tempted to spend overhauling this should be spent overhauling sdmmc
to support proper asynchronous commands.)
- Make sure ld_sdmmc_discard either returns failure or eventually calls
ldenddiscard.
XXX Currently ld_sdmmc_detach aborts xfers _before_ ldbegindetach has
has committed to detaching or not. This is currently necessary to
avoid a deadlock because ldbegindetach waits for xfers to drain --
which strikes me as wrong; ldbegindetach shouldn't wait for anything,
and should only make the decision to commit to detaching or not so
the caller can decide whether to abort xfers before we actually wait
for them in ldenddetach.
XXX pullup -- although this changes some kernel symbols (sdmmc_add_task
and sdmmc_del_task), it shouldn't affect any existing modules; the only
module that uses sdmmc is ld_sdmmc.kmod, which is `.if 0' in the build
so there shouldn't be any of them floating around.
Make this work on big endian machines
move some of the patching of callbacks and other data after
ieee80211_ifattach() but before if_deferred_start_init().
may fix panic i saw in after restarting wpa_supplicant.
from mlelstv.
only ask for SDPCMD_INTSTATUS_HMB_SW_MASK and SDPCMD_INTSTATUS_CHIPACTIVE
interrupts, not all of them. we only ack these ones.
mostly fixes pinebookpro wifi hard hangs. still is problematic and can
trigger interrupt storm that appears as a hard hang without NET_MPSAFE,
and a follow up, less clearly right, change will reduce that to a soft
hang of the interface that can be cleared with 'ifconfig bwfm0 down up',
and even often recovers itself now.
clear all interrupts, not just those we expect from the hostintmask.
this removes the final hard hang i have seen in pinebookpro wifi,
though one may still need to 'ifconfig bwfm0 down up' occasionally,
so we still have bugs to fix here (the hang is usually associated
with 'checksum error' from bwfm/sdio.)
Sort #includes. Nix trailing whitespace.
No functional change intended.
Revision 1.72: download - view: text, markup, annotated - select for diffs
Mon May 11 09:51:47 2020 UTC (4 years, 8 months ago) by jdc
Branches: MAIN
CVS tags: thorpej-futex-base,
thorpej-futex,
thorpej-cfargs-base,
thorpej-cfargs,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Branch point for: thorpej-i2c-spi-conf
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +11 -5
lines
If the controller doesn't support switch func (opcode 6) then skip
setting this but continue with other settings. This allows us to use
a card, albeit at a lower speed.
Revision 1.64.4.3: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:48 2020 UTC (4 years, 9 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.64.4.2: preferred, colored; branchpoint 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64.4.2: +3 -3
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.64.4.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:12 2020 UTC (4 years, 9 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.64.4.1: preferred, colored; branchpoint 1.64: preferred, colored
Changes since revision 1.64.4.1: +3 -3
lines
Merge changes from current as of 20200406
Revision 1.68.2.1: download - view: text, markup, annotated - select for diffs
Tue Feb 25 18:40:43 2020 UTC (4 years, 10 months ago) by martin
Branches: netbsd-9
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +6 -6
lines
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.71: download - view: text, markup, annotated - select for diffs
Sat Jan 4 22:28:26 2020 UTC (5 years ago) by mlelstv
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +3 -3
lines
Be less noisy for some commands.
Revision 1.70: download - view: text, markup, annotated - select for diffs
Mon Oct 28 06:31:39 2019 UTC (5 years, 2 months ago) by mlelstv
Branches: MAIN
CVS tags: phil-wifi-20191119
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +3 -3
lines
Whitespace police
Revision 1.69: download - view: text, markup, annotated - select for diffs
Mon Oct 28 06:16:46 2019 UTC (5 years, 2 months ago) by mlelstv
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +4 -4
lines
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.
Revision 1.64.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:32 2019 UTC (5 years, 7 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +31 -17
lines
Sync with HEAD
Revision 1.68: download - view: text, markup, annotated - select for diffs
Thu Jun 6 20:50:46 2019 UTC (5 years, 7 months ago) by jmcneill
Branches: MAIN
CVS tags: phil-wifi-20190609,
netbsd-9-base,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1
Branch point for: netbsd-9
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +24 -13
lines
If setting HS_TIMING fails, keep trying slower speeds instead of bailing
out.
Revision 1.67: download - view: text, markup, annotated - select for diffs
Tue May 28 00:25:27 2019 UTC (5 years, 7 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +5 -2
lines
If a mem function fails to initialize, set the error flag so sdmmc doesn't try to use it anyway.
Revision 1.64.2.2: download - view: text, markup, annotated - select for diffs
Mon Nov 26 01:52:47 2018 UTC (6 years, 1 month ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.64.2.1: preferred, colored; branchpoint 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64.2.1: +4 -4
lines
Sync with HEAD, resolve a couple of conflicts
Revision 1.66: download - view: text, markup, annotated - select for diffs
Fri Nov 9 14:38:36 2018 UTC (6 years, 2 months ago) by jmcneill
Branches: MAIN
CVS tags: pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
isaki-audio2-base,
isaki-audio2
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +4 -4
lines
Wait for data ready after eMMC flush cache commands
Revision 1.64.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:56:04 2018 UTC (6 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +4 -4
lines
Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
Revision 1.65: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:29:33 2018 UTC (6 years, 4 months ago) by riastradh
Branches: MAIN
CVS tags: pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +4 -4
lines
Rename min/max -> uimin/uimax for better honesty.
These functions are defined on unsigned int. The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.
HOWEVER! Some subsystems have
#define min(a, b) ((a) < (b) ? (a) : (b))
#define max(a, b) ((a) > (b) ? (a) : (b))
even though our standard name for that is MIN/MAX. Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.
To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.
I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:
cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))
It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.
Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate. But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all. (Who knows, maybe in some cases integer
truncation is actually intended!)
Revision 1.56.4.5: download - view: text, markup, annotated - select for diffs
Sun Feb 11 21:29:18 2018 UTC (6 years, 11 months ago) by snj
Branches: 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
Diff to: previous 1.56.4.4: preferred, colored; branchpoint 1.56: preferred, colored
Changes since revision 1.56.4.4: +10 -6
lines
Pull up following revision(s) (requested by bouyer in ticket #537):
sys/dev/sdmmc/sdmmc_mem.c: revision 1.64
Fix uninitialized variable use:
if there is an error, or if we are using a SPI controller,
sdmmc_mem_send_op_cond() doens't assign a value to *ocrp,
but it is used unconditionally in sdmmc_mem_enable() to see if we can switch
to low voltage.
In sdmmc_mem_send_op_cond(), if the new ocr is not returned by the
card for whatever reason, set *ocrp to the orig value.
Revision 1.64: download - view: text, markup, annotated - select for diffs
Wed Feb 7 14:42:07 2018 UTC (6 years, 11 months ago) by bouyer
Branches: MAIN
CVS tags: phil-wifi-base,
pgoyette-compat-base,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
jdolecek-ncqfixes-base,
jdolecek-ncqfixes
Branch point for: phil-wifi,
pgoyette-compat
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +10 -6
lines
Fix uninitialized variable use:
if there is an error, or if we are using a SPI controller,
sdmmc_mem_send_op_cond() doens't assign a value to *ocrp,
but it is used unconditionally in sdmmc_mem_enable() to see if we can switch
to low voltage.
In sdmmc_mem_send_op_cond(), if the new ocr is not returned by the
card for whatever reason, set *ocrp to the orig value.
Revision 1.23.2.5: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:32 2017 UTC (7 years, 1 month ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.23.2.4: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23.2.4: +859 -225
lines
update from HEAD
Revision 1.63: download - view: text, markup, annotated - select for diffs
Tue Sep 12 13:43:37 2017 UTC (7 years, 4 months ago) by jmcneill
Branches: MAIN
CVS tags: tls-maxphys-base-20171202
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +14 -2
lines
For SD cards, send the SET_WR_BLK_ERASE_COUNT app command before a
multi-block write to improve write performance.
Revision 1.56.4.4: download - view: text, markup, annotated - select for diffs
Fri Sep 1 09:59:10 2017 UTC (7 years, 4 months ago) by martin
Branches: netbsd-8
CVS tags: matt-nb8-mediatek-base,
matt-nb8-mediatek
Diff to: previous 1.56.4.3: preferred, colored; branchpoint 1.56: preferred, colored
Changes since revision 1.56.4.3: +4 -9
lines
Pull up following revision(s) (requested by mlelstv in ticket #261):
sys/dev/sdmmc/ld_sdmmc.c: revision 1.32
sys/dev/sdmmc/ld_sdmmc.c: revision 1.33
sys/dev/sdmmc/ld_sdmmc.c: revision 1.34
sys/dev/sdmmc/sdmmc_mem.c: revision 1.62
sys/dev/i2o/ld_iop.c: revision 1.39
sys/dev/ld.c: revision 1.102
sys/dev/ld.c: revision 1.103
sys/dev/dksubr.c: revision 1.98
sys/dev/dksubr.c: revision 1.99
sys/dev/sdmmc/sdmmcvar.h: revision 1.29
sys/dev/ic/ld_nvme.c: revision 1.17
sys/dev/ldvar.h: revision 1.31
sys/dev/ldvar.h: revision 1.32
sys/dev/ic/ld_cac.c: revision 1.31
sys/dev/pci/ld_virtio.c: revision 1.16
While ld(4) is MP safe, many backends are not.
Add a flag for backends that are MP safe. Take KERNEL_LOCK when calling
into a backend that doesn't have the flag set. Do the same for the
discard routine.
Fixes PR 52462.
Defer sdmmc discard operations to the sdmmc task queue. Fixes a panic
introduced by ld.c r1.102.
validate length for discard operation and split operation when byte length
doesn't fit into 'int'.
make the sc_discard interface for the ld backend asynchronous and
signal completion through new callback lddiscardend. Use a standard
struct buf to pass disk address and range instead of two off_t values.
make lddiscard synchronous again. This is a requirement of the current
ffs discard code.
Initialize error also in the case where len=0, which just succeeds.
while here, assert that the len is indeed non-negative. this is already
confirmed by sys_fdiscard, but let's be sure.
reported by: GCC, but with different compile flags
Revision 1.31.6.6: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:52:27 2017 UTC (7 years, 4 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.31.6.5: preferred, colored; branchpoint 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31.6.5: +321 -21
lines
Sync with HEAD
Revision 1.62: download - view: text, markup, annotated - select for diffs
Sun Aug 20 15:58:43 2017 UTC (7 years, 4 months ago) by mlelstv
Branches: MAIN
CVS tags: nick-nhusb-base-20170825
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +4 -9
lines
make the sc_discard interface for the ld backend asynchronous and
signal completion through new callback lddiscardend. Use a standard
struct buf to pass disk address and range instead of two off_t values.
make lddiscard synchronous again. This is a requirement of the current
ffs discard code.
Revision 1.56.4.3: download - view: text, markup, annotated - select for diffs
Tue Jul 25 01:49:13 2017 UTC (7 years, 5 months ago) by snj
Branches: netbsd-8
Diff to: previous 1.56.4.2: preferred, colored; branchpoint 1.56: preferred, colored
Changes since revision 1.56.4.2: +55 -7
lines
Pull up following revision(s) (requested by jmcneill in ticket #139):
sys/arch/arm/sunxi/sunxi_mmc.c: revision 1.2
sys/dev/sdmmc/ld_sdmmc.c: revision 1.31
sys/dev/sdmmc/sdmmc_mem.c: revision 1.61
sys/dev/sdmmc/sdmmcreg.h: revision 1.32
sys/dev/sdmmc/sdmmcvar.h: revision 1.28
Add support for eMMC 4.5's optional cache feature. If a cache is present,
and the host controller reports the SMC_CAPS_POLLING capability (needed
to flush cache at shutdown), it will be automatically enabled and used.
--
Add SMC_CAPS_POLLING support.
Revision 1.61.2.2: download - view: text, markup, annotated - select for diffs
Sun Jul 16 17:11:47 2017 UTC (7 years, 6 months ago) by jmcneill
Branches: perseant-stdc-iso10646
Diff to: previous 1.61.2.1: preferred, colored; branchpoint 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61.2.1: +2243 -0
lines
2978427
Revision 1.61.2.1
Sun Jul 16 17:11:46 2017 UTC (7 years, 6 months ago) by jmcneill
Branches: perseant-stdc-iso10646
FILE REMOVED
Changes since revision 1.61: +0 -2243
lines
file sdmmc_mem.c was added on branch perseant-stdc-iso10646 on 2017-07-16 17:11:47 +0000
Revision 1.61: download - view: text, markup, annotated - select for diffs
Sun Jul 16 17:11:46 2017 UTC (7 years, 6 months ago) by jmcneill
Branches: MAIN
CVS tags: perseant-stdc-iso10646-base
Branch point for: perseant-stdc-iso10646
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +55 -7
lines
Add support for eMMC 4.5's optional cache feature. If a cache is present,
and the host controller reports the SMC_CAPS_POLLING capability (needed
to flush cache at shutdown), it will be automatically enabled and used.
Revision 1.56.4.2: download - view: text, markup, annotated - select for diffs
Sat Jul 1 08:45:03 2017 UTC (7 years, 6 months ago) by snj
Branches: netbsd-8
Diff to: previous 1.56.4.1: preferred, colored; branchpoint 1.56: preferred, colored
Changes since revision 1.56.4.1: +209 -3
lines
Pull up following revision(s) (requested by jmcneill in ticket #67):
sys/dev/sdmmc/ld_sdmmc.c: 1.28
sys/dev/sdmmc/sdmmc_mem.c: 1.58-1.60
sys/dev/sdmmc/sdmmcreg.h: 1.30, 1.31
sys/dev/sdmmc/sdmmcvar.h: 1.25-1.27
Add discard support to ld@sdmmc using the ERASE (CMD38) command.
--
Read SD status register and print card status when a new SD card is found:
sdmmc0: SD card status: 4-bit, C10, U1, V10
If the SD status register reports discard support, set the DISCARD arg to
the ERASE operation to let the card know that the host doesn't care if the
erase is performed.
--
Revert part of previous; the SD card spec recommends not to issue a DISCARD
command to the file system area.
Revision 1.60: download - view: text, markup, annotated - select for diffs
Sat Jun 24 23:25:01 2017 UTC (7 years, 6 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +2 -13
lines
Revert part of previous; the SD card spec recommends not to issue a DISCARD
command to the file system area.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Sat Jun 24 23:07:35 2017 UTC (7 years, 6 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +155 -3
lines
Read SD status register and print card status when a new SD card is found:
sdmmc0: SD card status: 4-bit, C10, U1, V10
If the SD status register reports discard support, set the DISCARD arg to
the ERASE operation to let the card know that the host doesn't care if the
erase is performed.
Revision 1.58: download - view: text, markup, annotated - select for diffs
Sat Jun 24 11:27:33 2017 UTC (7 years, 6 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +67 -2
lines
Add discard support to ld@sdmmc using the ERASE (CMD38) command.
Revision 1.56.4.1: download - view: text, markup, annotated - select for diffs
Sun Jun 4 20:45:54 2017 UTC (7 years, 7 months ago) by bouyer
Branches: netbsd-8
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +6 -2
lines
Pull up following revision(s) (requested by jmcneill in ticket #3):
sys/dev/sdmmc/sdmmcvar.h: revision 1.24
sys/dev/sdmmc/sdmmc_mem.c: revision 1.57
sys/dev/ic/pl181.c: revision 1.4
Give a hint to controllers in the command flags if we are performing a
transfer with an SDHC capable card. If the controller needs to adjust
command args, it can use this hint to understand how it is encoded.
Re-introduce support for multi-block transfers and split transfers to fit
within the 65535-byte limit.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Sun Jun 4 15:00:02 2017 UTC (7 years, 7 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +6 -2
lines
Give a hint to controllers in the command flags if we are performing a
transfer with an SDHC capable card. If the controller needs to adjust
command args, it can use this hint to understand how it is encoded.
Revision 1.51.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 26 02:53:23 2017 UTC (7 years, 8 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.51.2.1: preferred, colored; branchpoint 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51.2.1: +2 -5
lines
Sync with HEAD
Revision 1.52.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:53 2017 UTC (7 years, 8 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52: +63 -16
lines
Sync with HEAD
Revision 1.56: download - view: text, markup, annotated - select for diffs
Tue Apr 11 23:26:33 2017 UTC (7 years, 9 months ago) by jmcneill
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-20170426,
netbsd-8-base,
bouyer-socketcan-base1
Branch point for: netbsd-8
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +2 -5
lines
Remove a test that prevents tuning from happening on eMMC devices.
Revision 1.51.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:38 2017 UTC (7 years, 9 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +63 -13
lines
Sync with HEAD
Revision 1.55: download - view: text, markup, annotated - select for diffs
Fri Feb 17 10:51:48 2017 UTC (7 years, 10 months ago) by nonaka
Branches: MAIN
CVS tags: pgoyette-localcount-20170320,
jdolecek-ncq-base,
jdolecek-ncq
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +8 -2
lines
sdhc(4): hardware reset support for Intel eMMC controller
Revision 1.54: download - view: text, markup, annotated - select for diffs
Fri Feb 17 10:50:43 2017 UTC (7 years, 10 months ago) by nonaka
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +49 -5
lines
sdhc(4), sdmmc(4): Added MMC HS DDR52 support.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Fri Feb 17 10:48:19 2017 UTC (7 years, 10 months ago) by nonaka
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +10 -10
lines
sdmmc(4): Use EXT_CSD[HS_TIMING] definitions.
Revision 1.31.6.5: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:55:56 2016 UTC (8 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.31.6.4: preferred, colored; branchpoint 1.31: preferred, colored
Changes since revision 1.31.6.4: +3 -3
lines
Sync with HEAD
Revision 1.52: download - view: text, markup, annotated - select for diffs
Thu Aug 11 01:33:25 2016 UTC (8 years, 5 months ago) by nonaka
Branches: MAIN
CVS tags: pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
localcount-20160914,
bouyer-socketcan-base
Branch point for: bouyer-socketcan
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +3 -3
lines
Fix incorrect sector counts with MMC.
Revision 1.31.6.4: download - view: text, markup, annotated - select for diffs
Sat Mar 19 11:30:19 2016 UTC (8 years, 9 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.31.6.3: preferred, colored; branchpoint 1.31: preferred, colored
Changes since revision 1.31.6.3: +4 -5
lines
Sync with HEAD
Revision 1.51: download - view: text, markup, annotated - select for diffs
Sun Mar 13 09:12:16 2016 UTC (8 years, 10 months ago) by tsutsui
Branches: MAIN
CVS tags: pgoyette-localcount-base,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319
Branch point for: pgoyette-localcount
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +4 -5
lines
Call the second sdmmc_mem_send_if_cond() only where it's necessary.
This makes SMC_CAPS_SPI_MODE devices (currently evbsh3 only) work again.
"Maybe ok" from nonaka@.
Revision 1.31.6.3: download - view: text, markup, annotated - select for diffs
Sun Dec 27 12:09:58 2015 UTC (9 years ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.31.6.2: preferred, colored; branchpoint 1.31: preferred, colored
Changes since revision 1.31.6.2: +62 -7
lines
Sync with HEAD (as of 26th Dec)
Revision 1.50: download - view: text, markup, annotated - select for diffs
Tue Dec 22 09:56:06 2015 UTC (9 years ago) by mlelstv
Branches: MAIN
CVS tags: nick-nhusb-base-20151226
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +4 -3
lines
Be graceful about command timeouts when probing.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Sun Nov 29 23:38:47 2015 UTC (9 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +28 -4
lines
Add some event counters to track transfer sizes.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Thu Oct 29 22:37:15 2015 UTC (9 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +33 -3
lines
After setting HS_TIMING value for HS200 or later, send repeated SEND_STATUS
command until the device is no longer busy or the SWITCH_ERROR bit is set.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Tue Oct 6 14:32:51 2015 UTC (9 years, 3 months ago) by mlelstv
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +3 -3
lines
support hiding command timeout messages with a new command flag and use this
when probing for cards. Should fix PR 50302.
Revision 1.31.6.2: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:06:00 2015 UTC (9 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.31.6.1: preferred, colored; branchpoint 1.31: preferred, colored
Changes since revision 1.31.6.1: +273 -70
lines
Sync with HEAD
Revision 1.46: download - view: text, markup, annotated - select for diffs
Sat Aug 8 10:50:55 2015 UTC (9 years, 5 months ago) by jmcneill
Branches: MAIN
CVS tags: nick-nhusb-base-20150921
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +16 -17
lines
eMMC fixes
Revision 1.45: download - view: text, markup, annotated - select for diffs
Wed Aug 5 10:29:37 2015 UTC (9 years, 5 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +55 -9
lines
Add support for sampling clock tuning, required for some UHS modes and
MMC HS200.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Tue Aug 4 01:21:55 2015 UTC (9 years, 5 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +62 -40
lines
ODROID-C1 has a bug where the card is not power-cycled when the board is
reset. If you had previously switched to 1.8V signaling level, upon reboot
the card will still be in 1.8V mode and you cannot detect it with an S18R
request.
A card in 1.8V mode will report UHS modes though, so if the card reports
SDR50, DDR50, or SDR104 capabilities, and the previous S18R request failed
to switch, use this as an opportunity to re-enable UHS support in the
subsystem and host controller drivers.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Tue Aug 4 00:32:05 2015 UTC (9 years, 5 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +15 -4
lines
instead of trying to handle cards already in 1.8V mode, request host controller to switch to 3.3V signaling before starting the init sequence
Revision 1.42: download - view: text, markup, annotated - select for diffs
Mon Aug 3 19:17:35 2015 UTC (9 years, 5 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +8 -7
lines
Handle cards that are already in low voltage (1.8V) mode. Test correct
bit when determining the best SD transfer mode.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Mon Aug 3 12:10:29 2015 UTC (9 years, 5 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +3 -2
lines
clear SMF_UHS_MODE flag before enabling card
Revision 1.40: download - view: text, markup, annotated - select for diffs
Mon Aug 3 11:24:17 2015 UTC (9 years, 5 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +4 -4
lines
fix SDMMC_DEBUG build
Revision 1.39: download - view: text, markup, annotated - select for diffs
Mon Aug 3 10:08:51 2015 UTC (9 years, 5 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +125 -80
lines
Add support for DDR50 transfer modes.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Mon Aug 3 05:32:50 2015 UTC (9 years, 5 months ago) by mlelstv
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +4 -0
lines
use mutex locking for MP safety.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Mon Aug 3 05:26:53 2015 UTC (9 years, 5 months ago) by mlelstv
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -2
lines
more debug output
Revision 1.36: download - view: text, markup, annotated - select for diffs
Sun Aug 2 22:47:05 2015 UTC (9 years, 5 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +10 -3
lines
Add support for eMMC 5.0 HS200 timings.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Sun Aug 2 21:44:36 2015 UTC (9 years, 5 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +74 -8
lines
Add basic UHS-I support. SDR50 and SDR104 are supported, but not DDR50.
Revision 1.31.6.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:18:13 2015 UTC (9 years, 9 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +211 -146
lines
Sync with HEAD
Revision 1.31.4.2: download - view: text, markup, annotated - select for diffs
Mon Mar 9 17:45:57 2015 UTC (9 years, 10 months ago) by snj
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0
Diff to: previous 1.31.4.1: preferred, colored; branchpoint 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31.4.1: +188 -132
lines
Pull up following revision(s) (requested by nonaka in ticket #577):
sys/dev/sdmmc/sdmmc_mem.c: revision 1.34
sys/dev/sdmmc/sdmmcvar.h: revision 1.16
fix to simulate multi-segment dma transfer for pq3sdhc(4).
Revision 1.34: download - view: text, markup, annotated - select for diffs
Fri Feb 27 16:08:17 2015 UTC (9 years, 10 months ago) by nonaka
Branches: MAIN
CVS tags: nick-nhusb-base-20150606,
nick-nhusb-base-20150406
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +188 -132
lines
fix to simulate multi-segment dma transfer for pq3sdhc(4).
Revision 1.31.4.1: download - view: text, markup, annotated - select for diffs
Mon Feb 16 21:25:34 2015 UTC (9 years, 11 months ago) by martin
Branches: netbsd-7
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +4 -4
lines
Pull up following revision(s) (requested by maxv in ticket #520):
sys/ufs/chfs/ebh.c: revision 1.6
sys/dev/sdmmc/sdmmc_mem.c: revision 1.33
sys/dev/ic/aic7xxx.c: revision 1.132
sys/fs/nfs/common/krpc_subr.c: revision 1.2
sys/modules/lua/lua.c: revision 1.16
sys/fs/udf/udf_subr.c: revision 1.128
sys/ufs/chfs/chfs_scan.c: revision 1.6
sys/dev/ic/an.c: revision 1.62
Fix six memory leaks and two inconsistencies.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Sat Feb 7 04:13:26 2015 UTC (9 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +4 -4
lines
Return an actual error. Reported by:
http://www.m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html#Report-4
Revision 1.32: download - view: text, markup, annotated - select for diffs
Sun Dec 7 20:07:25 2014 UTC (10 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +23 -14
lines
Fix high capacity (> 2GB) eMMC support, from OpenBSD.
Revision 1.23.2.4: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:50 2014 UTC (10 years, 4 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.23.2.3: preferred, colored
Changes since revision 1.23.2.3: +75 -37
lines
Rebase to HEAD as of a few days ago.
Revision 1.17.4.4: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:36 2014 UTC (10 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.17.4.3: preferred, colored; branchpoint 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17.4.3: +82 -41
lines
sync with head.
for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
Revision 1.29.4.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:47 2014 UTC (10 years, 8 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +77 -39
lines
sync with head
Revision 1.31: download - view: text, markup, annotated - select for diffs
Wed Mar 19 15:26:42 2014 UTC (10 years, 10 months ago) by nonaka
Branches: MAIN
CVS tags: yamt-pagecache-base9,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
rmind-smpnet-nbase,
rmind-smpnet-base,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
nick-nhusb-base,
netbsd-7-base
Branch point for: nick-nhusb,
netbsd-7
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +75 -37
lines
Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Fri Oct 25 11:35:55 2013 UTC (11 years, 2 months ago) by martin
Branches: MAIN
CVS tags: riastradh-drm2-base3
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +4 -4
lines
Turn a few __unused into __diagused
Revision 1.23.2.3: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:20:21 2013 UTC (11 years, 6 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.23.2.2: preferred, colored
Changes since revision 1.23.2.2: +7 -4
lines
resync from head
Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri May 3 16:38:35 2013 UTC (11 years, 8 months ago) by matt
Branches: MAIN
CVS tags: riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
khorben-n900
Branch point for: rmind-smpnet
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +6 -3
lines
Add support for the valid card types in eMMC v4.4 (needed by beaglebone
black).
Revision 1.28: download - view: text, markup, annotated - select for diffs
Fri May 3 16:13:48 2013 UTC (11 years, 8 months ago) by matt
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -3
lines
Fix typo.
Revision 1.23.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:29:31 2013 UTC (11 years, 10 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.23.2.1: preferred, colored
Changes since revision 1.23.2.1: +30 -10
lines
resync with head
Revision 1.17.4.3: download - view: text, markup, annotated - select for diffs
Wed Jan 23 00:06:09 2013 UTC (11 years, 11 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.17.4.2: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.4.2: +30 -10
lines
sync with head
Revision 1.27: download - view: text, markup, annotated - select for diffs
Thu Dec 20 03:51:04 2012 UTC (12 years ago) by jakllsch
Branches: MAIN
CVS tags: yamt-pagecache-base8,
agc-symver-base,
agc-symver
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -3
lines
fix off-by-one in switch function argument validation.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Dec 15 00:03:00 2012 UTC (12 years, 1 month ago) by jakllsch
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +28 -8
lines
Correctly read the 512-bit-wide big-endian Switch Function Status register.
Some of this could/will also be useful for the SD Status register.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Fri Dec 14 23:22:21 2012 UTC (12 years, 1 month ago) by jakllsch
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -3
lines
The Card Command Class (CCC) field is valid in both SD_CSD_CSDVER_1_0
and SD_CSD_CSDVER_2_0.
Revision 1.23.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 20 03:02:33 2012 UTC (12 years, 1 month ago) by tls
Branches: tls-maxphys
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -3
lines
Resync to 2012-11-19 00:00:00 UTC
Revision 1.17.4.2: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:22:02 2012 UTC (12 years, 2 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.17.4.1: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.4.1: +5 -7
lines
sync with head
Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat Oct 13 07:31:25 2012 UTC (12 years, 3 months ago) by kiyohara
Branches: MAIN
CVS tags: yamt-pagecache-base7,
yamt-pagecache-base6
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -3
lines
Fix variable name for message of printf.
Revision 1.20.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 8 06:18:59 2012 UTC (12 years, 5 months ago) by jdc
Branches: netbsd-6
CVS tags: netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
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
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +2 -4
lines
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.23: download - view: text, markup, annotated - select for diffs
Thu Jul 26 18:36:55 2012 UTC (12 years, 5 months ago) by matt
Branches: MAIN
Branch point for: tls-maxphys
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +4 -4
lines
Fix a delay to a correct value.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon Jul 23 13:32:19 2012 UTC (12 years, 5 months ago) by matt
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -4
lines
Responses are actually in host order (except SCR which is return in
big endian so that's convert to host order).
Revision 1.21: download - view: text, markup, annotated - select for diffs
Fri Jul 20 02:04:13 2012 UTC (12 years, 5 months ago) by matt
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -4
lines
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.17.4.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:08:04 2012 UTC (12 years, 9 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +26 -18
lines
sync with head
Revision 1.17.8.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:35:01 2012 UTC (12 years, 10 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +26 -18
lines
merge to -current.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed Feb 1 22:34:43 2012 UTC (12 years, 11 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base5,
yamt-pagecache-base4,
netbsd-6-base,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base10
Branch point for: netbsd-6
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +6 -2
lines
Use "opt_sdmmc.h" for SDMMC_DEBUG, etc.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri Jan 27 03:06:24 2012 UTC (12 years, 11 months ago) by matt
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +11 -6
lines
Fix sdmmmc_mem_decode_scr for BE machines.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Sat Jan 21 19:44:31 2012 UTC (12 years, 11 months ago) by nonaka
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +13 -14
lines
fix my license notice.
Revision 1.14.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:08:37 2011 UTC (13 years, 7 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +44 -32
lines
Sync with HEAD.
Revision 1.3.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:54:06 2011 UTC (13 years, 10 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.3.4.1: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.4.1: +441 -59
lines
sync with head
Revision 1.14.4.2: download - view: text, markup, annotated - select for diffs
Thu Feb 17 12:00:15 2011 UTC (13 years, 11 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.14.4.1: preferred, colored; branchpoint 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.4.1: +24 -16
lines
Sync with HEAD
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Feb 13 07:25:56 2011 UTC (13 years, 11 months ago) by nonaka
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base
Branch point for: yamt-pagecache,
jmcneill-usbmp
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3
lines
use MMC_CSD_CSDVER_EXT_CSD.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Feb 13 06:43:52 2011 UTC (13 years, 11 months ago) by nonaka
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +24 -16
lines
- Don't switch MMC high-speed timing, if host controller isn't supported.
- Only check EXT_CSD STRUCTURE version when CSD version is 3.
- initialize width at sdmmc_function_alloc().
Revision 1.14.4.1: download - view: text, markup, annotated - select for diffs
Tue Feb 8 16:19:55 2011 UTC (13 years, 11 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +23 -19
lines
Sync with HEAD
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Feb 5 15:45:21 2011 UTC (13 years, 11 months ago) by nonaka
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +23 -19
lines
Don't switch SD high-speed timing, if host controller isn't supported.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Nov 13 13:52:11 2010 UTC (14 years, 2 months ago) by uebayasi
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231,
jruoho-x86intr-base
Branch point for: jruoho-x86intr,
bouyer-quota2
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -4
lines
Don't pull in the whole uvm(9) API to access only PAGE_SIZE and
some other constants. These are provided by sys/param.h now.
Revision 1.3.2.3: download - view: text, markup, annotated - select for diffs
Fri Oct 22 07:22:16 2010 UTC (14 years, 2 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.3.2.2: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.2: +424 -52
lines
Sync with HEAD (-D20101022).
Revision 1.1.4.6: download - view: text, markup, annotated - select for diffs
Sat Oct 9 03:32:24 2010 UTC (14 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.1.4.5: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.4.5: +426 -54
lines
sync with head
Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Oct 7 12:24:23 2010 UTC (14 years, 3 months ago) by kiyohara
Branches: MAIN
CVS tags: yamt-nfs-mp-base11,
uebayasi-xip-base4,
uebayasi-xip-base3
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +302 -71
lines
Support High-Speed mode.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Oct 1 09:50:42 2010 UTC (14 years, 3 months ago) by kiyohara
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +117 -6
lines
Use DMA bounce buffer, if DMA buffer is making by multiple segments. A lot
of host controllers do not support to two or more segments.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Sep 23 12:03:27 2010 UTC (14 years, 3 months ago) by kiyohara
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +7 -2
lines
Print bus width and clock for feature(High speed support).
Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Sep 21 04:53:53 2010 UTC (14 years, 3 months ago) by kiyohara
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -3
lines
Fix build failure.
A new variable width and value had been forgotten since r1.7.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Sep 20 09:42:32 2010 UTC (14 years, 3 months ago) by kiyohara
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +5 -5
lines
Clean up return/error in sdmem_mem_send_scr().
Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Sep 20 09:34:47 2010 UTC (14 years, 3 months ago) by kiyohara
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +7 -4
lines
Fix SCR data.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Sep 20 09:30:20 2010 UTC (14 years, 3 months ago) by kiyohara
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +28 -6
lines
Support MMC 4,8-bit mode.
It tested only 4bit on Marvell Sheevaplug.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Sep 20 09:19:31 2010 UTC (14 years, 3 months ago) by kiyohara
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -4
lines
Sync with POSTREAD before memcpy.
Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:46:39 2010 UTC (14 years, 5 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.3.2.1: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.2.1: +1 -1
lines
Sync with HEAD.
Revision 1.1.4.5: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:54:11 2010 UTC (14 years, 5 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.1.4.4: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.4.4: +542 -102
lines
sync with head.
Revision 1.3.4.1: download - view: text, markup, annotated - select for diffs
Sun May 30 05:17:43 2010 UTC (14 years, 7 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +542 -102
lines
sync with head
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat May 1 21:14:39 2010 UTC (14 years, 8 months ago) by reinoud
Branches: MAIN
CVS tags: yamt-nfs-mp-base10,
uebayasi-xip-base2
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3
lines
Initialise error variable to zero. If all the if's fail it exists the function
sdmmc_init returning the then still uninitialised variable.
gcc can't know if one of the if's is bound to happen.
Detected with -DDEBUG -DDIAGNOSTIC -DKGDB - ...
Revision 1.3.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:43:49 2010 UTC (14 years, 8 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +541 -101
lines
Sync with HEAD.
Revision 1.4.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 21 00:27:52 2010 UTC (14 years, 8 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-k15
Diff to: previous 1.4.2.1: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.2.1: +727 -0
lines
sync to netbsd-5
Revision 1.4.2.1
Tue Apr 6 15:10:09 2010 UTC (14 years, 9 months ago) by matt
Branches: matt-nb5-mips64
FILE REMOVED
Changes since revision 1.4: +0 -1167
lines
file sdmmc_mem.c was added on branch matt-nb5-mips64 on 2010-04-21 00:27:52 +0000
Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Apr 6 15:10:09 2010 UTC (14 years, 9 months ago) by nonaka
Branches: MAIN
CVS tags: uebayasi-xip-base1
Branch point for: matt-nb5-mips64
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +541 -101
lines
- mention MMC SPI mode.
- support SD 4bit bus width mode.
Revision 1.1.4.4: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:04:03 2010 UTC (14 years, 10 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.1.4.3: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.4.3: +10 -14
lines
sync with head
Revision 1.2.2.3: download - view: text, markup, annotated - select for diffs
Wed Dec 2 17:39:16 2009 UTC (15 years, 1 month ago) by sborrill
Branches: netbsd-5
CVS tags: netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
matt-nb5-pq3-base,
matt-nb5-pq3
Diff to: previous 1.2.2.2: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.2: +10 -14
lines
Pull up the following revisions(s) (requested by nonaka in ticket #1167):
sys/dev/sdmmc/ld_sdmmc.c: revision 1.4
sys/dev/sdmmc/sdmmc_mem.c: revision 1.3
sys/dev/sdmmc/sdmmcvar.h: revision 1.2
Always treat sector size as 512 bytes.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Nov 28 10:00:24 2009 UTC (15 years, 1 month ago) by nonaka
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
uebayasi-xip-base,
matt-premerge-20091211
Branch point for: uebayasi-xip,
rmind-uvmplock
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +10 -14
lines
Always sector size is treated as 512 bytes.
Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Wed Oct 7 15:41:13 2009 UTC (15 years, 3 months ago) by sborrill
Branches: netbsd-5
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.1: +731 -0
lines
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.1.6.3: download - view: text, markup, annotated - select for diffs
Thu Jul 23 23:32:20 2009 UTC (15 years, 5 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.1.6.2: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.6.2: +3 -2
lines
Sync with HEAD.
Revision 1.1.4.3: download - view: text, markup, annotated - select for diffs
Sat Jun 20 07:20:29 2009 UTC (15 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.1.4.2: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.4.2: +3 -2
lines
sync with head
Revision 1.2.2.1
Sun May 24 12:59:54 2009 UTC (15 years, 7 months ago) by sborrill
Branches: netbsd-5
FILE REMOVED
Changes since revision 1.2: +0 -731
lines
file sdmmc_mem.c was added on branch netbsd-5 on 2009-10-07 15:41:13 +0000
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun May 24 12:59:54 2009 UTC (15 years, 7 months ago) by nonaka
Branches: MAIN
CVS tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
jymxensuspend-base,
jym-xensuspend-nbase
Branch point for: netbsd-5
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -2
lines
SDHC card was able to be used.
Revision 1.1.6.2: download - view: text, markup, annotated - select for diffs
Wed May 13 17:21:29 2009 UTC (15 years, 8 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.1.6.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.6.1: +730 -0
lines
Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.1.4.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:13:18 2009 UTC (15 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.1.4.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.4.1: +730 -0
lines
sync with head.
Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:36:33 2009 UTC (15 years, 8 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.1: +730 -0
lines
Sync with HEAD.
Revision 1.1.6.1
Tue Apr 21 03:00:30 2009 UTC (15 years, 8 months ago) by jym
Branches: jym-xensuspend
FILE REMOVED
Changes since revision 1.1: +0 -730
lines
file sdmmc_mem.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, 8 months ago) by yamt
Branches: yamt-nfs-mp
FILE REMOVED
Changes since revision 1.1: +0 -730
lines
file sdmmc_mem.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, 8 months ago) by skrll
Branches: nick-hppapmap
FILE REMOVED
Changes since revision 1.1: +0 -730
lines
file sdmmc_mem.c was added on branch nick-hppapmap on 2009-04-28 07:36:33 +0000
Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Apr 21 03:00:30 2009 UTC (15 years, 8 months ago) by nonaka
Branches: 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
Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.
CVSweb <webmaster@jp.NetBSD.org>