The NetBSD Project

CVS log for src/sys/dev/pci/if_stge.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / dev / pci

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.91 / (download) - annotate - [select for diffs], Sat Feb 10 09:30:06 2024 UTC (2 months, 1 week ago) by andvar
Branch: MAIN
CVS Tags: HEAD
Changes since 1.90: +3 -3 lines
Diff to previous 1.90 (colored)

s/alloted/allotted/ in comments.

Revision 1.90 / (download) - annotate - [select for diffs], Sat Sep 24 18:12:43 2022 UTC (18 months, 3 weeks ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.89: +2 -3 lines
Diff to previous 1.89 (colored)

Remove unnecessary include of <sys/malloc.h>.

Revision 1.89 / (download) - annotate - [select for diffs], Sat Jan 22 19:08:33 2022 UTC (2 years, 2 months ago) by martin
Branch: MAIN
Changes since 1.88: +3 -3 lines
Diff to previous 1.88 (colored)

Explicitly cast a __MASK(40) to bus_addr_t (for 32bit bus_addr_t archs)

Revision 1.88 / (download) - annotate - [select for diffs], Sat Jan 22 15:10:32 2022 UTC (2 years, 2 months ago) by skrll
Branch: MAIN
Changes since 1.87: +3 -3 lines
Diff to previous 1.87 (colored)

Ensure bus_dmatag_subregion is called with an inclusive max_addr
everywhere.

Revision 1.87 / (download) - annotate - [select for diffs], Thu Jul 2 09:02:04 2020 UTC (3 years, 9 months ago) by msaitoh
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.86: +3 -3 lines
Diff to previous 1.86 (colored)

prop_data_data_nocopy -> prop_data_value

Revision 1.86 / (download) - annotate - [select for diffs], Sun Mar 15 22:20:31 2020 UTC (4 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Changes since 1.85: +4 -12 lines
Diff to previous 1.85 (colored)

Don't bother with IFF_OACTIVE.

Revision 1.85 / (download) - annotate - [select for diffs], Fri Mar 13 03:45:58 2020 UTC (4 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.84: +4 -2 lines
Diff to previous 1.84 (colored)

Support MBUFTRACE.

Revision 1.84 / (download) - annotate - [select for diffs], Sat Mar 7 07:33:39 2020 UTC (4 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.83: +3 -2 lines
Diff to previous 1.83 (colored)

If bus_dmatag_subregion(), actually fall back on the base 64-bit
DMA tag.

Revision 1.83 / (download) - annotate - [select for diffs], Mon Mar 2 15:13:23 2020 UTC (4 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: is-mlppp-base, is-mlppp
Changes since 1.82: +6 -4 lines
Diff to previous 1.82 (colored)

Duh, acctually use all 64-bits when giving the rings to the chip.

Revision 1.82 / (download) - annotate - [select for diffs], Sun Mar 1 16:31:01 2020 UTC (4 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.81: +3 -3 lines
Diff to previous 1.81 (colored)

Add explicit casts in bus_dmatag_subregion() calls to avoid overflow /
truncation warnings on 32-bit platforms.

Revision 1.81 / (download) - annotate - [select for diffs], Sun Mar 1 15:46:32 2020 UTC (4 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.80: +4 -4 lines
Diff to previous 1.80 (colored)

Harmonize bus_dmatag_subregion() handling with other drivers.

Revision 1.80 / (download) - annotate - [select for diffs], Sat Feb 29 20:39:09 2020 UTC (4 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.79: +20 -3 lines
Diff to previous 1.79 (colored)

Use the 64-bit PCI DMA tag if it's available, but range-limit to
40-bit because that's what the hardware can do.

Revision 1.79 / (download) - annotate - [select for diffs], Fri Feb 7 00:04:28 2020 UTC (4 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: ad-namecache-base3
Changes since 1.78: +5 -4 lines
Diff to previous 1.78 (colored)

Use callout_setfunc() / callout_schedule().

Revision 1.78 / (download) - annotate - [select for diffs], Thu Jan 30 05:24:53 2020 UTC (4 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.77: +17 -13 lines
Diff to previous 1.77 (colored)

Adopt <net/if_stats.h>.

Revision 1.77 / (download) - annotate - [select for diffs], Tue Jan 14 09:49:26 2020 UTC (4 years, 3 months ago) by msaitoh
Branch: MAIN
CVS Tags: ad-namecache-base2, ad-namecache-base1
Changes since 1.76: +169 -2 lines
Diff to previous 1.76 (colored)

No functional change:

- Move some definitions from if_stgereg.h to if_stge.c again because those are
  not chip (registers or descriptors) definitions.
- Use proplib to pass information that loading DSP code is required when
  PHY reset.

Revision 1.76 / (download) - annotate - [select for diffs], Thu Jan 9 10:54:16 2020 UTC (4 years, 3 months ago) by msaitoh
Branch: MAIN
Changes since 1.75: +74 -114 lines
Diff to previous 1.75 (colored)

Reduce diff against OpenBSD. No functional change.

- USE CSR_{READ,WRITE}_*() macro.
- Move some macros from if_stge.c to if_stgereg.h

Revision 1.75 / (download) - annotate - [select for diffs], Thu Dec 26 15:32:37 2019 UTC (4 years, 3 months ago) by msaitoh
Branch: MAIN
CVS Tags: ad-namecache-base
Branch point for: ad-namecache
Changes since 1.74: +12 -9 lines
Diff to previous 1.74 (colored)

 Improve flow control.

Revision 1.74 / (download) - annotate - [select for diffs], Thu Dec 26 15:26:58 2019 UTC (4 years, 3 months ago) by msaitoh
Branch: MAIN
Changes since 1.73: +9 -2 lines
Diff to previous 1.73 (colored)

Apply OpenBSD rev. 1.34:

 > Set Rx early threshold and Tx DMA thesholds.
 >
 > From Linux via FreeBSD

Revision 1.73 / (download) - annotate - [select for diffs], Sun Nov 10 13:34:52 2019 UTC (4 years, 5 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-20191119
Changes since 1.72: +3 -2 lines
Diff to previous 1.72 (colored)

 Add missing initialization of sc_dev.

Revision 1.72 / (download) - annotate - [select for diffs], Wed Oct 30 07:26:28 2019 UTC (4 years, 5 months ago) by msaitoh
Branch: MAIN
Changes since 1.71: +3 -4 lines
Diff to previous 1.71 (colored)

 if_percpuq(9) automatically increments if_ipackets, so don't add number of
RX frames from device's statistics counter to if_ipackets to avoid double
count.

Revision 1.71 / (download) - annotate - [select for diffs], Mon Oct 7 11:53:40 2019 UTC (4 years, 6 months ago) by msaitoh
Branch: MAIN
Changes since 1.70: +2 -127 lines
Diff to previous 1.70 (colored)

 Add support IC Plus IP1000* PHYs. PR/kern 42314 first reported by
Tomokazu HARADA and patch provided by Andrius V.

Revision 1.70 / (download) - annotate - [select for diffs], Tue Jul 9 08:46:59 2019 UTC (4 years, 9 months ago) by msaitoh
Branch: MAIN
CVS Tags: netbsd-9-base
Branch point for: netbsd-9
Changes since 1.69: +3 -2 lines
Diff to previous 1.69 (colored)

 Don't automatically set ec_capenable's ETHERCAP_VLAN_HWTAGGING bit in
vlan_config() to make it user-controllable. Instead, set the bit in
xxx_attach().

Revision 1.69 / (download) - annotate - [select for diffs], Tue May 28 07:41:49 2019 UTC (4 years, 10 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-20190609
Changes since 1.68: +8 -3 lines
Diff to previous 1.68 (colored)

 Use ETHER_LOCK()/ETHER_UNLOCK() for all ethernet drivers to protect ec_multi*.

Revision 1.68 / (download) - annotate - [select for diffs], Thu May 23 10:51:39 2019 UTC (4 years, 10 months ago) by msaitoh
Branch: MAIN
Changes since 1.67: +25 -24 lines
Diff to previous 1.67 (colored)

No functional change:
 - Simplify MII structure initialization and reference.
 - u_int*_t -> uint*_t.
 - KNF

Revision 1.67 / (download) - annotate - [select for diffs], Tue Jan 22 03:42:27 2019 UTC (5 years, 2 months ago) by msaitoh
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, isaki-audio2-base, isaki-audio2
Changes since 1.66: +10 -9 lines
Diff to previous 1.66 (colored)

 Change MII PHY read/write API from:

	int (*mii_readreg_t)(device_t, int, int);
	void (*mii_writereg_t)(device_t, int, int, int);
to:

	int (*mii_readreg_t)(device_t, int, int, uint16_t *);
	int (*mii_writereg_t)(device_t, int, int, uint16_t);

Now we can test if a read/write operation failed or not by the return value.

 In 802.3 spec says that the PHY shall not respond to read/write transaction
to the unimplemented register(22.2.4.3). Detecting timeout can be used to
check whether a register is implemented or not (if the register conforms to
the spec). ukphy(4) can be used this for MII_MMDACR and MII_MMDAADR.

 Note that I noticed that the following code do infinite loop in the
read/wirte function. If it accesses unimplemented PHY register, it will hang.
It should be fixed:

	arm/at91/at91emac.c
	arm/ep93xx/epe.c
	arm/omap/omapl1x_emac.c
	mips/ralink/ralink_eth.c
	arch/powerpc/booke/dev/pq3etsec.c(read)
	dev/cadence/if_cemac.c <- hkenken
	dev/ic/lan9118.c


Tested with the following device:

	axe+ukphy
	axe+rgephy
	axen+rgephy	(tested by Andrius V)
	wm+atphy
	wm+ukphy
	wm+igphy
	wm+ihphy
	wm+makphy
	sk+makphy
	sk+brgphy
	sk+gentbi
	msk+makphy
	sip+icsphy
	sip+ukphy
	re+rgephy
	bge+brgphy
	bnx+brgphy
	gsip+gphyter
	rtk+rlphy
	fxp+inphy	(tested by Andrius V)
	tlp+acphy
	ex+exphy
	epic+qsphy
	vge+ciphy	(tested by Andrius V)
	vr+ukphy	(tested by Andrius V)
	vte+ukphy	(tested by Andrius V)

Not tested (MAC):
	arm:at91emac
	arm:cemac
	arm:epe
	arm:geminigmac
	arm:enet
	arm:cpsw
	arm:emac(omac)
	arm:emac(sunxi)
	arm:npe
	evbppc:temac
	macppc:bm
	macppc:gm
	mips:aumac
	mips:ae
	mips:cnmac
	mips:reth
	mips:sbmac
	playstation2:smap
	powerpc:tsec
	powerpc:emac(ibm4xx)
	sgimips:mec
	sparc:be
	sf
	ne(ax88190, dl10019)
	awge
	ep
	gem
	hme
	smsh
	mtd
	sm
	age
	alc
	ale
	bce
	cas
	et
	jme
	lii
	nfe
	pcn
	ste
	stge
	tl
	xi
	aue
	mue
	smsc
	udav
	url

Not tested (PHY):
	amhphy
	bmtphy
	dmphy
	etphy
	glxtphy
	ikphy
	iophy
	lxtphy
	nsphyter
	pnaphy
	rdcphy
	sqphy
	tlphy
	tqphy
	urlphy

Revision 1.66 / (download) - annotate - [select for diffs], Sun Dec 9 11:14:02 2018 UTC (5 years, 4 months ago) by jdolecek
Branch: MAIN
CVS Tags: pgoyette-compat-20190118, pgoyette-compat-1226
Changes since 1.65: +4 -3 lines
Diff to previous 1.65 (colored)

use pci_intr_establish_xname() everywhere

Revision 1.65 / (download) - annotate - [select for diffs], Tue Jun 26 06:48:01 2018 UTC (5 years, 9 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Branch point for: phil-wifi
Changes since 1.64: +3 -3 lines
Diff to previous 1.64 (colored)

 Implement the BPF direction filter (BIOC[GS]DIRECTION). It provides backward
compatibility with BIOC[GS]SEESENT ioctl. The userland interface is the same
as FreeBSD.

 This change also fixes a bug that the direction is misunderstand on some
environment by passing the direction to bpf_mtap*() instead of checking
m->m_pkthdr.rcvif.

Revision 1.64 / (download) - annotate - [select for diffs], Thu Sep 28 16:23:57 2017 UTC (6 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, pgoyette-compat-base, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.63: +4 -3 lines
Diff to previous 1.63 (colored)

only get vtag when we have vtag like the other drivers.

Revision 1.63 / (download) - annotate - [select for diffs], Tue Sep 26 07:42:06 2017 UTC (6 years, 6 months ago) by knakahara
Branch: MAIN
Changes since 1.62: +9 -7 lines
Diff to previous 1.62 (colored)

VLAN ID uses pkthdr instead of mtag now. Contributed by s-yamaguchi@IIJ.

I just commit by proxy. Reviewed by joerg@n.o and christos@n.o, thanks.
See http://mail-index.netbsd.org/tech-net/2017/09/26/msg006459.html

XXX need pullup to -8 branch

Revision 1.62 / (download) - annotate - [select for diffs], Thu Dec 15 09:28:05 2016 UTC (7 years, 4 months ago) by ozaki-r
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, netbsd-8-base, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: netbsd-8
Changes since 1.61: +2 -3 lines
Diff to previous 1.61 (colored)

Move bpf_mtap and if_ipackets++ on Rx of each driver to percpuq if_input

The benefits of the change are:
- We can reduce codes
- We can provide the same behavior between drivers
  - Where/When if_ipackets is counted up
  - Note that some drivers still update packet statistics in their own
    way (periodical update)
- Moved bpf_mtap run in softint
  - This makes it easy to MP-ify bpf

Proposed on tech-kern and tech-net

Revision 1.61 / (download) - annotate - [select for diffs], Thu Dec 8 01:12:01 2016 UTC (7 years, 4 months ago) by ozaki-r
Branch: MAIN
Changes since 1.60: +4 -3 lines
Diff to previous 1.60 (colored)

Apply deferred if_start framework

if_schedule_deferred_start checks if the if_snd queue contains packets,
so drivers don't need to check it by themselves.

Revision 1.60 / (download) - annotate - [select for diffs], Thu Jul 7 06:55:41 2016 UTC (7 years, 9 months ago) by msaitoh
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.59: +5 -8 lines
Diff to previous 1.59 (colored)

KNF. Remove extra spaces. No functional change.

Revision 1.59 / (download) - annotate - [select for diffs], Fri Jun 10 13:27:14 2016 UTC (7 years, 10 months ago) by ozaki-r
Branch: MAIN
Changes since 1.58: +3 -3 lines
Diff to previous 1.58 (colored)

Introduce m_set_rcvif and m_reset_rcvif

The API is used to set (or reset) a received interface of a mbuf.
They are counterpart of m_get_rcvif, which will come in another
commit, hide internal of rcvif operation, and reduce the diff of
the upcoming change.

No functional change.

Revision 1.58 / (download) - annotate - [select for diffs], Tue Feb 9 08:32:11 2016 UTC (8 years, 2 months ago) by ozaki-r
Branch: MAIN
CVS Tags: nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319
Changes since 1.57: +3 -3 lines
Diff to previous 1.57 (colored)

Introduce softint-based if_input

This change intends to run the whole network stack in softint context
(or normal LWP), not hardware interrupt context. Note that the work is
still incomplete by this change; to that end, we also have to softint-ify
if_link_state_change (and bpf) which can still run in hardware interrupt.

This change softint-ifies at ifp->if_input that is called from
each device driver (and ieee80211_input) to ensure Layer 2 runs
in softint (e.g., ether_input and bridge_input). To this end,
we provide a framework (called percpuq) that utlizes softint(9)
and percpu ifqueues. With this patch, rxintr of most drivers just
queues received packets and schedules a softint, and the softint
dequeues packets and does rest packet processing.

To minimize changes to each driver, percpuq is allocated in struct
ifnet for now and that is initialized by default (in if_attach).
We probably have to move percpuq to softc of each driver, but it's
future work. At this point, only wm(4) has percpuq in its softc
as a reference implementation.

Additional information including performance numbers can be found
in the thread at tech-kern@ and tech-net@:
http://mail-index.netbsd.org/tech-kern/2016/01/14/msg019997.html

Acknowledgment: riastradh@ greatly helped this work.
Thank you very much!

Revision 1.57 / (download) - annotate - [select for diffs], Sat Mar 29 19:28:25 2014 UTC (10 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Branch point for: nick-nhusb
Changes since 1.56: +4 -3 lines
Diff to previous 1.56 (colored)

make pci_intr_string and eisa_intr_string take a buffer and a length
instead of relying in local static storage.

Revision 1.56 / (download) - annotate - [select for diffs], Sat Mar 30 03:21:07 2013 UTC (11 years ago) by christos
Branch: MAIN
CVS Tags: riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900
Branch point for: rmind-smpnet
Changes since 1.55: +3 -3 lines
Diff to previous 1.55 (colored)

remove trailing whitespace

Revision 1.55 / (download) - annotate - [select for diffs], Sun Jul 22 14:33:04 2012 UTC (11 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, agc-symver-base, agc-symver
Branch point for: tls-maxphys
Changes since 1.54: +5 -5 lines
Diff to previous 1.54 (colored)

Fix mii_statchg to take a 'struct ifnet *' instead of device_t.  This fixes
problem with a common MDIO bus used for multiple interfaces.
Some drivers converted to CFATTACL_DECL_NEW.

Revision 1.54 / (download) - annotate - [select for diffs], Mon Jan 30 19:41:21 2012 UTC (12 years, 2 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, 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-base10
Changes since 1.53: +3 -3 lines
Diff to previous 1.53 (colored)

Use pci_aprint_devinfo(9) instead of pci_devinfo+aprint_{normal,naive}
where it looks straightforward, and pci_aprint_devinfo_fancy in a few
others where drivers want to supply their own device names instead
of the pcidevs generated one. More complicated cases, where names
are composed at runtime, are left alone for now. It certainly makes
sense to simplify the drivers here rather than inventing a catch-all API.
This should serve as as example for new drivers, and also ensure
consistent output in the AB_QUIET ("boot -q") case. Also, it avoids
excessive stack usage where drivers attach child devices because the
buffer for the device name is not kept on the local stack anymore.

Revision 1.53 / (download) - annotate - [select for diffs], Sat Mar 12 16:52:05 2011 UTC (13 years, 1 month ago) by phx
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.52: +3 -3 lines
Diff to previous 1.52 (colored)

When shutting down the network interface it is not enough to stop it. Some
boards also need to reset the chip, otherwise bad things can happen.

Revision 1.52 / (download) - annotate - [select for diffs], Tue Mar 8 19:06:58 2011 UTC (13 years, 1 month ago) by phx
Branch: MAIN
Changes since 1.51: +25 -8 lines
Diff to previous 1.51 (colored)

On the ST1023 (and compatible, like IP1000A), the mac-address can also be
passed via device properties, when the serial EEPROM is missing or empty.

Revision 1.51 / (download) - annotate - [select for diffs], Sat Nov 13 13:52:07 2010 UTC (13 years, 5 months ago) by uebayasi
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.50: +2 -4 lines
Diff to previous 1.50 (colored)

Don't pull in the whole uvm(9) API to access only PAGE_SIZE and
some other constants.  These are provided by sys/param.h now.

Revision 1.50 / (download) - annotate - [select for diffs], Mon Apr 5 07:20:27 2010 UTC (14 years ago) by joerg
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1
Changes since 1.49: +4 -6 lines
Diff to previous 1.49 (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.49 / (download) - annotate - [select for diffs], Tue Jan 19 22:07:01 2010 UTC (14 years, 3 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.48: +4 -11 lines
Diff to previous 1.48 (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.48 / (download) - annotate - [select for diffs], Mon Sep 14 12:02:48 2009 UTC (14 years, 7 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, matt-premerge-20091211, jym-xensuspend-nbase
Changes since 1.47: +15 -12 lines
Diff to previous 1.47 (colored)

Replace shutdownhook_establish(9) with pmf_device_register1(9).
Tested on D-Link DL-4000.

Revision 1.47 / (download) - annotate - [select for diffs], Sun May 17 02:08:35 2009 UTC (14 years, 11 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, jymxensuspend-base
Changes since 1.46: +63 -56 lines
Diff to previous 1.46 (colored)

Split device_t/softc.  Tested on D-Link DL-4000.

Revision 1.46 / (download) - annotate - [select for diffs], Wed May 6 09:25:16 2009 UTC (14 years, 11 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base4, jym-xensuspend-base
Changes since 1.45: +4 -4 lines
Diff to previous 1.45 (colored)

struct cfdata * -> cfdata_t, no functional changes intended.

Revision 1.45 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:55 2008 UTC (15 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base3, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: jym-xensuspend
Changes since 1.44: +2 -9 lines
Diff to previous 1.44 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.44 / (download) - annotate - [select for diffs], Thu Apr 10 19:13:37 2008 UTC (16 years ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base
Branch point for: yamt-pf42, yamt-nfs-mp
Changes since 1.43: +52 -54 lines
Diff to previous 1.43 (colored)

use aprint_*_dev and device_xname

Revision 1.43 / (download) - annotate - [select for diffs], Fri Mar 21 07:47:43 2008 UTC (16 years, 1 month ago) by dyoung
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, ad-socklock-base1
Changes since 1.42: +22 -23 lines
Diff to previous 1.42 (colored)

pci_activate() expects for its void * argument to be a device_t,
so change the type of the argument to device_t.  Update each use
of pci_activate().

Use device_t and accessors.  Use aprint_*_dev().

Revision 1.42 / (download) - annotate - [select for diffs], Tue Mar 11 23:58:06 2008 UTC (16 years, 1 month ago) by dyoung
Branch: MAIN
Changes since 1.41: +5 -5 lines
Diff to previous 1.41 (colored)

Prepare for PMF self-suspension: in the if_stop() methods, clear
IFF_UP and IFF_RUNNING before running the 'disable' step, instead
of after.  Soon I will handle the 'disable' step by calling into
PMF, which may call if_stop(, 0).  Ordinarily, that is harmless.
This change lets the if_stop() routines exit early when they find
on entry that IFF_RUNNING is not set.

Revision 1.41 / (download) - annotate - [select for diffs], Thu Feb 7 01:21:57 2008 UTC (16 years, 2 months ago) by dyoung
Branch: MAIN
CVS Tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, hpcarm-cleanup-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.40: +12 -8 lines
Diff to previous 1.40 (colored)

Start patching up the kernel so that a network driver always has
the opportunity to handle an ioctl before generic ifioctl handling
occurs.  This will ease extending the kernel and sharing of code
between drivers.

First steps:  Make the signature of ifioctl_common() match struct
ifinet->if_ioctl.  Convert SIOCSIFCAP and SIOCSIFMTU to the new
ifioctl() regime, throughout the kernel.

Revision 1.40 / (download) - annotate - [select for diffs], Sat Jan 19 22:10:19 2008 UTC (16 years, 3 months ago) by dyoung
Branch: MAIN
CVS Tags: bouyer-xeni386-nbase, bouyer-xeni386-base
Changes since 1.39: +16 -57 lines
Diff to previous 1.39 (colored)

Make many ethernet drivers share the common code for MII media
handling, ether_mediastatus() and ether_mediachange().  Check for
a non-ENXIO error return from mii_mediachg().  (ENXIO indicates
that a PHY is suspended.)

This patch shrinks the source code size by 979 lines.  There was
a 5100-byte savings on the NetBSD/i386 kernel configuration, ALL.

I have made a few miscellaneous changes, too:

gem(4): use LIST_EMPTY(), LIST_FOREACH().
mtd(4): handle media ioctls, for a change!
axe(4): do not track link status in sc->axe_link any longer
nfe(4), aue(4), axe(4), udav(4), url(4): do not reset all PHYs
        on a change of media

Except for the change to mtd(4), no functional changes are intended.

XXX This patch affects more architectures than I can feasibly
XXX compile and run.  I have compiled macppc, sparc64, i386.  I
XXX have run the patches on i386 boxen with bnx(4) and sip(4).
XXX Compiling and running on evbmips (MERAKI, ADM5120) is in
XXX progress.

Revision 1.39 / (download) - annotate - [select for diffs], Fri Oct 19 12:00:48 2007 UTC (16 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, matt-armv6-base, jmcneill-pm-base, jmcneill-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-merge1, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs, bouyer-xeni386
Changes since 1.38: +4 -4 lines
Diff to previous 1.38 (colored)

machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

Revision 1.38 / (download) - annotate - [select for diffs], Sun Aug 26 22:45:58 2007 UTC (16 years, 7 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, nick-csl-alignment-base5
Branch point for: matt-armv6, bouyer-xenamd64
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored)

Constify: LLADDR -> CLLADDR.  I'm aiming here to make it easier to
identify sockaddr_dl abuse that remains in the kernel, especially
the potential for overwriting memory past the end of a sockaddr_dl
with, e.g., memcpy(LLADDR(), ...).

Revision 1.37 / (download) - annotate - [select for diffs], Mon Jul 9 21:00:55 2007 UTC (16 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: nick-csl-alignment-base, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: nick-csl-alignment, jmcneill-pm
Changes since 1.36: +4 -4 lines
Diff to previous 1.36 (colored)

Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements

Revision 1.36 / (download) - annotate - [select for diffs], Sun Mar 4 06:02:23 2007 UTC (17 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, mjf-ufs-trans
Changes since 1.35: +7 -7 lines
Diff to previous 1.35 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.35 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:09 2006 UTC (17 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, post-newlock2-merge, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.34: +4 -4 lines
Diff to previous 1.34 (colored)

__unused removal on arguments; approved by core.

Revision 1.34 / (download) - annotate - [select for diffs], Thu Oct 12 01:31:30 2006 UTC (17 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.33: +5 -4 lines
Diff to previous 1.33 (colored)

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.33 / (download) - annotate - [select for diffs], Sat Jun 17 23:34:27 2006 UTC (17 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, rpaulo-netinet-merge-pcb-base, chap-midi-nbase, chap-midi-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.32: +8 -24 lines
Diff to previous 1.32 (colored)

re-factor the pci powestate api. reviewed by gimpy

Revision 1.32 / (download) - annotate - [select for diffs], Sun Dec 11 12:22:49 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, peter-altq-base, peter-altq, gdamore-uart-base, elad-kernelauth-base, elad-kernelauth
Branch point for: yamt-pdpolicy, rpaulo-netinet-merge-pcb, gdamore-uart, chap-midi
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

merge ktrace-lwp.

Revision 1.31 / (download) - annotate - [select for diffs], Thu Jul 28 16:04:24 2005 UTC (18 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Changes since 1.30: +7 -6 lines
Diff to previous 1.30 (colored)

Don't use a global variable to indicate that we are stge1023. Use an sc member.
Pointed out by thorpej.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Jul 25 05:44:36 2005 UTC (18 years, 8 months ago) by kleink
Branch: MAIN
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored)

Add missing brace to previous.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Jul 25 00:41:12 2005 UTC (18 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.28: +35 -19 lines
Diff to previous 1.28 (colored)

PR/29925: Mihai CHELARU: Fix for stge 1023.

Revision 1.28 / (download) - annotate - [select for diffs], Sat Jun 25 21:43:38 2005 UTC (18 years, 9 months ago) by bouyer
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.27: +12 -18 lines
Diff to previous 1.27 (colored)

Write the station address using 8-bits writes instead of 16-bits.
This is what the linux driver does, and makes the DGE-550T work without the
STGE_CU_BUG hack. So remove the STGE_CU_BUG hack.
Set bit 0x0020 in STGE_DebugCtrl too, the linux driver does it (the comments
note this as a workaround, without more details. This doesn't seem to make
things worse).
Also initialize STGE_RxDMABurstThresh and STGE_RxDMAUrgentThresh, using
values from the linux driver.

Approved by Jason Thorpe.

Revision 1.27 / (download) - annotate - [select for diffs], Mon May 16 21:35:32 2005 UTC (18 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.26: +7 -7 lines
Diff to previous 1.26 (colored)

Fix some big-endian issues. stge(4) now works on sparc64 with hardware
checksums.

Revision 1.26 / (download) - annotate - [select for diffs], Fri May 13 06:36:22 2005 UTC (18 years, 11 months ago) by wiz
Branch: MAIN
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

Fix typo reported by Brad at comstyle com.

Revision 1.25 / (download) - annotate - [select for diffs], Mon May 2 15:34:32 2005 UTC (18 years, 11 months ago) by yamt
Branch: MAIN
Changes since 1.24: +6 -4 lines
Diff to previous 1.24 (colored)

split IFCAP_CSUM_xxx to IFCAP_CSUM_xxx_Rx and IFCAP_CSUM_xxx_Tx.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Feb 27 00:27:33 2005 UTC (19 years, 1 month ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, kent-audio2-base
Branch point for: netbsd-3
Changes since 1.23: +24 -24 lines
Diff to previous 1.23 (colored)

nuke trailing whitespace

Revision 1.23 / (download) - annotate - [select for diffs], Sun Feb 20 15:56:03 2005 UTC (19 years, 2 months ago) by jdolecek
Branch: MAIN
Changes since 1.22: +7 -17 lines
Diff to previous 1.22 (colored)

use VLAN_* macros for VLAN tag extraction/addition

Revision 1.22 / (download) - annotate - [select for diffs], Sat Oct 30 18:09:22 2004 UTC (19 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.21: +4 -3 lines
Diff to previous 1.21 (colored)

When adding/deleting multicast addresses, only whack the address
filter if the interface is marked RUNNING.

Fixes kern/27678.

Revision 1.21 / (download) - annotate - [select for diffs], Sat Oct 2 21:20:12 2004 UTC (19 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

Fix typo reported by Alexander Yurchenko in private mail.

Revision 1.20 / (download) - annotate - [select for diffs], Sat Aug 21 22:48:18 2004 UTC (19 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.19: +56 -56 lines
Diff to previous 1.19 (colored)

Use ANSI function decls and make use of static.

Revision 1.19 / (download) - annotate - [select for diffs], Sat Mar 1 19:49:45 2003 UTC (21 years, 1 month ago) by mjacob
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0
Branch point for: netbsd-2, ktrace-lwp
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

Argh. Commited the wrong file.

Revision 1.18 / (download) - annotate - [select for diffs], Sat Mar 1 19:30:30 2003 UTC (21 years, 1 month ago) by mjacob
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

Fix RFD_TCI macro.

Revision 1.17 / (download) - annotate - [select for diffs], Mon Feb 10 21:10:06 2003 UTC (21 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.16: +11 -11 lines
Diff to previous 1.16 (colored)

Centralize the interrupt bits for the 3 registers where they are being used.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Feb 10 17:18:33 2003 UTC (21 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.15: +8 -8 lines
Diff to previous 1.15 (colored)

make this compile again.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Feb 10 09:00:38 2003 UTC (21 years, 2 months ago) by mjacob
Branch: MAIN
Changes since 1.14: +94 -22 lines
Diff to previous 1.14 (colored)

Add in h/w VLAN tag support.

Put in code that, if enabled, makes *my* copper Sundance TI cards work-
promiscuous mode is needed for this for now. The default is to have this
off until I or somebody figures out what is broken- I think it's stuff
with the Marvell PHY.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Dec 23 02:58:37 2002 UTC (21 years, 4 months ago) by tsutsui
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Changes since 1.13: +7 -5 lines
Diff to previous 1.13 (colored)

Replace magic numbers for power management control with PCI_PMCSR* macros.

XXX Should we use pci_get_powerstate() and pci_set_powerstate() in pci.c?

Revision 1.13 / (download) - annotate - [select for diffs], Mon Oct 21 23:38:11 2002 UTC (21 years, 6 months ago) by fair
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

Change the "dontcare bits" argument to ifmedia_init() to IFM_IMASK
so that it is possible select PHY instances other than the first
one (instance zero), if there is more than one PHY attached.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Oct 2 16:51:31 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-base
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

Add trailing ; to CFATTACH_DECL.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Sep 30 20:37:38 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.10: +4 -5 lines
Diff to previous 1.10 (colored)

Use CFATTACH_DECL().

Revision 1.10 / (download) - annotate - [select for diffs], Fri Sep 27 20:40:18 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

Declare all cfattach structures const.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Nov 13 07:48:44 2001 UTC (22 years, 5 months ago) by lukem
Branch: MAIN
CVS Tags: newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, ifpoll-base, gehenna-devsw-base, gehenna-devsw, eeh-devprop-base, eeh-devprop
Changes since 1.8: +4 -1 lines
Diff to previous 1.8 (colored)

add RCSID

Revision 1.8 / (download) - annotate - [select for diffs], Wed Oct 10 03:41:24 2001 UTC (22 years, 6 months ago) by mjacob
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

The flow control registers are 16 bits wide, not 32.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Oct 6 00:14:59 2001 UTC (22 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

Create the Tx DMA maps with a size large enough for a jumbo Ethernet
frame.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Jul 30 20:12:10 2001 UTC (22 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-devvp-base2, thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-devvp, nathanw_sa, kqueue
Changes since 1.5: +5 -3 lines
Diff to previous 1.5 (colored)

Oops, make Rx interrupt deferral actually work.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Jul 27 22:46:20 2001 UTC (22 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.4: +7 -3 lines
Diff to previous 1.4 (colored)

Tell the MII layer to advertise PAUSE capability, and configure
the chip's PAUSE threshold.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Jul 25 15:44:48 2001 UTC (22 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Jumbo frames do not currently work (chip goes catatonic -- silicon bug?),
so don't set the capability.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Jul 25 01:48:14 2001 UTC (22 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.2: +4 -1 lines
Diff to previous 1.2 (colored)

Match the Antares Gigabit Ethernet.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Jul 25 00:12:33 2001 UTC (22 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.1: +1 -2 lines
Diff to previous 1.1 (colored)

Remove a debugging #define.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Jul 25 00:11:51 2001 UTC (22 years, 8 months ago) by thorpej
Branch: MAIN

Driver for the Sundance Tech./Tamarack TC9021 Gigabit Ethernet
controller.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>