summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
2024-07-24kernel: nvme: Set write op to nowriteIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-07-14kernel: nvme: Sleep before status checkIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-07-14kernel: nvme: Remove command error check for nowIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-07-14kernel: nvme: Use CAP.MQES for qsizeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-07-13kernel: nvme: Add nvme bdevsw + support for readsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-07-13kernel: nvme: Set bar field in nvme_ctrl structureIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-07-12kernel: nvme: Init namespaces TAILQIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-07-12kernel: nvme: Remove useless checkIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-07-12kernel: nvme: Setup I/O queues and namespacesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-07-12kernel: nvme: Handle cq_head and phase bitIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-07-10kernel: nvme: Improve nvme_identify()Ian Moffett
Require an NSID and CNS value to be passed to the nvme_identify() function. This enables the caller to control what type of data is returned by the NVMe controller. Signed-off-by: Ian Moffett <ian@osmora.org>
2024-07-10kernel: nvme: Add initial NVMe driver codeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-24Clean out for exptIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-03kernel: pci: Require mapping BAR using bus_map()Ian Moffett
This commit gets rid of pci_map_bar() as some devices have their base address spanning mulitple BARs. This change also exposes PCI bar size logic through pci_bar_size() Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-02kernel: ahci: Add missing whitespacedevIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-02kernel: ahci: Add missing close() hookIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-02kernel: ahci: Add SATA read/write supportIan Moffett
This commit introduces SATA read/write support and exposes SATA devices to userland as /dev/sdN files Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-02kernel: ahci: Acquire global "io_lock" during cmdIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-31kernel: ahci: Fix null checkIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-31kernel: ahci: Document workaroundIan Moffett
Documents a workaround for a possible hw/emulation quirk Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-31kernel: ic: Add initial AHCI driver codeIan Moffett
This commit introduces the initial implementation of the AHCI driver for Hyra. Support for reading and writing drives still need to be implemented and devices haven't been exposed to userland yet. Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-26kernel: Fixup logging to work with syslog changesIan Moffett
This commit removes the KINFO(), KERR(), ... macros Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-19kernel: dev: Define stub open hooksIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-07kernel: nvme: Use PCI_BAR_MEMBASE() to fetch baseIan Moffett
Use PCI_BAR_MEMBASE() instead of manually masking off bits to ensure the cleanness of the driver. Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-24kernel: device: Replace DEVICE_ALLOC()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-18kernel: vm: Add device pagerIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-18kernel: devfs: Rename devfs_add_blkdev()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-10kernel: nvme: Create device fileIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-08kernel: nvme: Add more commentsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-08kernel: nvme: Move defines to nvmevar.hIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-08kernel: nvme: Add drive read/write supportIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-08kernel: nvme: Return status of callIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-31kernel: nvme: Update commentIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-30kernel: nvme: Add I/O queue supportIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-30kernel: nvme: Ignore CAP.CSSIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-30kernel: nvme: Cleanup whitespaceIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-30kernel: nvme: Keep track of namespacesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-30kernel: nvme: Fix and rename nvme_create_adminq()Ian Moffett
Rename nvme_create_adminq() to nvme_create_queue() and allow a queue ID to be passed as an argument Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-30kernel: nvme: Init CC.IOSQES and CC.IOCQESIan Moffett
This is required for I/O queues Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-30kernel: nvme: Return on controller enable failureIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-29kernel: nvme: Fix return valueIan Moffett
Return the output of nvme_poll_submit_cmd() instead of 0. Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-28kernel: nvme: Fix typo in commentIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-28kernel: nvme: Add initial NVMe driver codeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>