Skip to content

Commit

Permalink
Merge pull request hermit-os#446 from stlankes/rtl8139
Browse files Browse the repository at this point in the history
add feature rtl8139
  • Loading branch information
mkroening authored Aug 2, 2023
2 parents 89053d1 + 8dbfc17 commit 991db36
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions benches/netbench/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ fsgsbase = ["hermit-sys/fsgsbase"]
smp = ["hermit-sys/smp"]
tcp = ["hermit-sys/tcp"]
instrument = ["hermit-sys/instrument"]
rtl8139 = ["hermit-sys/rtl8139"]

[[bin]]
name = "server-bw"
Expand Down
1 change: 1 addition & 0 deletions examples/httpd/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ smp = ["hermit-sys/smp"]
tcp = ["hermit-sys/tcp"]
instrument = ["hermit-sys/instrument"]
trace = ["hermit-sys/trace"]
rtl8139 = ["hermit-sys/rtl8139"]
ci = []
3 changes: 3 additions & 0 deletions hermit-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ tcp = []
trace = []
vga = []

# if this feature isn't set, the Virtio interface will be used
rtl8139 = ["tcp", "pci"]

[build-dependencies]
flate2 = "1"
ureq = "2.4"
Expand Down
1 change: 1 addition & 0 deletions hermit-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ impl KernelSrc {
&mut cmd,
[
"acpi", "dhcpv4", "fsgsbase", "pci", "pci-ids", "smp", "tcp", "trace", "vga",
"rtl8139",
]
.into_iter(),
);
Expand Down

0 comments on commit 991db36

Please sign in to comment.