Commit Graph

80 Commits

Author SHA1 Message Date
jD91mZM2 ca2b3fa2d4 Update to cargo release of redox_syscall 2020-08-27 17:55:01 +02:00
jD91mZM2 ac64d09186 vesad: Provide legacy fmap implementation 2020-08-17 16:28:02 +02:00
jD91mZM2 321f708d0f vesad: Update redox_syscall 2020-08-17 14:39:25 +02:00
Jeremy Soller be101621cc Update to newer syscall 2020-08-02 15:25:03 -06:00
Wren Turkal 65982d5e02 Add more structure cli to pcid.
This change adds a structopt commandline interface to the pcid tool.
This add some help for the arguments that pcid takes.

Signed-off-by: Wren Turkal <wt@penguintechs.org>
2020-08-01 18:16:31 +00:00
4lDO2 6bd4bb814f Support xHCs that only support 32-bit physical addresses. 2020-06-18 19:17:20 +00:00
Jeremy Soller 7ccf8d27b0 Remove pbr patch 2020-05-28 11:54:30 -06:00
Jeremy Soller 713058f183 Update dependencies, add patches 2020-05-22 09:06:03 -06:00
4lDO2 cbeb0070ec WIP: Asyncify namespace identification. 2020-04-29 20:44:38 +02:00
4lDO2 6c2f103841 WIP: Complete the NVME CQ reactor (doesn't compile yet) 2020-04-29 19:35:48 +02:00
4lDO2 e6a46bb6a6 Begin with NVME MSI support. 2020-04-25 23:02:16 +02:00
4lDO2 7b69d5b9b5 WIP: Use the enhanced pcid IPC. 2020-04-22 21:21:55 +02:00
4lDO2 fe95c942ac Add pcid logging. 2020-04-22 18:27:43 +02:00
4lDO2 aea6e1b84c Improve xhcid logging. 2020-04-22 18:09:56 +02:00
Jeremy Soller 1d3978c69f Merge branch 'ps2d' 2020-04-20 14:16:30 -06:00
Jeremy Soller 255e5fcb68 WIP: ps2d interrupt fixes 2020-04-19 14:27:44 -06:00
4lDO2 31d5a95cf9 Add MCFG parsing for PCIe. 2020-04-19 17:32:45 +02:00
4lDO2 0e802e2085 Fix two deadlocks. 2020-04-19 14:45:46 +02:00
4lDO2 80d3affa1c Enable xhci logging, powered by redox-log. 2020-04-19 14:45:46 +02:00
4lDO2 ae49a0ba30 Update chashmap version. 2020-04-19 14:45:46 +02:00
4lDO2 443b160b6d Add internal locking to the Xhci struct. 2020-04-19 14:45:46 +02:00
4lDO2 cb5a72fbc1 Successfully recognize (only one) MSI-X IRQ.
Somehow it only happens once though.
2020-04-19 14:45:46 +02:00
4lDO2 735c55f656 Rebase. 2020-04-19 14:45:46 +02:00
4lDO2 7536048ceb Parse some of the PCI capabilities, and setup IPC. 2020-04-19 14:45:46 +02:00
4lDO2 034e6bce70 Set up a basic SCSI scheme, and get disk size.
Some commands are unused though, and probably won't be used, for example
ReportSuppOpcodes. Also, there appears to be lots of different versions
of the SCSI specification.
2020-02-14 00:02:13 +01:00
4lDO2 73ca576558 Use the real DCIs instead of driver-level numbers.
Sidenote: instead of STALLing because the driver didn't configure the
endpoints properly, regular transfers now work. Thus, QEMU was able to
recognize that it received a Bulk-Only Transport CBW. Yay!

Additionally, to make life easier when debugging, usbctl was added; now
it can get endpoint statuses which were previously non-accessible from
shell scripts, after the transition to the new ctl+data endpoint
interface.
2020-02-12 22:07:37 +01:00
4lDO2 e052c5968d Support detecting USB port speeds. 2020-02-10 16:23:19 +01:00
4lDO2 cff3cf0d28 Add basic logic to usbscsid and support alternate interface. 2020-02-10 11:23:18 +01:00
4lDO2 6b70e80d20 Add (untested) transfer support. 2020-02-09 17:17:36 +01:00
4lDO2 ae76f57162 Prepare for orbital communication. 2020-02-09 11:12:18 +01:00
4lDO2 1013daf606 IT WORKS! 2020-02-08 17:18:09 +01:00
4lDO2 3fd4bc4b3b Add functions for the HID-specific requests. 2020-02-08 12:28:17 +01:00
4lDO2 b308dad7c6 Add a basic HID driver unable to parse report descs.
Custom device requests are now implemented though.
2020-02-08 10:21:21 +01:00
4lDO2 ae0d43c12a Add a framework-ish for USB drivers. 2020-02-03 21:48:35 +01:00
4lDO2 cbd9d83b69 SUPPORT CONFIGURE_ENDPOINTS! 2020-02-01 15:05:14 +01:00
4lDO2 faa29b1854 Add a really basic interface to xhcid. 2020-01-19 11:37:05 +11:00
4lDO2 5807909ed1 Add partitioning support to nvmed. 2020-01-09 10:38:31 +11:00
4lDO2 60f05af555 Move the block-io-to-unaligned-io wrapper to its own crate. 2020-01-08 22:34:28 +11:00
4lDO2 119f7a5595 Add partition support for ahcid (untested). 2020-01-04 19:35:16 +11:00
Jeremy Soller 0e7b056508 Update redox_syscall for pcspkrd 2019-08-26 17:27:02 -06:00
Jeremy Soller d7385333d1 Merge branch 'redox-unix' 2019-08-26 17:16:39 -06:00
Jeremy Soller 89d8a8a6f6 Support MouseRelativeEvent 2019-08-12 13:37:03 -06:00
jD91mZM2 6c993af1a2 Update ixgbed 2019-07-06 18:43:08 +02:00
Roland Ruckerbauer b50437af8a Fixed deprecated syntax in vesad
2018 edition upgrade & fixes for a bunch of 'future error warnings'

Actually upgrading all crates to 2018 edition
2019-06-29 21:47:52 +02:00
Jeremy Soller a3014c3682 Merge branch 'pcspkr' into 'master'
Add pcspkr driver

See merge request redox-os/drivers!39
2019-06-12 23:11:31 +00:00
Jeremy Soller 50652ceb93 Temporary patches for Redox with unix target family 2019-04-23 13:25:41 -06:00
Jeremy Soller 7afaadabd9 Ensure that MMIO memory is mapped without caching 2019-04-08 20:22:01 -06:00
Tibor Nagy ae8a6075a2 Add pcspkr driver 2019-03-05 18:35:01 +01:00
Jeremy Soller 3f41225d78 Convert e1000d to using SchemeBlockMut, update dependencies 2019-02-02 13:59:49 -07:00
Jeremy Soller a38dfb3231 Use IRQs to prevent spin loops in ahcid 2019-01-12 12:52:57 -07:00