Home | History | Annotate | Download | only in sdmmc
History log of /src/sys/dev/sdmmc/sbt.c
RevisionDateAuthorComments
 1.9  05-Jul-2024  rin sys: Drop redundant NULL check before m_freem(9)

m_freem(9) safely has accepted NULL argument at least since 4.2BSD:
https://www.tuhs.org/cgi-bin/utree.pl?file=4.2BSD/usr/src/sys/sys/uipc_mbuf.c

Compile-tested on amd64/ALL.

Suggested by knakahara@
 1.8  10-Nov-2019  chs branches: 1.8.32;
in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.
 1.7  14-Oct-2018  jdolecek remove M_CANFAIL flag for malloc(9) - it was completely ignored, so had
actually no effect
 1.6  18-Apr-2018  maxv branches: 1.6.2;
m_free -> m_freem, m_copyback could have added mbufs in the chain
 1.5  14-Jul-2016  msaitoh branches: 1.5.10; 1.5.16;
- Use aprint*() instead of printf() in xxx_attach().
- Add missing aprint_naive("\n");
- KNF
 1.4  20-May-2014  rmind branches: 1.4.4;
netbt: rename some attach/detach functions to have _pcb suffix, so
we could use standard attach/detach naming for pr_usrreq functions.
No functional change.
 1.3  27-Oct-2012  chs branches: 1.3.10;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.2  06-May-2009  cegger branches: 1.2.2; 1.2.4; 1.2.10; 1.2.18; 1.2.28;
struct cfdata * -> cfdata_t, no functional changes intended.
 1.1  21-Apr-2009  nonaka branches: 1.1.2; 1.1.4;
Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.
 1.1.4.3  16-May-2009  yamt sync with head
 1.1.4.2  04-May-2009  yamt sync with head.
 1.1.4.1  21-Apr-2009  yamt file sbt.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:18 +0000
 1.1.2.2  28-Apr-2009  skrll Sync with HEAD.
 1.1.2.1  21-Apr-2009  skrll file sbt.c was added on branch nick-hppapmap on 2009-04-28 07:36:33 +0000
 1.2.28.3  03-Dec-2017  jdolecek update from HEAD
 1.2.28.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.28.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.2.18.1  30-Oct-2012  yamt sync with head
 1.2.10.2  21-Apr-2010  matt sync to netbsd-5
 1.2.10.1  06-May-2009  matt file sbt.c was added on branch matt-nb5-mips64 on 2010-04-21 00:27:52 +0000
 1.2.4.2  07-Oct-2009  sborrill 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
 1.2.4.1  06-May-2009  sborrill file sbt.c was added on branch netbsd-5 on 2009-10-07 15:41:13 +0000
 1.2.2.2  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.2.2.1  06-May-2009  jym file sbt.c was added on branch jym-xensuspend on 2009-05-13 17:21:29 +0000
 1.3.10.1  10-Aug-2014  tls Rebase.
 1.4.4.1  05-Oct-2016  skrll Sync with HEAD
 1.5.16.2  20-Oct-2018  pgoyette Sync with head
 1.5.16.1  22-Apr-2018  pgoyette Sync with HEAD
 1.5.10.1  06-Nov-2019  martin Pull up following revision(s) (requested by msaitoh in ticket #1429):

sys/dev/usb/ubt.c: revision 1.61
sys/dev/sdmmc/sbt.c: revision 1.6

m_free -> m_freem, m_copyback could have added mbufs in the chain
 1.6.2.2  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.6.2.1  10-Jun-2019  christos Sync with HEAD
 1.8.32.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed