summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
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: pci: Add PCI BAR mapping routineIan Moffett
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-18kernel: vcons: Move vcons_process_output() callIan Moffett
Only process output in vcons_putstr() Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-12kernel: vcons: Support ASCII_BS for backspaceIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-12kernel: vcons: Don't touch termiosIan 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-05-05kernel: pci: Remove unused variableIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-05-02kernel: pci: Refactor pci_set_device_info()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-24kernel: fbdev: Add framebuffer ioctlIan Moffett
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: fbdev: Create fbdev device fileIan 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-13kernel: pci: Fix BAR assignmentIan 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-04-05kernel: xhci: Remove unused functionsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-05kernel: xhci: Add xhci_init_evring()Ian Moffett
Add event ring init routine Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-04kernel: xhci: Fix scratchpad buffer codeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-04kernel: xhci: Improve documentationIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-04kernel: xhci: Add link TRB at end of cmd ringIan Moffett
Make the command ring circular by pointing the xHC to the start once it reaches the end. Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-03kernel: usb: Fix command ring TRB handlingIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-03kernel: xhci: Fix cycle bit handlingIan Moffett
Set cycle bit initially to 1, invert cycle bit after submitting command to command ring. Signed-off-by: Ian Moffett <industrial.reformer@gmail.com>
2024-04-03kernel: xhci: Remove redundant commentIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-03kernel: usb: Refactor xhci_init_hc()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-04-03kernel: usb: Add initial xHCI driver codeIan 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>
2024-03-28kernel: pci: Add command register helpersIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-03-28kernel: pci: Add pci_writel()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>