Project

General

Profile

Feature #212

Atheros AR8132 / L1c Gigabit Ethernet Adapter

Added by Marcin Wozniak almost 10 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Start date:
2010-09-16
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

Is there a change that driver for this network card will be in openindiana ?

output from device detection tool:

node name: pci1043,14e5
Vendor: Atheros Communications
Device: Atheros AR8132 / L1c Gigabit Ethernet Adapter
Sub-Vendor: ASUSTeK Computer Inc.
binding name: pci1043,14e5
devfs path: /pci@0,0/pci8086,8110@1c/pci1043,14e5
pci path: 3,0,0
compatible name: (pciex1969,1062.1043.14e5.c0)(pciex1969,1062.1043.14e5)(pciex1969,1062.c0)(pciex1969,1062)(pciexclass,020000)(pciexclass,0200)(pci1969,1062.1043.14e5.c0)(pci1969,1062.1043.14e5)(pci1043,14e5)(pci1969,1062.c0)(pci1969,1062)(pciclass,020000)(pciclass,0200)
driver name: unknown
assigned-addresses: 83030010
reg: 30000
compatible: pciex1969,1062.1043.14e5.c0
model: Ethernet controller
power-consumption: 1
devsel-speed: 0
interrupts: 1
subsystem-vendor-id: 1043
subsystem-id: 14e5
unit-address: 0
class-code: 20000
revision-id: c0
vendor-id: 1969
device-id: 1062


Files

atge-18.5.tar.gz (51.9 KB) atge-18.5.tar.gz Gary Mills, 2012-05-18 03:16 PM
atge-01.6.tar.gz (51.7 KB) atge-01.6.tar.gz Gary Mills, 2012-06-03 04:01 PM
atge-17.6.tar.gz (52 KB) atge-17.6.tar.gz Gary Mills, 2012-06-18 05:41 PM

History

#1

Updated by Marcin Wozniak almost 10 years ago

update : output from Device Driver Utility

#2

Updated by Albert Lee almost 10 years ago

Masayuki Murayama's atge driver (http://homepage2.nifty.com/mrym3/taiyodo/eng/ ) might support the L1c (it appears to only have been tested against the similar L2c). We'll look at integrating drivers from outside of ON eventually.

#3

Updated by Matt Wilby over 9 years ago

  • Category set to Drivers
  • Target version set to oi_151
#4

Updated by Albert Lee about 9 years ago

  • Project changed from OpenIndiana Distribution to illumos gate
  • Category deleted (Drivers)
  • Target version deleted (oi_151)
  • Difficulty set to Medium
  • Tags set to needs-triage
#5

Updated by Gary Mills about 8 years ago

  • Assignee set to Gary Mills
  • % Done changed from 0 to 80

Thanks to a review by Masayuki Murayama, I've been successful in adding support for the Atheros AR8131 and AR8132 ethernet interfaces to the illumos atge driver. There's more to do before the code is ready, but this part will be easy to do.

#6

Updated by Gary Mills about 8 years ago

I've attached 32 and 64 bit drivers to this bug report. They go in /kernel/drv/atge and /kernel/drv/amd64/atge, respectively. I've tested the driver with an AR8132 device. Masayuki has tested it with an AR8131 . I'd like to see a bit more testing, though. You need these entries for /etc/driver_aliases . Follow the existing format:

pciex1969,1062 Atheros AR8132 Fast Ethernet
pciex1969,1063 Atheros AR8131 Gigabit Ethernet

The driver also has support for newer AR8151 and AR8152 devices, but I don't have the hardware to test it. Recent Dell laptops likely have these ethernet interfaces. If somebody is able to test it, you will need these entries:
pciex1969,1073 Atheros AR8151 v1.0 Gigabit Ethernet
pciex1969,1083 Atheros AR8151 v2.0 Gigabit Ethernet
pciex1969,2060 Atheros AR8152 v1.1 Fast Ethernet
pciex1969,2062 Atheros AR8152 v2.0 Fast Ethernet

#7

Updated by Gary Mills about 8 years ago

I've attached a more polished version of the driver, in case people want to do some more testing. This might be the final version.

#8

Updated by Vladimir Novoseltsev about 8 years ago

  • Status changed from New to Feedback

Work fine for me with pciex1969,2062 Atheros AR8152 v2.0 Fast Ethernet on oi151a4 even after coldboot.
Can't wait until changes would land into the tree.

#9

Updated by Andre Breiler about 8 years ago

I can confirm both version of the driver (atge-18.5 and atge-01.6) work on 151a and 151a4 for me (Acer Aspire One 722) with AR8152.

relevant entries from dmesg (on 151a4 with atge-01.6) for reference:

Jun  5 11:28:54 cyan atge: [ID 451854 kern.notice] NOTICE: atge0: PCI-ID pci1969,2062,c1: Atheros AR8152 v2.0 Fast Ethernet
Jun  5 11:28:54 cyan pcplusmp: [ID 805372 kern.info] pcplusmp: pciex1969,2062 (atge) instance 0 irq 0x18 vector 0x60 ioapic 0xff intin 0xff is bound to cpu 1
Jun  5 11:28:54 cyan mac: [ID 469746 kern.info] NOTICE: atge0 registered
Jun  5 11:28:54 cyan mii: [ID 427086 kern.info] atge0: Using 100BASE-X Ethernet PHY at 0: Atheros/Attansic PHY
Jun  5 11:28:56 cyan mac: [ID 435574 kern.info] NOTICE: atge0 link up, 100 Mbps, full duplex

Link state is correct:

root@cyan:~# dladm show-phys
LINK         MEDIA                STATE      SPEED  DUPLEX    DEVICE
atge0        Ethernet             up         100    full      atge0

Thank you for providing the updated driver (for testing).

#10

Updated by Gary Mills about 8 years ago

Attached is a version of the driver after addressing the recommendations from Garrett D'Amore. This one might be the final one.

#11

Updated by Dan McDonald almost 8 years ago

  • Status changed from Feedback to Resolved
  • % Done changed from 90 to 100

Integrated.

changeset: 13768:ed21ea5d20cf
tag: tip
user: Gary Mills <>
date: Fri Aug 10 10:52:49 2012 -0400

description:
212 Atheros AR8132 / L1c Gigabit Ethernet Adapter
Reviewed by: Garrett D'Amore <>
Reviewed by: Milan Jurik <>
Approved by: Dan McDonald <>

modified:
usr/src/man/man7d/atge.7d
usr/src/pkg/manifests/driver-network-atge.mf
usr/src/uts/common/Makefile.files
usr/src/uts/common/io/atge/atge.h
usr/src/uts/common/io/atge/atge_cmn_reg.h
usr/src/uts/common/io/atge/atge_l1_reg.h
usr/src/uts/common/io/atge/atge_l1e.c
usr/src/uts/common/io/atge/atge_l1e_reg.h
usr/src/uts/common/io/atge/atge_main.c
usr/src/uts/common/io/atge/atge_mii.c
added:
usr/src/uts/common/io/atge/atge_l1c.c
usr/src/uts/common/io/atge/atge_l1c_reg.h

Also available in: Atom PDF