aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ic/nvme.c
AgeCommit message (Collapse)Author
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-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>