fix: Use the pcnet ethernet device for FreeDOS (#1587)
FreeDOS does ship the Crynwr packet driver package, which does contain an RTL8139 driver. However, you have to install the package after installing FreeDOS, even if you performed a full install. It also seems to lock up for me when attempting to load it. The PCNet packet driver on the other hand, is installed with a full FreeDOS install, is open source, and does work, at least for me.
This commit is contained in:
parent
616d10b594
commit
910d35f80c
5
quickemu
5
quickemu
|
@ -752,7 +752,7 @@ function configure_bios() {
|
||||||
|
|
||||||
function configure_os_quirks() {
|
function configure_os_quirks() {
|
||||||
|
|
||||||
if [ "${guest_os}" == "batocera" ] || [ "${guest_os}" == "freedos" ] || [ "${guest_os}" == "haiku" ] || [ "${guest_os}" == "kolibrios" ]; then
|
if [ "${guest_os}" == "batocera" ] || [ "${guest_os}" == "haiku" ] || [ "${guest_os}" == "kolibrios" ]; then
|
||||||
NET_DEVICE="rtl8139"
|
NET_DEVICE="rtl8139"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -763,7 +763,8 @@ function configure_os_quirks() {
|
||||||
case ${guest_os} in
|
case ${guest_os} in
|
||||||
windows-server) NET_DEVICE="e1000";;
|
windows-server) NET_DEVICE="e1000";;
|
||||||
*bsd|linux*|windows) NET_DEVICE="virtio-net";;
|
*bsd|linux*|windows) NET_DEVICE="virtio-net";;
|
||||||
freedos) sound_card="sb16";;
|
freedos) sound_card="sb16"
|
||||||
|
NET_DEVICE="pcnet";;
|
||||||
*solaris) usb_controller="xhci"
|
*solaris) usb_controller="xhci"
|
||||||
sound_card="ac97";;
|
sound_card="ac97";;
|
||||||
reactos) NET_DEVICE="e1000"
|
reactos) NET_DEVICE="e1000"
|
||||||
|
|
Loading…
Reference in New Issue