Up to [cvs.netbsd.org] / src / sys / dev / pci
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.28.2.6 / (download) - annotate - [select for diffs], Fri Nov 18 23:25:40 2011 UTC (6 months ago) by sborrill
Branch: netbsd-5
Changes since 1.28.2.5: +130 -99
lines
Diff to previous 1.28.2.5 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored)
Pull up the following revisions(s) (requested by bouyer in ticket #1694): sys/dev/pci/if_age.c: revision 1.40 via patch - age_init() is called from age_watchdog() which is in interrupt context; we can't sleep here or we get a DIAGNOSTIC panic when age_watchdog() fires. - More correct bus_dma(9) usage in age_encap() - Introduce a age_shutdown() to be called by pmf(9) at shutdown time, to stop the DMA engine. - Be consistent in WAIT/NOWAIT use in init routines - Use BUS_DMA_COHERENT where appropriate - Rework the interrupt routine a bit, and ACK but do not disable interrupts here. There seems to be a race where interrupts would not be properly reenabled after this, leading do watchdog timeouts.
Revision 1.40 / (download) - annotate - [select for diffs], Tue Oct 25 21:47:38 2011 UTC (7 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
yamt-pagecache,
netbsd-6-base,
netbsd-6,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base,
jmcneill-usbmp,
jmcneill-audiomp3-base,
jmcneill-audiomp3,
HEAD
Changes since 1.39: +130 -99
lines
Diff to previous 1.39 (colored)
age_init() is called from age_watchdog() which is interrupt context, we can't sleep here or we get a DIAGNOSTIC panic when age_watchdog() fires. More correct bus_dma(9) usage in age_encap() Introduce a age_shutdown() to be called by pmf(9) at shutdown time, to stop the DMA engine. My system would't properly reboot without this. Be consistent in WAIT/NOWAIT use in init routines Use BUS_DMA_COHERENT where appropriate Rework the interrupt routine a bit, and ACK but do not disable interrupts here. There seems to be a race where interrupts would not be properly reenabled after this, leading do watchdog timeouts. With these changes, the on-board age(4) on ftp.fr.netbsd.org seems to be finally working properly.
Revision 1.37.2.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:53:37 2011 UTC (14 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.37.2.1: +3 -3
lines
Diff to previous 1.37.2.1 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored)
sync with head
Revision 1.36.2.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:46:24 2010 UTC (21 months, 1 week ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.36.2.1: +1 -1
lines
Diff to previous 1.36.2.1 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored)
Sync with HEAD.
Revision 1.28.4.6 / (download) - annotate - [select for diffs], Wed Aug 11 22:53:45 2010 UTC (21 months, 2 weeks ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.28.4.5: +5 -7
lines
Diff to previous 1.28.4.5 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored)
sync with head.
Revision 1.39 / (download) - annotate - [select for diffs], Tue Jul 20 09:17:24 2010 UTC (22 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
matt-mips64-premerge-20101231,
jruoho-x86intr-base,
jruoho-x86intr,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Changes since 1.38: +3 -3
lines
Diff to previous 1.38 (colored)
PR kern/38871: Fix VLAN
Revision 1.37.2.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:32 2010 UTC (23 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.37: +4 -6
lines
Diff to previous 1.37 (colored)
sync with head
Revision 1.36.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:33 2010 UTC (2 years ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.36: +6 -8
lines
Diff to previous 1.36 (colored)
Sync with HEAD.
Revision 1.38.2.2 / (download) - annotate - [select for diffs], Wed Apr 21 00:27:40 2010 UTC (2 years, 1 month ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-k15
Changes since 1.38.2.1: +2291 -0
lines
Diff to previous 1.38.2.1 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored)
sync to netbsd-5
Revision 1.38.2.1, Mon Apr 5 07:20:24 2010 UTC (2 years, 1 month ago) by matt
Branch: matt-nb5-mips64
Changes since 1.38: +0 -2285
lines
FILE REMOVED
file if_age.c was added on branch matt-nb5-mips64 on 2010-04-21 00:27:40 +0000
Revision 1.38 / (download) - annotate - [select for diffs], Mon Apr 5 07:20:24 2010 UTC (2 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Branch point for: matt-nb5-mips64
Changes since 1.37: +4 -6
lines
Diff to previous 1.37 (colored)
Push the bpf_ops usage back into bpf.h. Push the common ifp->if_bpf check into the inline functions as well the fourth argument for bpf_attach.
Revision 1.28.4.5 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:44 2010 UTC (2 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.28.4.4: +9 -37
lines
Diff to previous 1.28.4.4 (colored) to branchpoint 1.28 (colored)
sync with head
Revision 1.37 / (download) - annotate - [select for diffs], Wed Feb 24 22:38:00 2010 UTC (2 years, 3 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9
Branch point for: rmind-uvmplock
Changes since 1.36: +4 -4
lines
Diff to previous 1.36 (colored)
A pointer typedef entails trading too much flexibility to declare const and non-const types, and the kernel uses both const and non-const PMF qualifiers and device suspensors, so change the pmf_qual_t and device_suspensor_t typedefs from "pointers to const" to non-pointer, non-const types.
Revision 1.36 / (download) - annotate - [select for diffs], Tue Jan 19 22:07:00 2010 UTC (2 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Changes since 1.35: +4 -11
lines
Diff to previous 1.35 (colored)
Redefine bpf linkage through an always present op vector, i.e. #if NBPFILTER is no longer required in the client. This change doesn't yet add support for loading bpf as a module, since drivers can register before bpf is attached. However, callers of bpf can now be modularized. Dynamically loadable bpf could probably be done fairly easily with coordination from the stub driver and the real driver by registering attachments in the stub before the real driver is loaded and doing a handoff. ... and I'm not going to ponder the depths of unload here. Tested with i386/MONOLITHIC, modified MONOLITHIC without bpf and rump.
Revision 1.35 / (download) - annotate - [select for diffs], Fri Jan 8 19:56:51 2010 UTC (2 years, 4 months ago) by dyoung
Branch: MAIN
Changes since 1.34: +4 -4
lines
Diff to previous 1.34 (colored)
Expand PMF_FN_* macros.
Revision 1.28.2.5 / (download) - annotate - [select for diffs], Sun Nov 8 22:03:32 2009 UTC (2 years, 6 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
matt-nb5-pq3-base,
matt-nb5-pq3
Changes since 1.28.2.4: +5 -26
lines
Diff to previous 1.28.2.4 (colored) to branchpoint 1.28 (colored)
Pull up following revision(s) (requested by cegger in ticket #1124): sys/dev/pci/if_age.c: revision 1.34 sys/dev/pci/if_ale.c: revision 1.9 Use m_pullup to handle defragmentation. Reinject mbuf into TX queue when it couldn't be loaded. diff for age(4) reviewed/discussed with plunky@ several weeks ago.
Revision 1.28.2.4 / (download) - annotate - [select for diffs], Sun Nov 8 21:58:02 2009 UTC (2 years, 6 months ago) by snj
Branch: netbsd-5
Changes since 1.28.2.3: +90 -117
lines
Diff to previous 1.28.2.3 (colored) to branchpoint 1.28 (colored)
Pull up following revision(s) (requested by cegger in ticket #1124): sys/dev/pci/if_age.c: revision 1.30 - Don't access VPD even if hardware advertised the capability. It seems that some revisions of the controllers hang while accessing the VPD. Because VPD access routine is now unused, nuke it. - Let TWSI reload EEPROM if VPD capability is detected. Reloading the EEPROM will also set the Ethernet address, so age(4) now reads AGE_PAR0 and AGE_PAR1 register to get the Ethernet address. This removes removes a lot of hacks and enhance readability a lot. - Double PHY reset timeout as it takes more time to take the PHY out of power-saving state. - Explicitly check power-saving state by checking undocumented PHY registers. If link is not up, poke undocumented registers to take PHY out of power-saving state. This is the same thing done by the Linux driver. - Don't rely on auto-clearing feature of master reset bit, just wait 1ms and check idle status of MAC. From FreeBSD via OpenBSD.
Revision 1.28.2.3 / (download) - annotate - [select for diffs], Sun Nov 8 21:55:46 2009 UTC (2 years, 6 months ago) by snj
Branch: netbsd-5
Changes since 1.28.2.2: +3 -5
lines
Diff to previous 1.28.2.2 (colored) to branchpoint 1.28 (colored)
Pull up following revision(s) (requested by cegger in ticket #1124): sys/dev/pci/if_age.c: revision 1.29 support flow control. from OpenBSD. tested by hans@
Revision 1.34 / (download) - annotate - [select for diffs], Thu Oct 8 08:57:19 2009 UTC (2 years, 7 months ago) by cegger
Branch: MAIN
CVS Tags: matt-premerge-20091211,
jym-xensuspend-nbase
Changes since 1.33: +5 -26
lines
Diff to previous 1.33 (colored)
Use m_pullup to handle defragmentation. Reinject mbuf into TX queue when it couldn't be loaded. diff for age(4) reviewed/discussed with plunky@ several weeks ago.
Revision 1.28.4.4 / (download) - annotate - [select for diffs], Wed Sep 16 13:37:50 2009 UTC (2 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.28.4.3: +5 -5
lines
Diff to previous 1.28.4.3 (colored) to branchpoint 1.28 (colored)
sync with head
Revision 1.33 / (download) - annotate - [select for diffs], Sat Sep 5 14:09:55 2009 UTC (2 years, 8 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8
Changes since 1.32: +5 -5
lines
Diff to previous 1.32 (colored)
Invert logic around nested pmf(9) registrations for readability.
Revision 1.28.4.3 / (download) - annotate - [select for diffs], Wed Aug 19 18:47:10 2009 UTC (2 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.28.4.2: +97 -123
lines
Diff to previous 1.28.4.2 (colored) to branchpoint 1.28 (colored)
sync with head.
Revision 1.32 / (download) - annotate - [select for diffs], Wed Aug 5 15:29:51 2009 UTC (2 years, 9 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base7
Changes since 1.31: +8 -5
lines
Diff to previous 1.31 (colored)
make RX hw checksum available by default. TX hw checksum locks up interface.
Revision 1.31 / (download) - annotate - [select for diffs], Wed Aug 5 14:41:12 2009 UTC (2 years, 9 months ago) by cegger
Branch: MAIN
Changes since 1.30: +3 -3
lines
Diff to previous 1.30 (colored)
fix typo
Revision 1.30 / (download) - annotate - [select for diffs], Wed Aug 5 12:07:16 2009 UTC (2 years, 9 months ago) by cegger
Branch: MAIN
Changes since 1.29: +90 -117
lines
Diff to previous 1.29 (colored)
- Don't access VPD even if hardware advertised the capability. It seems that some revisions of the controllers hang while accessing the VPD. Because VPD access routine is now unused, nuke it. - Let TWSI reload EEPROM if VPD capability is detected. Reloading the EEPROM will also set the Ethernet address, so age(4) now reads AGE_PAR0 and AGE_PAR1 register to get the Ethernet address. This removes removes a lot of hacks and enhance readability a lot. - Double PHY reset timeout as it takes more time to take the PHY out of power-saving state. - Explicitly check power-saving state by checking undocumented PHY registers. If link is not up, poke undocumented registers to take PHY out of power-saving state. This is the same thing done by the Linux driver. - Don't rely on auto-clearing feature of master reset bit, just wait 1ms and check idle status of MAC. From FreeBSD via OpenBSD.
Revision 1.29 / (download) - annotate - [select for diffs], Tue Aug 4 13:17:55 2009 UTC (2 years, 9 months ago) by cegger
Branch: MAIN
Changes since 1.28: +3 -5
lines
Diff to previous 1.28 (colored)
support flow control. from OpenBSD. tested by hans@
Revision 1.20.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:20:24 2009 UTC (3 years ago) by jym
Branch: jym-xensuspend
Changes since 1.20: +75 -42
lines
Diff to previous 1.20 (colored) next main 1.21 (colored)
Sync with HEAD. Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.28.4.2 / (download) - annotate - [select for diffs], Mon May 4 08:12:55 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.28.4.1: +2341 -0
lines
Diff to previous 1.28.4.1 (colored) to branchpoint 1.28 (colored)
sync with head.
Revision 1.28.2.2 / (download) - annotate - [select for diffs], Sun May 3 23:45:47 2009 UTC (3 years ago) by snj
Branch: netbsd-5
Changes since 1.28.2.1: +2341 -0
lines
Diff to previous 1.28.2.1 (colored) to branchpoint 1.28 (colored)
Pull up following revision(s) (requested by cegger in ticket #735): sys/dev/pci/if_age.c: revisions 1.1-1.28 sys/dev/pci/if_agereg.h: revisions 1.1-1.2 sys/dev/pci/if_ale.c: revisions 1.1-1.3 sys/dev/pci/if_alereg.h: revisions 1.1-1.2 sys/dev/pci/files.pci: revisions 1.310-1.313 sys/dev/mii/atphy.c: revisions 1.1-1.5 sys/dev/mii/files.mii: revision 1.42 share/man/man4/age.4: revisions 1.1-1.3 share/man/man4/ale.4: revisions 1.1-1.2 share/man/man4/atphy.4: revisions 1.1-1.2 share/man/man4/Makefile: revisions 1.486, 1.489 distrib/sets/lists/man/mi: revisions 1.1118, 1.1132 sys/arch/i386/conf/GENERIC: revisions 1.928, 1.933 sys/arch/i386/conf/XEN2_DOM0: revisions 1.57, 1.60 sys/arch/amd64/conf/GENERIC: revisions 1.239, 1.241 sys/arch/amd64/conf/XEN3_DOM0: revisions 1.38, 1.42 Add the age(4) and ale(4) drivers for Attansic L1 and Atheros AR8121/AR8113/AR8114 devices respectively.
Revision 1.28.4.1, Tue Apr 28 11:47:56 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.28: +0 -2341
lines
FILE REMOVED
file if_age.c was added on branch yamt-nfs-mp on 2009-05-04 08:12:55 +0000
Revision 1.28.2.1, Tue Apr 28 11:47:56 2009 UTC (3 years ago) by snj
Branch: netbsd-5
Changes since 1.28: +0 -2341
lines
FILE REMOVED
file if_age.c was added on branch netbsd-5 on 2009-05-03 23:45:47 +0000
Revision 1.28 / (download) - annotate - [select for diffs], Tue Apr 28 11:47:56 2009 UTC (3 years ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
nick-hppapmap-base4,
jymxensuspend-base,
jym-xensuspend-base
Branch point for: yamt-nfs-mp,
netbsd-5
Changes since 1.27: +7 -3
lines
Diff to previous 1.27 (colored)
on detach, deregister from pmf and free resource
Revision 1.8.2.4 / (download) - annotate - [select for diffs], Tue Apr 28 07:35:56 2009 UTC (3 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.8.2.3: +55 -37
lines
Diff to previous 1.8.2.3 (colored) next main 1.9 (colored)
Sync with HEAD.
Revision 1.27 / (download) - annotate - [select for diffs], Sun Apr 26 07:01:29 2009 UTC (3 years, 1 month ago) by cegger
Branch: MAIN
CVS Tags: nick-hppapmap-base3,
nick-hppapmap-base
Changes since 1.26: +8 -3
lines
Diff to previous 1.26 (colored)
age_intr: don't return w/o ack. the interrupt. Add a comment when this special case can happen.
Revision 1.26 / (download) - annotate - [select for diffs], Tue Apr 21 13:16:36 2009 UTC (3 years, 1 month ago) by tsutsui
Branch: MAIN
Changes since 1.25: +12 -12
lines
Diff to previous 1.25 (colored)
Fix wrong arguments of bus_dmamem_free(9). XXX: not all resouces are freed properly on error path in age_dma_alloc().
Revision 1.25 / (download) - annotate - [select for diffs], Tue Mar 3 23:28:44 2009 UTC (3 years, 2 months ago) by cegger
Branch: MAIN
Changes since 1.24: +20 -7
lines
Diff to previous 1.24 (colored)
mimic fix from nfe(4): when bus_dmamap_create fails, then the map pointer is undefined. age_dma_free() assumes, the map pointer is NULL. Make the assumption always true by setting the map pointer to NULL in bus_dmamap_create() error path in order to prevent age_dma_free() to call bus_dmamap_destroy() on an invalid map.
Revision 1.24 / (download) - annotate - [select for diffs], Tue Mar 3 22:26:41 2009 UTC (3 years, 2 months ago) by cegger
Branch: MAIN
Changes since 1.23: +21 -21
lines
Diff to previous 1.23 (colored)
make multicast working. Diff from OpenBSD's if_age.c rev. 1.2.
Revision 1.8.2.3 / (download) - annotate - [select for diffs], Tue Mar 3 18:31:07 2009 UTC (3 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.8.2.2: +123 -109
lines
Diff to previous 1.8.2.2 (colored)
Sync with HEAD.
Revision 1.23 / (download) - annotate - [select for diffs], Mon Feb 23 13:39:41 2009 UTC (3 years, 3 months ago) by cegger
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Changes since 1.22: +9 -4
lines
Diff to previous 1.22 (colored)
when attach routine fails, also free DMA memory and interrupt mapping. Diff from OpenBSD's if_age.c rev. 1.2. ok cube@
Revision 1.22 / (download) - annotate - [select for diffs], Mon Feb 16 09:38:41 2009 UTC (3 years, 3 months ago) by cegger
Branch: MAIN
Changes since 1.21: +6 -4
lines
Diff to previous 1.21 (colored)
make this compile w/o VLAN
Revision 1.21 / (download) - annotate - [select for diffs], Wed Feb 11 16:15:59 2009 UTC (3 years, 3 months ago) by cegger
Branch: MAIN
Changes since 1.20: +6 -2
lines
Diff to previous 1.20 (colored)
age_dma_free: set smb pointers to NULL for consistency age_stop: call mii_down() ok cube@
Revision 1.20 / (download) - annotate - [select for diffs], Thu Feb 5 23:56:57 2009 UTC (3 years, 3 months ago) by dyoung
Branch: MAIN
Branch point for: jym-xensuspend
Changes since 1.19: +2 -6
lines
Diff to previous 1.19 (colored)
If the bus_dmamap_load_mbuf() status was non-zero, then the DMA map is undefined, so do not try to unload it.
Revision 1.19 / (download) - annotate - [select for diffs], Thu Feb 5 21:40:46 2009 UTC (3 years, 3 months ago) by dyoung
Branch: MAIN
Changes since 1.18: +11 -20
lines
Diff to previous 1.18 (colored)
Initialize ec_mii, and re-use more ethernet common code for media handling. Replace an anonymous constant by PCI_COMMAND_INTERRUPT_DISABLE. These changes have been compile-tested, only.
Revision 1.18 / (download) - annotate - [select for diffs], Tue Feb 3 16:13:34 2009 UTC (3 years, 3 months ago) by cegger
Branch: MAIN
Changes since 1.17: +9 -8
lines
Diff to previous 1.17 (colored)
Adapt age_stop() as our ethernet stack expects it. This makes 'ifconfig age0 down' working. Ok cube@
Revision 1.17 / (download) - annotate - [select for diffs], Fri Jan 30 16:16:36 2009 UTC (3 years, 3 months ago) by cegger
Branch: MAIN
Changes since 1.16: +7 -7
lines
Diff to previous 1.16 (colored)
age_dma_alloc(): Don't allocate more than really required. It is less likely to fail with ENOMEM when we are short on dma-safe memory. This happens more likely when running NetBSD as Xen Dom0.
Revision 1.16 / (download) - annotate - [select for diffs], Fri Jan 30 08:57:35 2009 UTC (3 years, 3 months ago) by cegger
Branch: MAIN
Changes since 1.15: +26 -25
lines
Diff to previous 1.15 (colored)
age_dma_alloc(): print error code to figure out why it failed.
Revision 1.15 / (download) - annotate - [select for diffs], Fri Jan 30 08:46:25 2009 UTC (3 years, 3 months ago) by cegger
Branch: MAIN
Changes since 1.14: +31 -31
lines
Diff to previous 1.14 (colored)
remove brackets from return statements. No functional change.
Revision 1.14 / (download) - annotate - [select for diffs], Thu Jan 29 17:03:37 2009 UTC (3 years, 3 months ago) by cegger
Branch: MAIN
Changes since 1.13: +7 -3
lines
Diff to previous 1.13 (colored)
fix error path: don't crash when age_dma_alloc() fails.
Revision 1.13 / (download) - annotate - [select for diffs], Sat Jan 24 08:31:03 2009 UTC (3 years, 4 months ago) by cegger
Branch: MAIN
Changes since 1.12: +5 -5
lines
Diff to previous 1.12 (colored)
- fix test for IPv4 csum. - No need to double negate TCP/UDP csum test
Revision 1.12 / (download) - annotate - [select for diffs], Fri Jan 23 22:59:30 2009 UTC (3 years, 4 months ago) by cegger
Branch: MAIN
Changes since 1.11: +15 -8
lines
Diff to previous 1.11 (colored)
Improve handling of transmitting large packets. Sending large packets works better, but still needs investigations.
Revision 1.11 / (download) - annotate - [select for diffs], Thu Jan 22 09:39:28 2009 UTC (3 years, 4 months ago) by cegger
Branch: MAIN
Changes since 1.10: +4 -4
lines
Diff to previous 1.10 (colored)
struct device -> device_t
Revision 1.10 / (download) - annotate - [select for diffs], Thu Jan 22 09:37:44 2009 UTC (3 years, 4 months ago) by cegger
Branch: MAIN
Changes since 1.9: +7 -5
lines
Diff to previous 1.9 (colored)
fix crash when bringing up the device and no cable is plugged in
Revision 1.9 / (download) - annotate - [select for diffs], Wed Jan 21 07:48:54 2009 UTC (3 years, 4 months ago) by cegger
Branch: MAIN
Changes since 1.8: +6 -5
lines
Diff to previous 1.8 (colored)
Roll our own ETHER_ALIGN #define like many other driver do. Use ETHER_ALIGN to calculate number of segments correctly (actually the same way as FreeBSD and OpenBSD do). Also use ETHER_ALIGN to correctly adjust new mbufs. This makes the driver finally work. Tested by Jochen Kunz: ping -nf 192.168.2.1 PING 192.168.2.1 (192.168.2.1): 56 data bytes ----192.168.2.1 PING Statistics---- 28949 packets transmitted, 28949 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 0.157/0.364/2.272/0.023 ms 2710.6 packets/sec sent, 2710.6 packets/sec received XXX Shouldn't if_ether.h provide ETHER_ALIGN instead of defining it in all drivers?
Revision 1.8.2.2 / (download) - annotate - [select for diffs], Mon Jan 19 13:18:25 2009 UTC (3 years, 4 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.8.2.1: +2305 -0
lines
Diff to previous 1.8.2.1 (colored)
Sync with HEAD.
Revision 1.8.2.1, Sun Jan 18 21:24:44 2009 UTC (3 years, 4 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.8: +0 -2305
lines
FILE REMOVED
file if_age.c was added on branch nick-hppapmap on 2009-01-19 13:18:25 +0000
Revision 1.8 / (download) - annotate - [select for diffs], Sun Jan 18 21:24:44 2009 UTC (3 years, 4 months ago) by cegger
Branch: MAIN
Branch point for: nick-hppapmap
Changes since 1.7: +8 -40
lines
Diff to previous 1.7 (colored)
fix botched age_ioctl(): don't try to roll its own handling when ether_ioctl() is doing all of it right. Tested by Jochen Kunz.
Revision 1.7 / (download) - annotate - [select for diffs], Sun Jan 18 18:55:38 2009 UTC (3 years, 4 months ago) by cegger
Branch: MAIN
Changes since 1.6: +3 -3
lines
Diff to previous 1.6 (colored)
beautify dmesg output
Revision 1.6.2.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:59 2009 UTC (3 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.6.2.1: +2337 -0
lines
Diff to previous 1.6.2.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)
Sync with HEAD.
Revision 1.6.2.1, Sat Jan 17 00:02:40 2009 UTC (3 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.6: +0 -2337
lines
FILE REMOVED
file if_age.c was added on branch mjf-devfs2 on 2009-01-17 13:28:59 +0000
Revision 1.6 / (download) - annotate - [select for diffs], Sat Jan 17 00:02:40 2009 UTC (3 years, 4 months ago) by cegger
Branch: MAIN
CVS Tags: mjf-devfs2-base
Branch point for: mjf-devfs2
Changes since 1.5: +3 -22
lines
Diff to previous 1.5 (colored)
Until we do WOL, the PCI power management suspend code is a noop.
Revision 1.5 / (download) - annotate - [select for diffs], Fri Jan 16 23:58:05 2009 UTC (3 years, 4 months ago) by cegger
Branch: MAIN
Changes since 1.4: +2 -7
lines
Diff to previous 1.4 (colored)
don't call age_stop and age_init in suspend/resume. pmf network class is already doing that. pointed out by jmcneill
Revision 1.4 / (download) - annotate - [select for diffs], Fri Jan 16 23:23:34 2009 UTC (3 years, 4 months ago) by cegger
Branch: MAIN
Changes since 1.3: +3 -3
lines
Diff to previous 1.3 (colored)
rename PCI_PMCSR_PME to PCI_PMCSR_PME_STS. Per request from jmcneill
Revision 1.3 / (download) - annotate - [select for diffs], Fri Jan 16 23:10:32 2009 UTC (3 years, 4 months ago) by cegger
Branch: MAIN
Changes since 1.2: +58 -9
lines
Diff to previous 1.2 (colored)
- fix age_read_vpd_word(). - add power management support. From FreeBSD.
Revision 1.2 / (download) - annotate - [select for diffs], Fri Jan 16 21:47:56 2009 UTC (3 years, 4 months ago) by cegger
Branch: MAIN
Changes since 1.1: +4 -1
lines
Diff to previous 1.1 (colored)
add RCSID
Revision 1.1 / (download) - annotate - [select for diffs], Fri Jan 16 20:18:08 2009 UTC (3 years, 4 months ago) by cegger
Branch: MAIN
Driver for Attansic L1 gigabit ethernet driver. Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD by Sepherosa Ziehau, ported to OpenBSD by Kevin Lo and then ported to NetBSD by me. XXX Driver needs testing.