Commit Graph

56 Commits

Author SHA1 Message Date
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
Jeremy Soller c47c68f44c Update fmap support 2018-12-28 16:19:09 -07:00
jD91mZM2 fb9b68405c Bump Cargo.lock 2018-12-24 17:03:17 +01:00
Jeremy Soller f1d3aa6480 Update Cargo.lock 2018-10-14 19:56:24 -06:00
jD91mZM2 9f253fe92e Update Cargo.lock 2018-08-26 13:01:57 +02:00
Robin Randhawa cc2a5ff01d Update Cargo.lock
A 'precise' cargo update of tokio is needed for builds to succeed.
2018-07-25 18:02:27 +01:00
Jeremy Soller 1616f6399a Update Cargo.lock 2018-07-12 07:09:59 -06:00
Paul Sajna 9d923a9794 cargo update 2018-07-05 13:51:51 -07:00
bujiraso 18bb29bcd7 Update Cargo.lock to use socket2 on our GitLab 2018-06-24 13:13:37 -03:00
jD91mZM2 1f1c2ff4e8 Bump Cargo.lock 2018-06-14 18:06:21 +02:00
jD91mZM2 c6b1dea60d Fix compilation
There was a version mismatch because of outdated redox_event and some issues with the Cargo.lock that `cargo update` fixed
2018-06-13 07:20:05 +02:00
Jeremy Soller 35a21cee2f Update links to gitlab 2018-06-12 12:30:43 -06:00
Jeremy Soller 32a58c3b64 Update event crate 2018-05-20 15:19:40 -06:00
Jeremy Soller 0a9b15939e Update to new event 2018-05-20 11:05:10 -06:00
Jeremy Soller 390f04baaf Update lock file 2018-03-24 12:14:24 -06:00
Dan Robertson 4d349192da Allow PCI Config space parsing to handle types
- Update the PCI config space parsing to be able to handle multiple
   types.
 - Use a trait to abstract out reading from the config space in order to
   allow testing/fuzzing of the parser.
2018-02-27 22:46:30 +00:00
Ian Douglas Scott c78d4dcff0 ahci: atapi support (incomplete)
It can currently retrieve the capacity; no reads or writes yet.
2018-01-02 23:03:54 -08:00
Jeremy Soller ce05b12a7a Update ransid for vesad 2017-11-20 19:26:16 -07:00
Jeremy Soller 12989384c0 Update Cargo.lock 2017-10-11 20:54:45 -06:00
Jeremy Soller e3a9314a5a Update Cargo.lock 2017-10-04 20:29:41 -06:00
Jeremy Soller 94b869cd61 Update cargo.lock 2017-09-27 20:32:08 -06:00
Jeremy Soller ebbd50d299 Update lock file 2017-08-23 19:59:15 -06:00
Jeremy Soller 4e40c1c8af Add method for resizing display 2017-08-21 20:19:58 -06:00
Jeremy Soller 68938a755c Update Cargo.lock 2017-08-19 14:47:03 -06:00
Jeremy Soller 14d8165079 Cleanup xhci, add basic IRQ event functions, cleanup e1000d and rtl8168d 2017-08-06 15:19:56 -06:00