summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/card/mmc_test.c
Commit message (Collapse)AuthorAgeFilesLines
* mmc_test: Revert "mmc_test: test oversized sg lists"Pierre Ossman2008-08-011-82/+3
| | | | | | | | This reverts commit 48b5352ea1891455eb8e824cf7d92f66931a090f. Oversized sg lists are not allowed anymore, and the core even checks for them in debug mode, so this test is entirely incorrect. Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
* mmc_test: print message when attaching to cardPierre Ossman2008-07-231-0/+2
| | | | | | | | Make it a bit more obvious that the card has been claimed by the mmc_test driver so that people don't have to wonder why their block device never shows up. Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
* mmc_test: test oversized sg listsPierre Ossman2008-07-231-3/+82
| | | | | | | | Add tests that make sure the driver properly checks the blocks and blksz fields and doesn't assume the sg list has a size that perfectly matches the current request. Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
* mmc_test: highmem testsPierre Ossman2008-07-231-1/+137
| | | | | | | | | | Add a couple of tests to make sure the host driver handles highmem memory pages properly. Unfortunately there is no way to guarantee an allocation below 4 GB in i386, so it might give you addresses that are out of reach for the hardware (OTOH, so will any other highmem allocation in the kernel). Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
* mmc_test: cleanupPierre Ossman2008-07-151-190/+364
| | | | | | | Clean up and reorganise the mmc_test driver so that it (hopefully) is easier to extend with more complex tests. Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
* mmc_test: only bind to supported cardsPierre Ossman2008-07-151-1/+4
| | | | | | | We can only perform the tests on MMC and SD cards, so avoid binding to any other type. Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
* mmc_test: add test case controlPierre Ossman2008-07-151-2/+8
| | | | | | | Add the ability to run just a single test case by writing the test case number into the sysfs "test" file. Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
* mmc: mmc host test driverPierre Ossman2008-05-141-0/+892
A dummy driver that performs a series of requests that are often mis- handled by host drivers. Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
OpenPOWER on IntegriCloud