summaryrefslogtreecommitdiffstats
path: root/sys/dev/altera/sdcard
Commit message (Collapse)AuthorAgeFilesLines
* Follow r261352 by updating all drivers which are children of simplebusian2014-02-021-0/+3
| | | | | | | | | | | | | to check the status property in their probe routines. Simplebus used to only instantiate its children whose status="okay" but that was improper behavior, fixed in r261352. Now that it doesn't check anymore and probes all its children; the children all have to do the check because really only the children know how to properly interpret their status property strings. Right now all existing drivers only understand "okay" versus something- that's-not-okay, so they all use the new ofw_bus_status_okay() helper.
* These nexus attachments do not execute a real probe and so neednwhitehorn2013-10-291-1/+1
| | | | BUS_PROBE_NOWILDCARD set.
* MFP4 (driver change only):brooks2013-10-181-4/+14
| | | | | | | | | | Change 231100 by brooks@brooks_zenith on 2013/07/12 21:01:31 Add a new option ALTERA_SDCARD_FAST_SIM which checks immediatly for success of I/O operations rather than queuing a task. MFC after: 3 days Sponsored by: DARPA/AFRL
* MFP4:brooks2013-10-181-6/+9
| | | | | | | | | | Change 227594 by brooks@brooks_zenith on 2013/04/11 17:10:14 When we fail, print the error that occured if we are giving up or if bootverbose is set. MFC after: 3 days Sponsored by: DARPA/AFRL
* MFP4 change 219820brooks2013-01-221-1/+1
| | | | | | | | Add a missing 0 to the mask for byte0 of C_SIZE. The previous mask (0xc) worked except that the last 0-1536K of the disk could not be accessed since we were shifting the (wrong) bits we did mask off the right edge.
* MFP4 change 219819brooks2013-01-221-7/+0
| | | | | | Remove a duplicate computation of C_SIZE_MULT. Once is sufficient. Sponsored by: DARPA, AFRL
* Merge Perforce changeset 219952 to head:rwatson2013-01-134-4/+3
| | | | | | | Make different bus attachments for Altera and Terasice device drivers share the same devclass_t. Sponsored by: DARPA, AFRL
* Merge Perforce changeset 219927 to head:rwatson2013-01-131-15/+21
| | | | | | Implement an FDT attachment for the Altera SD Card driver Sponsored by: DARPA, AFRL
* Merge Perforce changeset 219926 to head:rwatson2013-01-131-0/+116
| | | | | | | Copy Altera SDCard nexus attachment as a starting point for the FDT attachment. Sponsored by: DARPA, AFRL
* Add a device driver for the Altera University Program SD Card IP Core,rwatson2012-08-255-0/+1397
which can be synthesised in Altera FPGAs. An altera_sdcardc device probes during the boot, and /dev/altera_sdcard devices come and go as inserted and removed. The device driver attaches directly to the Nexus, as is common for system-on-chip device drivers. This IP core suffers a number of significant limitations, including a lack of interrupt-driven I/O -- we must implement timer-driven polling, only CSD 0 cards (up to 2G) are supported, there are serious memory access issues that require the driver to verify writes to memory-mapped buffers, undocumented alignment requirements, and erroneous error returns. The driver must therefore work quite hard, despite a fairly simple hardware-software interface. The IP core also supports at most one outstanding I/O at a time, so is not a speed demon. However, with the above workarounds, and subject to performance problems, it works quite reliably in practice, and we can use it for read-write mounts of root file systems, etc. Sponsored by: DARPA, AFRL
OpenPOWER on IntegriCloud