The NetBSD Project

CVS log for src/sys/arch/sgimips/hpc/if_sq.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / sgimips / hpc

Request diff between arbitrary revisions


Default branch: MAIN


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

s/alloted/allotted/ in comments.

Revision 1.57 / (download) - annotate - [select for diffs], Wed Dec 20 15:29:07 2023 UTC (3 months, 3 weeks ago) by thorpej
Branch: MAIN
Changes since 1.56: +2 -3 lines
Diff to previous 1.56 (colored)

Remove unnecessary <sys/malloc.h>.

Revision 1.56 / (download) - annotate - [select for diffs], Tue Dec 5 21:54:53 2023 UTC (4 months, 1 week ago) by andvar
Branch: MAIN
Changes since 1.55: +4 -4 lines
Diff to previous 1.55 (colored)

add explicit braces around SQ_DPRINTF() to fix dangling else compiler error.

fixes build with SQ_DEBUG option enabled for sgimips.

Revision 1.55 / (download) - annotate - [select for diffs], Sun Sep 18 13:23:53 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.54: +5 -16 lines
Diff to previous 1.54 (colored)

Eliminate use of IFF_OACTIVE.

Revision 1.49.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:52 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.49.2.1: +13 -11 lines
Diff to previous 1.49.2.1 (colored) to branchpoint 1.49 (colored) next main 1.50 (colored)

Merge changes from current as of 20200406

Revision 1.52.4.1 / (download) - annotate - [select for diffs], Sat Feb 29 20:18:30 2020 UTC (4 years, 1 month ago) by ad
Branch: ad-namecache
Changes since 1.52: +13 -11 lines
Diff to previous 1.52 (colored) next main 1.53 (colored)

Sync with head.

Revision 1.54 / (download) - annotate - [select for diffs], Thu Jan 30 06:25:46 2020 UTC (4 years, 2 months ago) by martin
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, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3
Changes since 1.53: +3 -3 lines
Diff to previous 1.53 (colored)

Fix typo

