Home | History | Annotate | Download | only in pci
History log of /src/sys/dev/pci/if_alcreg.h
RevisionDateAuthorComments
 1.10  09-Feb-2024  andvar fix spelling mistakes, mainly in comments and log messages.
 1.9  08-Feb-2020  maxv constify
 1.8  17-Oct-2019  msaitoh branches: 1.8.2;
Add support for Killer E2400 and E2500.
 1.7  03-Sep-2019  msaitoh No functional change to reduce diff against {Free,Open}BSD:
- Fix typo in comment.
- Modify white spaces.
 1.6  29-Dec-2016  leot branches: 1.6.16; 1.6.22;
Do not access `sc' directly via the CSR_{READ,WRITE}_[124] macros.

Patch provided by Amol via PR kern/51708.

ok <Riastradh>
 1.5  24-Nov-2015  leot branches: 1.5.2;
Add NetBSD RCS Id.
 1.4  08-Sep-2015  leot Add some missing fixes to alc(4) to sync with the latest FreeBSD and OpenBSD
alc(4)s.

Fix a long standing bug in MAC statistics register access. One
additional register was erroneously added in the MAC register set
such that 7 TX statistics counters were wrong. (from OpenBSD, if_alc.c 1.29)

Remove setting an initial assumed baudrate upon driver attach which is not
necessarily correct, there might not even be a link when attaching.
(from OpenBSD, if_alc.c 1.22)

Add some missing bus_dmamap_sync()'s and sync the others with
the FreeBSD code. (from OpenBSD, if_alc.c 1.21)

Help with the watchdog timeouts seen when unplugging the cable from
the alc(4) NIC while running or the NIC not working if the cable is
not plugged in upon boot up. (from OpenBSD, if_alc.c 1.16)

ok mrg@
 1.3  18-Jan-2015  christos PR/49584: Leonardo Taccari: alc(4): add support for AR816x/AR817x chipsets
 1.2  23-Feb-2011  jmcneill branches: 1.2.2; 1.2.4; 1.2.8; 1.2.20; 1.2.36; 1.2.38;
catch up with FreeBSD driver, adds support for AR815x chips
 1.1  23-Feb-2011  jmcneill add network driver for Atheros AR813x/AR815x ethernet controllers, based
on a patch from fire crow on tech-net with additional bpf & detach fixes,
module support, and a match for 8152 v2.0 devices.

alc0 at pci3 dev 0 function 0: Attansic/Atheros L1C/L2C Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
ukphy0 at alc0 phy 0: L2 10/100 PHY (OUI 0x00c82e, model 0x0002), rev. 5
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
 1.2.38.4  05-Feb-2017  skrll Sync with HEAD
 1.2.38.3  27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.2.38.2  22-Sep-2015  skrll Sync with HEAD
 1.2.38.1  06-Apr-2015  skrll Sync with HEAD
 1.2.36.1  04-Feb-2015  snj Pull up following revision(s) (requested by nonaka in ticket #473):
share/man/man4/lii.4: revision 1.3
sys/dev/pci/if_alc.c: revision 1.12
sys/dev/pci/pcidevs: revision 1.1213
sys/dev/pci/if_alcreg.h: revision 1.3
share/man/man4/atphy.4: revision 1.3
share/man/man4/alc.4: revision 1.4
PR/49584: Leonardo Taccari: alc(4): add support for AR816x/AR817x chipsets
 1.2.20.1  03-Dec-2017  jdolecek update from HEAD
 1.2.8.2  06-Jun-2011  jruoho Sync with HEAD.
 1.2.8.1  23-Feb-2011  jruoho file if_alcreg.h was added on branch jruoho-x86intr on 2011-06-06 09:08:11 +0000
 1.2.4.2  05-Mar-2011  rmind sync with head
 1.2.4.1  23-Feb-2011  rmind file if_alcreg.h was added on branch rmind-uvmplock on 2011-03-05 20:53:38 +0000
 1.2.2.2  05-Mar-2011  bouyer Sync with HEAD
 1.2.2.1  23-Feb-2011  bouyer file if_alcreg.h was added on branch bouyer-quota2 on 2011-03-05 15:10:23 +0000
 1.5.2.1  07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.6.22.1  24-Oct-2019  martin Pull up following revision(s) (requested by msaitoh in ticket #375):

sys/dev/pci/if_alc.c: revision 1.40
sys/dev/pci/if_alc.c: revision 1.41
sys/dev/pci/if_alc.c: revision 1.42
sys/dev/pci/if_alc.c: revision 1.39
sys/dev/pci/if_alcreg.h: revision 1.8
share/man/man4/alc.4: revision 1.6

Apply FreeBSD r218141:
> alc_rev was used without initialization such that it failed to
> apply AR8152 v1.0 specific initialization code. Fix this bug by
> explicitly reading PCI device revision id via PCI accessor.
>
> Reported by: Gabriel Linder ( linder.gabriel <> gmail dot com )

Move PCIe initialization code from alc_attach() to alc_init_pcie().
No functional change.

Some alc(4) fixes:
- Apply FreeBSD r218141:
> alc_rev was used without initialization such that it failed to
> apply AR8152 v1.0 specific initialization code. Fix this bug by
> explicitly reading PCI device revision id via PCI accessor.
>
> Reported by: Gabriel Linder ( linder.gabriel <> gmail dot com )

- Apply FreeBSD r304574:
> Correct DMA channel number selection on AR816x family of
> controllers. For Gigabit Ethernet version of AR816x, AR813x/AR815x
> except L1D controller, use vendor recommended ASPM parameters.
> While here, increase alc_dma_burst array size. Broken H/W can
> return bogus value in theory.

- Use static.

- Whitespace fix. Remove extra backslash.

Add support for Killer E2400 and E2500.
 1.6.16.2  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.6.16.1  08-Apr-2020  martin Merge changes from current as of 20200406
 1.8.2.1  29-Feb-2020  ad Sync with head.

RSS XML Feed