bjorn3
|
3751c915fe
|
Unify the scheme handling of all network drivers
This deduplicates a fair bit of non-trivial logic and makes it easier to
keep all network drivers in sync when the interface changes.
|
2024-02-26 20:43:41 +01:00 |
|
bjorn3
|
354c351b19
|
Unify device info printing between drivers
|
2024-01-23 13:01:40 +01:00 |
|
bjorn3
|
77b97bb2ed
|
Introduce PciBar::physmap_mem helper
|
2024-01-23 12:02:40 +01:00 |
|
bjorn3
|
ad23ad5d93
|
Introduce irq_handle helper for legacy interrupts
|
2024-01-22 19:35:18 +01:00 |
|
bjorn3
|
bd6716efe4
|
Make legacy_interrupt_line an Option
Drivers don't need to know the exact legacy_interrupt_pin in use.
Just if legacy interrupts are enabled and if so which
legacy_interrupt_line is used.
|
2024-01-22 19:35:06 +01:00 |
|
bjorn3
|
a5d0c7c354
|
Use pci_types for reading BARs
This simplifies a lot of code and adds support for 64bit BARs.
|
2024-01-22 15:54:18 +01:00 |
|
bjorn3
|
5192816de7
|
Introduce expect_port and expect_mem helpers
|
2024-01-21 21:12:24 +01:00 |
|
bjorn3
|
dc13752d74
|
Force usage of pcid_interface
|
2024-01-20 19:42:06 +01:00 |
|
bjorn3
|
075e28339f
|
Migrate e1000d to pcid_interface
|
2024-01-20 19:04:15 +01:00 |
|
bjorn3
|
de7677604e
|
Use hex instead of decimal in all config.toml
This matches the way basically everyone prints PCI ids
|
2024-01-20 17:59:38 +01:00 |
|
bjorn3
|
6dd86d366a
|
Add support for fetching the mac address from the e1000d driver
|
2024-01-07 15:36:49 +01:00 |
|
Jeremy Soller
|
61e9512468
|
Update redox_syscall to 0.4
|
2023-09-07 20:49:37 -06:00 |
|
Ian Douglas Scott
|
bd2a66d817
|
Use default branch of netutils instead of removed branch
|
2023-08-02 18:41:26 -07:00 |
|
4lDO2
|
0277284874
|
Switch to common::Dma for each non-initfs driver.
|
2023-07-18 13:59:44 +02:00 |
|
4lDO2
|
8555b8ab3d
|
Remove physmap in non-initfs drivers too.
|
2023-07-18 11:01:17 +02:00 |
|
4lDO2
|
a5a3f3341f
|
Remove all usages of physunmap.
|
2023-06-11 11:33:27 +02:00 |
|
4lDO2
|
af873f7626
|
Update redox_syscall dependency.
|
2022-07-27 17:55:39 +02:00 |
|
4lDO2
|
21e30b7339
|
Replace syscall::clone() with libc::fork().
|
2022-07-27 16:25:01 +02:00 |
|
Jeremy Soller
|
00de428d6b
|
Workarounds for x86 32-bit
|
2022-07-26 17:20:34 -06:00 |
|
Jeremy Soller
|
8e1f91137e
|
e1000d: use syscall::Daemon
|
2022-04-01 18:02:49 -06:00 |
|
4lDO2
|
07f10fb4d1
|
Update redox_syscall to v0.2.12
|
2022-03-24 16:06:00 +01:00 |
|
4lDO2
|
d426ffacea
|
Update toolchain to 2022-03-18.
|
2022-03-19 15:06:29 +01:00 |
|
4lDO2
|
7a2b3d7656
|
Update dependencies.
|
2021-06-17 18:18:27 +02:00 |
|
Jeremy Soller
|
31bae74334
|
Merge branch 'code_hygiene' into 'master'
Code hygiene
See merge request redox-os/drivers!72
|
2020-08-08 12:55:24 +00:00 |
|
Jeremy Soller
|
be101621cc
|
Update to newer syscall
|
2020-08-02 15:25:03 -06:00 |
|
Wren Turkal
|
6018b6fc49
|
Fix lint issues from rustc.
Signed-off-by: Wren Turkal <wt@penguintechs.org>
|
2020-08-01 16:52:47 -07:00 |
|
Jeremy Soller
|
a16604fc2c
|
e1000d and rtl8168d will use pipe to wait for network: before continuing
|
2020-07-19 21:04:10 -06:00 |
|
Jeremy Soller
|
2087f0ad03
|
Fix parsing of bar size
|
2019-09-04 20:40:18 -06:00 |
|
Jeremy Soller
|
eda6bc6f92
|
Calculate and use PCI BAR memory sizes in most drivers.
|
2019-09-04 20:38:08 -06:00 |
|
Jeremy Soller
|
2de4a526fb
|
Merge scheme handling in e1000d and rtl8168d
|
2019-08-29 20:16:48 -06:00 |
|
Simon Ellmann
|
5e4b53fe92
|
Speed up e1000 driver
|
2019-07-30 14:03:48 +02:00 |
|
Jeremy Soller
|
c259b9d44c
|
Add TODO to eventually handle in-flight syscalls with ENODEV
|
2019-07-18 21:14:20 -06:00 |
|
Jeremy Soller
|
974fe7488f
|
e1000d: handle EOF
|
2019-07-18 21:10:02 -06:00 |
|
Jeremy Soller
|
f4d54c1831
|
Merge branch 'redox-unix' into 'redox-unix'
Add ixgbe driver and split filesystem.toml into separate driver config files
See merge request redox-os/drivers!46
|
2019-07-03 20:21:38 +00:00 |
|
Simon Ellmann
|
1e3413acaa
|
Add ixgbe driver and split filesystem.toml into separate driver config files
|
2019-07-03 20:22:19 +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
|
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 |
|
Jeremy Soller
|
e090281086
|
Support for new fevent
|
2019-03-13 13:58:55 -06:00 |
|
Jeremy Soller
|
3f41225d78
|
Convert e1000d to using SchemeBlockMut, update dependencies
|
2019-02-02 13:59:49 -07:00 |
|
Jeremy Soller
|
1e65a21242
|
Attempt to read scheme after interrupt
|
2019-01-01 20:22:08 -07:00 |
|
Jeremy Soller
|
c47c68f44c
|
Update fmap support
|
2018-12-28 16:19:09 -07: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
|
aaafbbad33
|
Update e1000d to new event
|
2018-05-20 16:11:19 -06:00 |
|
Jeremy Soller
|
0a9b15939e
|
Update to new event
|
2018-05-20 11:05:10 -06:00 |
|
Jeremy Soller
|
bd8a377c78
|
Use capability mode (null namespace) for drivers
|
2017-10-09 20:36:16 -06:00 |
|
Jeremy Soller
|
ee58fcaa61
|
Spin for reset, do not yield
|
2017-08-21 19:19:07 -06:00 |
|
Jeremy Soller
|
14d8165079
|
Cleanup xhci, add basic IRQ event functions, cleanup e1000d and rtl8168d
|
2017-08-06 15:19:56 -06:00 |
|
Jeremy Soller
|
513ddd9eb5
|
Imports for EINVAL
|
2017-07-22 13:44:21 -06:00 |
|
Jeremy Soller
|
473ac85faa
|
Return error when dup buf is not empty
|
2017-07-22 13:17:48 -06:00 |
|