Merge pull request #4271 from lemondrops/ne2kfix

Fix Novell NE2000's default IRQ being out of range
This commit is contained in:
Miran Grča
2024-03-15 10:42:40 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -39,7 +39,7 @@
enum {
NE2K_NONE = 0,
NE2K_NE1000 = 1, /* 8-bit ISA NE1000 */
NE2K_NE1000_COMPAT = 2, /* 16-bit ISA NE2000-Compatible */
NE2K_NE1000_COMPAT = 2, /* 8-bit ISA NE1000-Compatible */
NE2K_NE2000 = 3, /* 16-bit ISA NE2000 */
NE2K_NE2000_COMPAT = 4, /* 16-bit ISA NE2000-Compatible */
NE2K_ETHERNEXT_MC = 5, /* 16-bit MCA EtherNext/MC */

View File

@@ -1329,7 +1329,7 @@ static const device_config_t ne2000_config[] = {
.description = "IRQ",
.type = CONFIG_SELECTION,
.default_string = "",
.default_int = 10,
.default_int = 3,
.file_filter = "",
.spinner = { 0 },
.selection = {