Revision 1.53 / (download) - annotate - [select for diffs], Wed Jan 29 05:37:08 2020 UTC (4 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.52: +13 -11 lines
Diff to previous 1.52 (colored)

Adopt <net/if_stats.h>.

Revision 1.49.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:43 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.49: +8 -8 lines
Diff to previous 1.49 (colored)

Sync with HEAD

Revision 1.52 / (download) - annotate - [select for diffs], Thu May 23 13:10:51 2019 UTC (4 years, 10 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.51: +5 -5 lines
Diff to previous 1.51 (colored)

 Whitespace fix (mainly tabify).

Revision 1.51 / (download) - annotate - [select for diffs], Thu May 23 10:57:27 2019 UTC (4 years, 10 months ago) by msaitoh
Branch: MAIN
Changes since 1.50: +4 -4 lines
Diff to previous 1.50 (colored)

-No functional change:
  - KNF
  - u_int*_t -> uint*_t.

Revision 1.50 / (download) - annotate - [select for diffs], Tue Feb 5 06:17:02 2019 UTC (5 years, 2 months ago) by msaitoh
Branch: MAIN
CVS Tags: isaki-audio2-base, isaki-audio2
Changes since 1.49: +3 -3 lines
Diff to previous 1.49 (colored)

 Remove very old IFF_NOTRAILERS flag.

Revision 1.48.14.1 / (download) - annotate - [select for diffs], Sat Jul 28 04:37:40 2018 UTC (5 years, 8 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

Sync with HEAD

Revision 1.49 / (download) - annotate - [select for diffs], Tue Jun 26 06:47:59 2018 UTC (5 years, 9 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728
Branch point for: phil-wifi
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (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.43.6.1 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:41 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.43: +8 -10 lines
Diff to previous 1.43 (colored) next main 1.44 (colored)

update from HEAD

Revision 1.43.24.4 / (download) - annotate - [select for diffs], Sun Feb 5 13:40:20 2017 UTC (7 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.43.24.3: +4 -6 lines
Diff to previous 1.43.24.3 (colored) to branchpoint 1.43 (colored) next main 1.44 (colored)

Sync with HEAD

Revision 1.46.2.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:25 2017 UTC (7 years, 3 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.46: +4 -6 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.48 / (download) - annotate - [select for diffs], Thu Dec 15 09:28:04 2016 UTC (7 years, 4 months ago) by ozaki-r
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, 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, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: pgoyette-compat
Changes since 1.47: +2 -5 lines
Diff to previous 1.47 (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.47 / (download) - annotate - [select for diffs], Thu Dec 8 01:12:00 2016 UTC (7 years, 4 months ago) by ozaki-r
Branch: MAIN
Changes since 1.46: +4 -3 lines
Diff to previous 1.46 (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.43.24.3 / (download) - annotate - [select for diffs], Sat Jul 9 20:24:55 2016 UTC (7 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.43.24.2: +3 -3 lines
Diff to previous 1.43.24.2 (colored) to branchpoint 1.43 (colored)

Sync with HEAD

Revision 1.46 / (download) - annotate - [select for diffs], Fri Jun 10 13:27:12 2016 UTC (7 years, 10 months ago) by ozaki-r
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.45: +3 -3 lines
Diff to previous 1.45 (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.43.24.2 / (download) - annotate - [select for diffs], Sat Mar 19 11:30:04 2016 UTC (8 years ago) by skrll
Branch: nick-nhusb
Changes since 1.43.24.1: +3 -3 lines
Diff to previous 1.43.24.1 (colored) to branchpoint 1.43 (colored)

Sync with HEAD

Revision 1.45 / (download) - annotate - [select for diffs], Tue Feb 9 08:32:10 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.44: +3 -3 lines
Diff to previous 1.44 (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.43.24.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:18:01 2015 UTC (9 years ago) by skrll
Branch: nick-nhusb
Changes since 1.43: +4 -4 lines
Diff to previous 1.43 (colored)

Sync with HEAD

Revision 1.44 / (download) - annotate - [select for diffs], Wed Feb 18 16:47:58 2015 UTC (9 years, 1 month ago) by macallan
Branch: MAIN
CVS Tags: nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406
Changes since 1.43: +4 -4 lines
Diff to previous 1.43 (colored)

switch sgimips to common bus_dma and bus_space in arch/mips/
Tested on O2 and Indy.
Things that are compile-tested only for lack of hardware:
- GIO ethernet cards with PCI bridges
- IP2x hardware not found on Indy
- IP1x

Revision 1.42.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:06:51 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.42: +2 -4 lines
Diff to previous 1.42 (colored) next main 1.43 (colored)

sync with head

Revision 1.42.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:33:08 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.42: +2 -4 lines
Diff to previous 1.42 (colored) next main 1.43 (colored)

merge to -current.

Revision 1.43 / (download) - annotate - [select for diffs], Thu Feb 2 19:43:00 2012 UTC (12 years, 2 months ago) by tls
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, 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, 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, khorben-n900, 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, agc-symver-base, agc-symver
Branch point for: tls-maxphys, nick-nhusb
Changes since 1.42: +2 -4 lines
Diff to previous 1.42 (colored)

Entropy-pool implementation move and cleanup.

1) Move core entropy-pool code and source/sink/sample management code
   to sys/kern from sys/dev.

2) Remove use of NRND as test for presence of entropy-pool code throughout
   source tree.

3) Remove use of RND_ENABLED in device drivers as microoptimization to
   avoid expensive operations on disabled entropy sources; make the
   rnd_add calls do this directly so all callers benefit.

4) Fix bug in recent rnd_add_data()/rnd_add_uint32() changes that might
   have lead to slight entropy overestimation for some sources.

5) Add new source types for environmental sensors, power sensors, VM
   system events, and skew between clocks, with a sample implementation
   for each.

ok releng to go in before the branch due to the difficulty of later
pullup (widespread #ifdef removal and moved files).  Tested with release
builds on amd64 and evbarm and live testing on amd64.

Revision 1.42 / (download) - annotate - [select for diffs], Fri Jul 1 18:53:47 2011 UTC (12 years, 9 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (colored)

#include <sys/bus.h> instead of <machine/bus.h>.

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:06:40 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.37: +192 -190 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

Sync with HEAD.

Revision 1.35.4.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:51:53 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.35.4.1: +193 -219 lines
Diff to previous 1.35.4.1 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored)

sync with head

Revision 1.37.4.2 / (download) - annotate - [select for diffs], Sat Mar 5 15:10:02 2011 UTC (13 years, 1 month ago) by bouyer
Branch: bouyer-quota2
Changes since 1.37.4.1: +3 -3 lines
Diff to previous 1.37.4.1 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored)

Sync with HEAD

Revision 1.41 / (download) - annotate - [select for diffs], Sun Feb 20 07:59:50 2011 UTC (13 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, jym-xensuspend-nbase, jym-xensuspend-base, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

Merge forward matt-nb5-mips64
Adapt to new interrupt/spl framework
Deal with arcbios calls being O32 and kernels being N32/N64.
Need to save/restore T8 across arcbios calls.

Revision 1.37.4.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:19:38 2011 UTC (13 years, 2 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.37: +191 -189 lines
Diff to previous 1.37 (colored)

Sync with HEAD

Revision 1.40 / (download) - annotate - [select for diffs], Tue Jan 25 13:12:39 2011 UTC (13 years, 2 months ago) by tsutsui
Branch: MAIN
CVS Tags: uebayasi-xip-base7, bouyer-quota2-base
Changes since 1.39: +153 -156 lines
Diff to previous 1.39 (colored)

KNF and misc cosmetics.

Revision 1.39 / (download) - annotate - [select for diffs], Tue Jan 25 12:43:30 2011 UTC (13 years, 2 months ago) by tsutsui
Branch: MAIN
Changes since 1.38: +33 -28 lines
Diff to previous 1.38 (colored)

Split device_t/softc. Tested on Indy.

Revision 1.38 / (download) - annotate - [select for diffs], Tue Jan 25 12:21:04 2011 UTC (13 years, 2 months ago) by tsutsui
Branch: MAIN
Changes since 1.37: +14 -14 lines
Diff to previous 1.37 (colored)

u_intNN_t -> uintNN_t

Revision 1.37 / (download) - annotate - [select for diffs], Mon Jan 10 13:29:29 2011 UTC (13 years, 3 months ago) by tsutsui
Branch: MAIN
CVS Tags: jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.36: +3 -31 lines
Diff to previous 1.36 (colored)

Use ether_aton_r() in sys/net/if_ethersubr.c instead of home grown copies.
Hint from ryo@.  Tested on IP32 mec(4).

Revision 1.33.44.2 / (download) - annotate - [select for diffs], Wed Aug 11 22:52:41 2010 UTC (13 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.33.44.1: +4 -6 lines
Diff to previous 1.33.44.1 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored)

sync with head.

Revision 1.35.4.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:06 2010 UTC (13 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.35: +4 -6 lines
Diff to previous 1.35 (colored)

sync with head

Revision 1.35.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:39:47 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.35: +4 -6 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

Sync with HEAD.

Revision 1.36 / (download) - annotate - [select for diffs], Mon Apr 5 07:19:31 2010 UTC (14 years ago) by joerg
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, matt-mips64-premerge-20101231
Changes since 1.35: +4 -6 lines
Diff to previous 1.35 (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.33.44.1 / (download) - annotate - [select for diffs], Thu Mar 11 15:02:54 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.33: +8 -15 lines
Diff to previous 1.33 (colored)

sync with head

Revision 1.35 / (download) - annotate - [select for diffs], Tue Jan 19 22:06:22 2010 UTC (14 years, 2 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.34: +4 -11 lines
Diff to previous 1.34 (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.34 / (download) - annotate - [select for diffs], Mon Dec 14 00:46:13 2009 UTC (14 years, 4 months ago) by matt
Branch: MAIN
Changes since 1.33: +6 -6 lines
Diff to previous 1.33 (colored)

Merge from matt-nb5-mips64
Merge mips-specific arch files.

Revision 1.33.62.2 / (download) - annotate - [select for diffs], Sat Sep 12 19:27:31 2009 UTC (14 years, 7 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15
Changes since 1.33.62.1: +3 -3 lines
Diff to previous 1.33.62.1 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored)

Don't cast a paddr if you don't have to.

Revision 1.33.62.1 / (download) - annotate - [select for diffs], Thu Sep 10 01:51:32 2009 UTC (14 years, 7 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.33: +5 -5 lines
Diff to previous 1.33 (colored)

Add preliminary LP64 support for sgimips

Revision 1.28.2.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:29:17 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.28.2.2: +9 -9 lines
Diff to previous 1.28.2.2 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored)

sync with head.

Revision 1.30.2.2 / (download) - annotate - [select for diffs], Mon Mar 12 05:50:11 2007 UTC (17 years, 1 month ago) by rmind
Branch: yamt-idlelwp
Changes since 1.30.2.1: +9 -9 lines
Diff to previous 1.30.2.1 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored)

Sync with HEAD.

Revision 1.33 / (download) - annotate - [select for diffs], Sun Mar 4 06:00:39 2007 UTC (17 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, ppcoea-renovation-base, ppcoea-renovation, nick-net80211-sync-base, nick-net80211-sync, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, 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-ufs-trans-base, mjf-ufs-trans, mjf-devfs2-base, mjf-devfs2, mjf-devfs-base, mjf-devfs, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u1-k1-k5, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jymxensuspend-base, jym-xensuspend, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-nfs-mp, matt-nb5-mips64
Changes since 1.32: +9 -9 lines
Diff to previous 1.32 (colored)

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

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:52:57 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-idlelwp
Changes since 1.30: +47 -11 lines
Diff to previous 1.30 (colored)

- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.28.2.2 / (download) - annotate - [select for diffs], Mon Feb 26 09:08:03 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.28.2.1: +47 -11 lines
Diff to previous 1.28.2.1 (colored) to branchpoint 1.28 (colored)

sync with head.

Revision 1.32 / (download) - annotate - [select for diffs], Tue Feb 20 16:11:38 2007 UTC (17 years, 1 month ago) by rumble
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Changes since 1.31: +24 -4 lines
Diff to previous 1.31 (colored)

Add a real probe so that we don't attach sq(4) on GIO32 SCSI adapters.

Revision 1.31 / (download) - annotate - [select for diffs], Mon Feb 19 20:14:31 2007 UTC (17 years, 1 month ago) by rumble
Branch: MAIN
Changes since 1.30: +25 -9 lines
Diff to previous 1.30 (colored)

Support the sq(4) interface on the Challenge S's IOPLUS mezzanine. This
requires us to configure the IOPLUS to use the appropriate DMA channel,
depending on what other expansion cards may be installed. Further, we need
to do a bit more configuration of the sq(4) DMA engine, which apparently
was formerly being configured properly by the PROM. Use the same values,
which appear to work fine.

Also, extend the gio_arb_config interface as needed.

NB: We're currently setting the IOPLUS board to long burst, but it may be
better to use realtime. This will require some experimentation.

Revision 1.29.20.1 / (download) - annotate - [select for diffs], Fri Jan 12 01:00:58 2007 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.29: +25 -7 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Sync with head.

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Sat Dec 30 20:46:53 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.28: +25 -7 lines
Diff to previous 1.28 (colored)

sync with head.

Revision 1.30 / (download) - annotate - [select for diffs], Fri Dec 22 08:17:14 2006 UTC (17 years, 3 months ago) by rumble
Branch: MAIN
CVS Tags: post-newlock2-merge, newlock2-nbase, newlock2-base
Branch point for: yamt-idlelwp
Changes since 1.29: +25 -7 lines
Diff to previous 1.29 (colored)

Provide attaching hpc devices with the eeprom contents, should a chip be
connected to the HPC. The only real reason for doing this is to get the
mac addresses off of E++ ethernet boards and the Challenge S IOPLUS board.
If no eeprom is present, we read in invalid data and take some default
action (query ARCBIOS).

Revision 1.29 / (download) - annotate - [select for diffs], Sun Dec 11 12:18:53 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, peter-altq-base, peter-altq, 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, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: newlock2
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

merge ktrace-lwp.

Revision 1.16.2.6 / (download) - annotate - [select for diffs], Thu Nov 10 13:58:37 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.16.2.5: +4 -4 lines
Diff to previous 1.16.2.5 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)

Sync with HEAD. Here we go again...

Revision 1.28 / (download) - annotate - [select for diffs], Fri Jun 3 18:55:12 2005 UTC (18 years, 10 months ago) by martin
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
Branch point for: yamt-lazymbuf
Changes since 1.27: +4 -4 lines
Diff to previous 1.27 (colored)

Constify

Revision 1.20.2.2 / (download) - annotate - [select for diffs], Wed Apr 6 17:16:03 2005 UTC (19 years ago) by he
Branch: netbsd-2-0
CVS Tags: netbsd-2-0-3-RELEASE
Changes since 1.20.2.1: +219 -125 lines
Diff to previous 1.20.2.1 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

Pull up revisions 1.22-1.23 (requested by rumble in ticket #1054):
  Fix the HPC1 transmit logic, which was previously very broken.

Revision 1.20.2.1 / (download) - annotate - [select for diffs], Wed Apr 6 17:12:07 2005 UTC (19 years ago) by he
Branch: netbsd-2-0
Changes since 1.20: +6 -3 lines
Diff to previous 1.20 (colored)

Pull up revision 1.21 (requested by thorpej in ticket #939):
  When adding or deleting multicast addresses, only change
  the address filter if the interface is marked RUNNING.
  Fixes PR#27678.
Dragged along for the benefit of ticket #1054 which will be committed shortly.

Revision 1.20.4.2 / (download) - annotate - [select for diffs], Wed Apr 6 15:09:46 2005 UTC (19 years ago) by he
Branch: netbsd-2
CVS Tags: netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1
Changes since 1.20.4.1: +219 -125 lines
Diff to previous 1.20.4.1 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

Pull up revisions 1.22-1.23 (requested by rumble in ticket #1054):
  Fix the HPC1 transmit logic, which was previously very broken.

Revision 1.20.4.1 / (download) - annotate - [select for diffs], Mon Jan 24 21:42:22 2005 UTC (19 years, 2 months ago) by he
Branch: netbsd-2
Changes since 1.20: +6 -3 lines
Diff to previous 1.20 (colored)

Pull up revision 1.21 (requested by thorpej in ticket #939):
  When adding or deleting multicast addresses, only change
  the address filter if the interface is marked RUNNING.
  Fixes PR#27678.

Revision 1.16.2.5 / (download) - annotate - [select for diffs], Mon Jan 17 19:30:19 2005 UTC (19 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.16.2.4: +298 -204 lines
Diff to previous 1.16.2.4 (colored) to branchpoint 1.16 (colored)

Sync with HEAD.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Dec 31 22:32:34 2004 UTC (19 years, 3 months ago) by rumble
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base, kent-audio2, kent-audio1-beforemerge
Changes since 1.26: +7 -8 lines
Diff to previous 1.26 (colored)

Do not report unexpected interrupts when not debugging. These
seem to occur fairly often under normal operation with HPC1.5.
Also, do not return if the interrupt is unexpected, but see if
there is anything to handle regardless, which appears to always
be the case with HPC1.5.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Dec 30 23:18:09 2004 UTC (19 years, 3 months ago) by rumble
Branch: MAIN
Changes since 1.25: +37 -28 lines
Diff to previous 1.25 (colored)

Prepend HPC3 macros universally with "HPC3_" to distinctly recognise
the corresponding revision and maintain consistency with HPC1.

No functional change intended.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Dec 30 02:35:42 2004 UTC (19 years, 3 months ago) by rumble
Branch: MAIN
Changes since 1.24: +1 -1 lines
Diff to previous 1.24 (colored)

Remove a few HPC1 register definitions for ones that don't exist.

Also, HPC1_ENET_INTDELAYVAL isn't a magic number. It turns the
interrupt delay off (by being the timer trigger bit), so name it
more appropriately.

Revision 1.24 / (download) - annotate - [select for diffs], Thu Dec 30 02:26:20 2004 UTC (19 years, 3 months ago) by rumble
Branch: MAIN
Changes since 1.23: +79 -87 lines
Diff to previous 1.23 (colored)

Wrap seeq and hpc register reads and writes in macros for
readability. While here, engage in some KNF and 80-column policing.
No functional changes intended.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Dec 29 06:57:52 2004 UTC (19 years, 3 months ago) by rumble
Branch: MAIN
Changes since 1.22: +180 -70 lines
Diff to previous 1.22 (colored)

Fix the HPC1 transmit logic, which was previously very broken.

HPC1 does not mark transmitted descriptors like HPC3. We must
query the HPC1 chip to determine what it expects the next
descriptor to be, reclaim used ones, and restart if necessary. Each
revision's corresponding logic now lives in its own
sq_txring_hpc{1,3} function.

HPC1's transmit interrupt conditions also differ from HPC3, so
remove the INTR bits from descriptors when tagging new packets on
to the end of the chain in order to avoid unwanted interrupts.

Also, be extra careful when restarting the transmit ring. Since
transmit interrupts seem to be relatively slow on HPC1, sq_start
may be called while the DMA engine is quiescent, and before a
transmit interrupt is asserted. We cannot behave like HPC3, which
begins transmission from the first packet pulled from IFQ if the
DMA engine is quiescent as this would skip enqueued packets. It
appears that sq_start is never called before HPC3 asserts an
interrupt, which restarts the transmit queue at the appropriate
place. However, this often happens with HPC1 and we cannot assume
that if DMA is inactive in sq_start, then all previously queued
packets have fled the coop.
XXX Is there a similar race possible with HPC3?

HPC3 logic should remain functionally unchanged, and HPC1 should
finally work properly.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Dec 29 02:11:31 2004 UTC (19 years, 3 months ago) by rumble
Branch: MAIN
Changes since 1.21: +40 -56 lines
Diff to previous 1.21 (colored)

Remove the static sq_trace array and make it per-device as
multiple seeq interfaces may exist. While here, add a few trace
actions, move the related macros into sqvar.h, and enhance the
sq_trace_dump output a bit.

Revision 1.16.2.4 / (download) - annotate - [select for diffs], Tue Nov 2 07:50:47 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.16.2.3: +6 -3 lines
Diff to previous 1.16.2.3 (colored) to branchpoint 1.16 (colored)

Sync with HEAD.

Revision 1.21 / (download) - annotate - [select for diffs], Sat Oct 30 18:08:35 2004 UTC (19 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: kent-audio1-base, kent-audio1
Changes since 1.20: +6 -3 lines
Diff to previous 1.20 (colored)

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

Fixes kern/27678.

Revision 1.16.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:21:19 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.16.2.2: +2 -2 lines
Diff to previous 1.16.2.2 (colored) to branchpoint 1.16 (colored)

Fix the sync with head I botched.

Revision 1.16.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:39:48 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.16.2.1: +0 -0 lines
Diff to previous 1.16.2.1 (colored) to branchpoint 1.16 (colored)

Sync with HEAD.

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:40:06 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.16: +167 -70 lines
Diff to previous 1.16 (colored)

Sync with HEAD

Revision 1.20 / (download) - annotate - [select for diffs], Tue Dec 30 23:48:07 2003 UTC (20 years, 3 months ago) by sekiya
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-2-RELEASE, netbsd-2-0-1-RELEASE
Branch point for: netbsd-2-0, netbsd-2
Changes since 1.19: +161 -69 lines
Diff to previous 1.19 (colored)

Adapt if_sq to HPC abstraction layer.  It took both Steve Rumble and myself
to untangle the unhappiness that arises from the design differences between
HPC1 and HPC3.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Oct 30 23:05:56 2003 UTC (20 years, 5 months ago) by matt
Branch: MAIN
Changes since 1.18: +5 -3 lines
Diff to previous 1.18 (colored)

Fix another lasttx uninitialized variable

Revision 1.18 / (download) - annotate - [select for diffs], Sat Oct 4 09:19:23 2003 UTC (20 years, 6 months ago) by tsutsui
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

TAB/space cleanup.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Jul 15 03:35:53 2003 UTC (20 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.16: +4 -1 lines
Diff to previous 1.16 (colored)

__KERNEL_RCSID()

Revision 1.11.4.1 / (download) - annotate - [select for diffs], Mon Jan 27 05:34:52 2003 UTC (21 years, 2 months ago) by jmc
Branch: netbsd-1-6
CVS Tags: 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
Changes since 1.11: +24 -16 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

Pullup revisions 1.15-1.16 via hand patch (requested by bouyer in ticket #1097)
 When padding frames smaller than ethernet minimum size, make sure
 we supply a buffer long enouth, with the padding bytes initialised.
 Also pad to ETHER_MIN_LEN - ETHER_CRC_LEN, not ETHER_MIN_LEN
 (padded frames were 4 bytes too long).

Revision 1.7.8.7 / (download) - annotate - [select for diffs], Wed Jan 15 18:22:30 2003 UTC (21 years, 3 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.7.8.6: +24 -16 lines
Diff to previous 1.7.8.6 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

Sync with HEAD.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Jan 13 17:13:10 2003 UTC (21 years, 3 months ago) by bouyer
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base
Branch point for: ktrace-lwp
Changes since 1.15: +24 -16 lines
Diff to previous 1.15 (colored)

When padding frames smaller than ethernet minimum size, make sure we supply
a buffer long enouth, with the padding bytes initialised.
Also pad to ETHER_MIN_LEN - ETHER_CRC_LEN, not ETHER_MIN_LEN (padded frames
were 4 bytes too long).

Revision 1.7.8.6 / (download) - annotate - [select for diffs], Mon Nov 11 22:03:52 2002 UTC (21 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.7.8.5: +2 -2 lines
Diff to previous 1.7.8.5 (colored) to branchpoint 1.7 (colored)

Catch up to -current

Revision 1.15 / (download) - annotate - [select for diffs], Sat Nov 9 18:53:25 2002 UTC (21 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

Fix signed/unsigned comparison warnings.

Revision 1.7.8.5 / (download) - annotate - [select for diffs], Fri Oct 18 02:39:41 2002 UTC (21 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.7.8.4: +4 -5 lines
Diff to previous 1.7.8.4 (colored) to branchpoint 1.7 (colored)

Catch up to -current.

Revision 1.7.2.4 / (download) - annotate - [select for diffs], Thu Oct 10 18:35:39 2002 UTC (21 years, 6 months ago) by jdolecek
Branch: kqueue
Changes since 1.7.2.3: +4 -5 lines
Diff to previous 1.7.2.3 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.14 / (download) - annotate - [select for diffs], Wed Oct 2 04:09:15 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge
Changes since 1.13: +3 -4 lines
Diff to previous 1.13 (colored)

Use CFATTACH_DECL().

Revision 1.13 / (download) - annotate - [select for diffs], Fri Sep 27 20:35:19 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Declare all cfattach structures const.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Sep 27 02:24:22 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

Rather than referencing the cfdriver directly in the cfdata entries,
instead use a string naming the driver.  The cfdriver is then looked
up in a list which is built at run-time.

Revision 1.7.2.3 / (download) - annotate - [select for diffs], Sun Jun 23 17:40:28 2002 UTC (21 years, 9 months ago) by jdolecek
Branch: kqueue
Changes since 1.7.2.2: +9 -1 lines
Diff to previous 1.7.2.2 (colored) to branchpoint 1.7 (colored)

catch up with -current on kqueue branch

Revision 1.7.8.4 / (download) - annotate - [select for diffs], Thu Jun 20 03:40:48 2002 UTC (21 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.7.8.3: +9 -1 lines
Diff to previous 1.7.8.3 (colored) to branchpoint 1.7 (colored)

Catch up to -current.

Revision 1.11 / (download) - annotate - [select for diffs], Thu May 2 20:31:19 2002 UTC (21 years, 11 months ago) by rafal
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, gehenna-devsw-base, gehenna-devsw
Branch point for: netbsd-1-6
Changes since 1.10: +9 -1 lines
Diff to previous 1.10 (colored)

Add interrupt counter for Seeq interrupts; also, make sure to reset back to
"recieve only my frames & broadcasts" and clear the ALLMULTI flag if we have
no multicast addresses in our list.

Revision 1.7.8.3 / (download) - annotate - [select for diffs], Mon Apr 1 07:42:23 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.7.8.2: +159 -153 lines
Diff to previous 1.7.8.2 (colored) to branchpoint 1.7 (colored)

Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.7.2.2 / (download) - annotate - [select for diffs], Sat Mar 16 15:59:29 2002 UTC (22 years, 1 month ago) by jdolecek
Branch: kqueue
Changes since 1.7.2.1: +159 -153 lines
Diff to previous 1.7.2.1 (colored) to branchpoint 1.7 (colored)

Catch up with -current.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Mar 13 13:12:27 2002 UTC (22 years, 1 month ago) by simonb
Branch: MAIN
CVS Tags: eeh-devprop-base, eeh-devprop
Changes since 1.9: +159 -153 lines
Diff to previous 1.9 (colored)

Replace lots of 8x<space> with <tabs> and other miscellaneous indentation
fixes.
Wrap a couple of long lines.
Use <return-type>\n<function name> as per KNF in a few places.

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Thu Jan 10 19:48:26 2002 UTC (22 years, 3 months ago) by thorpej
Branch: kqueue
Changes since 1.7: +23 -24 lines
Diff to previous 1.7 (colored)

Sync kqueue branch with -current.

Revision 1.7.8.2 / (download) - annotate - [select for diffs], Tue Jan 8 00:27:28 2002 UTC (22 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.7.8.1: +1100 -0 lines
Diff to previous 1.7.8.1 (colored) to branchpoint 1.7 (colored)

Catch up to -current.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Nov 20 16:10:49 2001 UTC (22 years, 5 months ago) by rafal
Branch: MAIN
CVS Tags: newlock-base, newlock, ifpoll-base
Changes since 1.8: +8 -12 lines
Diff to previous 1.8 (colored)

Post Jason's autoconfig cleanup, the DMA tags are actually passed in from
the parent, so we don't need to look at the innards of bus_dma anymore.
Also, remove the Todo item pertaining to autoconfig cleanup from the list
in the comments.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Nov 18 08:16:16 2001 UTC (22 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.7: +16 -13 lines
Diff to previous 1.7 (colored)

* Clean up HPC autoconfiguration a little.  Pass device register and
  DMA register offsets, as well as IRQ, to children.  Use direct
  config.  Use machine type/subtype to determine which devices are
  present.
* Add support for the second SCSI controller on the Indigo2.

Revision 1.7.8.1, Sun Jul 8 21:04:51 2001 UTC (22 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.7: +0 -1101 lines
FILE REMOVED

file if_sq.c was added on branch nathanw_sa on 2002-01-08 00:27:28 +0000

Revision 1.7 / (download) - annotate - [select for diffs], Sun Jul 8 21:04:51 2001 UTC (22 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: nathanw_sa, kqueue
Changes since 1.6: +6 -6 lines
Diff to previous 1.6 (colored)

bcopy -> memcpy, bzero -> memset

Revision 1.6 / (download) - annotate - [select for diffs], Sun Jul 8 20:57:34 2001 UTC (22 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.5: +17 -29 lines
Diff to previous 1.5 (colored)

- If the multicast address list changes, make sure to kick the chip.
- Remove unnecessary includes.
- Slight cosmetic change in sq_start().

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

Use sys/dev/arcbios.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Jun 8 14:32:05 2001 UTC (22 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.3: +5 -2 lines
Diff to previous 1.3 (colored)

Make sure to always re-sync the rx buffer dmamap if recycling the
rx buffer.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Jun 7 23:05:51 2001 UTC (22 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.2: +77 -15 lines
Diff to previous 1.2 (colored)

- Differentiate beteen the 8003 and 80c03 (the 80c03 has some additional
  features).
- Implement crude multicast support -- enable reception of all multicast
  frames if we have any addresses on the multicast list.  TODO: use the
  64-bit hash table on the 80c03.
- Implement promiscuous mode.

IPv6 doesn't quite work yet -- DAD finds a duplicate for the
link-local.  The 8003 hears its own transmissions, but IFF_SIMPLEX
is not set, so I'm a little confused.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Jun 7 12:20:42 2001 UTC (22 years, 10 months ago) by rafal
Branch: MAIN
Changes since 1.1: +32 -24 lines
Diff to previous 1.1 (colored)

Fix a deadlock in the tx code -- the code checked the DMA status before
sync'ing the descriptor, leading to a race where the packet could complete
after the DMA check but before the sync of the descriptor, sending the code
into unknown territory and the DMA engine into space.  Also, fix a bug with
spurious watchdog resets going off due to the if_timer not always being set
on transmit.

Finally, clean up use of hardcoded magic numbers, get them from hpcreg.h
when possible.

Revision 1.1 / (download) - annotate - [select for diffs], Fri May 11 03:22:21 2001 UTC (22 years, 11 months ago) by thorpej
Branch: MAIN

Support for the Seeq 8003 Ethernet attached to the HPC ASIC,
found on Indigo2 and Indy.

From Rafal K. Boni.

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>