From 2f33c5d0a4b4548b7fc994831a442485faf0215b Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Mon, 23 Aug 2021 20:57:10 +0000 Subject: [PATCH] AR81xx: Add PCI ID's of some more possibly working devices. (Disabled in netcfg for now) git-svn-id: svn://kolibrios.org@9150 a494cfbc-eb01-0410-851d-a64ba20cac60 --- drivers/ethernet/ar81xx.asm | 16 +++++++++++++--- drivers/ethernet/ar81xx.inc | 5 +++++ programs/network/netcfg/drivers.inc | 15 ++++++++++++--- 3 files changed, 30 insertions(+), 6 deletions(-) diff --git a/drivers/ethernet/ar81xx.asm b/drivers/ethernet/ar81xx.asm index 88f1fdd63e..c0a6cf8119 100644 --- a/drivers/ethernet/ar81xx.asm +++ b/drivers/ethernet/ar81xx.asm @@ -2017,16 +2017,26 @@ my_service db 'AR81XX',0 ; max 16 chars include zero chiplist: dd (ALX_DEV_ID_AR8131 shl 16) or ALX_VEN_ID, ar8131_sz + dd (ALX_DEV_ID_AR8132 shl 16) or ALX_VEN_ID, ar8132_sz + dd (ALX_DEV_ID_AR8151_1 shl 16) or ALX_VEN_ID, ar8151_1_sz + dd (ALX_DEV_ID_AR8151_2 shl 16) or ALX_VEN_ID, ar8151_2_sz + dd (ALX_DEV_ID_AR8152_1 shl 16) or ALX_VEN_ID, ar8152_1_sz + dd (ALX_DEV_ID_AR8152_2 shl 16) or ALX_VEN_ID, ar8152_2_sz dd (ALX_DEV_ID_AR8161 shl 16) or ALX_VEN_ID, ar8161_sz - dd (ALX_DEV_ID_AR8162 shl 16) or ALX_VEN_ID, ar8162_sz - dd (ALX_DEV_ID_AR8171 shl 16) or ALX_VEN_ID, ar8171_sz - dd (ALX_DEV_ID_AR8172 shl 16) or ALX_VEN_ID, ar8172_sz dd (ALX_DEV_ID_E2200 shl 16) or ALX_VEN_ID, e2200_sz dd (ALX_DEV_ID_E2400 shl 16) or ALX_VEN_ID, e2400_sz dd (ALX_DEV_ID_E2500 shl 16) or ALX_VEN_ID, e2500_sz + dd (ALX_DEV_ID_AR8162 shl 16) or ALX_VEN_ID, ar8162_sz + dd (ALX_DEV_ID_AR8171 shl 16) or ALX_VEN_ID, ar8171_sz + dd (ALX_DEV_ID_AR8172 shl 16) or ALX_VEN_ID, ar8172_sz dd 0 ar8131_sz db "AR8131", 0 +ar8132_sz db "AR8132", 0 +ar8151_1_sz db "AR8151 rev1", 0 +ar8151_2_sz db "AR8151 rev2", 0 +ar8152_1_sz db "AR8152 rev1", 0 +ar8152_2_sz db "AR8152 rev2", 0 ar8161_sz db "AR8161", 0 ar8162_sz db "AR8162", 0 ar8171_sz db "QCA8171", 0 diff --git a/drivers/ethernet/ar81xx.inc b/drivers/ethernet/ar81xx.inc index f867ea4de7..4a67a98490 100644 --- a/drivers/ethernet/ar81xx.inc +++ b/drivers/ethernet/ar81xx.inc @@ -1,6 +1,11 @@ ALX_VEN_ID = 0x1969 ALX_DEV_ID_AR8131 = 0x1063 +ALX_DEV_ID_AR8132 = 0x1062 +ALX_DEV_ID_AR8151_1 = 0x1073 +ALX_DEV_ID_AR8151_2 = 0x1083 +ALX_DEV_ID_AR8152_1 = 0x2060 +ALX_DEV_ID_AR8152_2 = 0x2062 ALX_DEV_ID_AR8161 = 0x1091 ALX_DEV_ID_E2200 = 0xe091 ALX_DEV_ID_E2400 = 0xe0a1 diff --git a/programs/network/netcfg/drivers.inc b/programs/network/netcfg/drivers.inc index 11a36e0db5..e407ed2e91 100644 --- a/programs/network/netcfg/drivers.inc +++ b/programs/network/netcfg/drivers.inc @@ -243,11 +243,20 @@ dd 0x0 db 'AR81XX', 0 dd 0x10631969 ; AR8131 +;dd 0x10621969 ; AR8132 +;dd 0x10731969 ; AR8151 V1 +;dd 0x10831969 ; AR8151 V2 +;dd 0x20601969 ; AR8152 V1 +;dd 0x20621969 ; AR8152 V2 dd 0x10911969 ; AR8161 +;dd 0xe0911969 ; E2200 +;dd 0xe0a11969 ; E2400 +;dd 0xe0b11969 ; E2500 dd 0x10901969 ; AR8162 -dd 0x10A11969 ; QCA8171 (AR8171) -dd 0x10A01969 ; QCA8172 (AR8172) -;dd 0xe0911969 ; E2200 - untested +dd 0x10A11969 ; AR8171 (QCA8171) +dd 0x10A01969 ; AR8172 (QCA8172) + + dd 0x0 dd 0x0 ; driverlist end \ No newline at end of file