Commit Graph

96613 Commits

Author SHA1 Message Date
martin d1a8d9aaa3 Sync layer 3 B-channel accounting with layer 2.
Sprinkle some update_controller_leds() calls to places that change this
state.
2002-05-02 18:56:55 +00:00
wiz 851d26f9a9 Make sure the machine symlink is there in the dependall step. 2002-05-02 18:54:32 +00:00
wiz aa4109feb4 Add machine symlink to CLEANFILES. 2002-05-02 18:35:02 +00:00
bjh21 f1c9ecc81e When doing a shell "for" loop over a potentially-empty list, assign the list
to a shell variable and iterate over that.  This is necessary for some POSIX
shells.
2002-05-02 18:32:45 +00:00
wiz 8015e58333 Since loadfile_machdep.h isn't installed anymore, link the mmeye include
directory into ${.OBJDIR} and find the header file there.
2002-05-02 18:30:46 +00:00
lukem 4aee7e7738 Infrastructure to build a set of "rescue" tools; a crunched-up version
of all the statically linked binaries in /bin, /sbin and the few in /usr/bin.

This isn't built nor installed yet.
2002-05-02 18:20:58 +00:00
lukem ed8e534c7e yet another distrib overhaul:
- move guts of distrib/Makefile.inc to distrib/common/Makefile.distrib
  (fixes problem caused by implicit include of ../Makefile.inc in certain
  submake conditions triggered by makefiles not yet in tree)
- removed mkdir of ${RELEASEDIR}/*;  rely upon "snap_pre" target of
  etc/Makefile to create all the release directories
- renamed RELINSTALL to RELEASE_INSTALL
- renamed FLOPPYINSTDIR to FLOPPY_RELEASEDIR
- renamed MDSETDIR to MDSET_RELEASEDIR
- removed ITARGET
- move release target from top level to appropriate subdirectory
- ensure release target has correct depends
- replace miniroot's IMAGE_MD_POST with common/Makefile.image IMAGEPOSTBUILD
- Makefile.image: add realall: ${IMAGE}
2002-05-02 18:02:14 +00:00
rafal e65d64e370 Since we don't have code to drive the L2 cache on R4600/R5k processors,
disable the L2 cache so at least things work (albeit more slowly) on
the SC versions of those chips.  Tested on a R4600 Indy and a R4400
Challenge S.
2002-05-02 18:00:40 +00:00
thorpej 7a49fee765 Add some experimental page-loaning for writes on sockets. It is disabled
by default, and can be enabled by adding the SOSEND_LOAN option to your
kernel config.  The SOSEND_COUNTERS option can be used to provide some
instrumentation.

Use of this option, combined with an application that does large enough
writes, gets us zero-copy on the TCP and UDP transmit path.
2002-05-02 17:55:48 +00:00
lukem f9a00fe84c don't descend into utils as it's not necessary with recent crunchgens 2002-05-02 17:44:32 +00:00
martti dc57912eac This is in /sys/netinet 2002-05-02 17:27:25 +00:00
wiz f7a47b635a Remove #ifdef RC7500 defines. 2002-05-02 17:25:31 +00:00
manu 494d226a5d Added GETSHMASK command to prctl(). This is incomplete, we do not really
keep track of the shmask yet. (It could go in p->p_emuldata)
2002-05-02 17:17:29 +00:00
martti 6f5d858e4b Fix compilation problems 2002-05-02 17:13:27 +00:00
martti e74092de02 Upgraded IPFilter to 3.4.27 2002-05-02 17:11:37 +00:00
wiz bf527580b7 Remove previously empty /usr/share/man/{cat,html,man}9/arm32. 2002-05-02 17:03:57 +00:00
martti 0071d2a114 Import IPFilter 3.4.27 2002-05-02 16:51:52 +00:00
thorpej efb8222642 Fix error reporting in the bus_dmamap_load_mbuf() routines. 2002-05-02 16:50:39 +00:00
martti d02c43db4c Import IPFilter 3.4.27 2002-05-02 16:48:42 +00:00
kleink ba482b3950 * On the 601, obliterate all BAT entries when returning from kernel to
userlevel; this is necessary due to the 601, unlike other 6xx, having
  no concept of separated Valid_user vs. Valid_supervisor for BATs.
* When crossing the kernel/userlevel boundary, have platform-provided
  hooks set up the two fixed BAT entries, and possibly additional
  segment registers to redeem the 601's BAT limitations.

Both of the above are only built if the $MACHINE provides these hooks,
sparing others the pain.
2002-05-02 16:47:49 +00:00
martti 48e5349fdc Import IPFilter 3.4.27 2002-05-02 16:47:12 +00:00
wiz 15d53d85be ${MACHINE_ARCH} != "arm32" is always true now, so remove it from an if. 2002-05-02 16:42:53 +00:00
uch eb330e618b add Jornada680/690 US-keymap. patch by uwe. 2002-05-02 16:38:02 +00:00
bjh21 f44c794643 Use printf rather than echo -n, since the former works on all POSIX systems. 2002-05-02 16:36:21 +00:00
uch 4499275017 remove obsolete header file (shbvar.h) 2002-05-02 16:34:57 +00:00
thorpej 84fbb01984 Fix a comment. 2002-05-02 16:34:47 +00:00
thorpej c115365b50 * Deal with errata on the i82542 and i82543 chips: The size of the
transmit and receive descriptor rings is limited to 256 descriptors.
  So, set the if_snd queue length to 256 to let the upper layers queue
  lots of packets, and let the driver handle up to 32 of them at a time.
  (We should probably make this change to most Ethernet drivers, since
  it actually saves some resources.)
* Increase the number of Tx DMA segments from 8 to 16.
* Clean up the way we count "how many times did I get a packet with N
  DMA segments".
* Add a missing htole32() in wm_tx_cksum().
* Don't set both RS and RPS in the last Tx descriptor of a packet; just
  use RS.
* Add some more information to the watchdog message.
2002-05-02 16:33:27 +00:00
briggs cf294f8f84 Ensure that b_bufsize is set to a range covering the buffer in vndstrategy().
This addresses kern/16570 where using the raw vnd device with a file backed by
NFS was failing due to bp->b_bufsize being 0.
2002-05-02 16:25:23 +00:00
wiz 56b4d2cb0c Move code that tries to determine shlib major into MKPIC != "no" case. 2002-05-02 16:24:24 +00:00
thorpej b094ff415f Change the semantics of mbuf external storage "ext_free" routines
so that they're more useful for arbitrary types of external storage:

* Add an "mbuf *" argument to (*ext_free)().  If non-NULL, (*ext_free)()
  is expected to free the mbuf itself.  This allows (*ext_free)() to use
  the mbuf for bookkeeping (e.g. deferring the work to a helper thread).
  If the "mbuf *" argument is NULL, we are assumed to be in a context
  which is safe for performing the destructor operation *now*.
* Adjust MEXTREMOVE() and MFREE() routines for above change.
* Update "ade" and "ti" drivers for new semantics.
2002-05-02 16:22:43 +00:00
thorpej 74e2ee8d5c Define __NO_STRICT_ALIGNMENT. 2002-05-02 16:11:28 +00:00
wiz b0435b05cd According to thorpej, only x86_64 doesn't provide lint files now.
Remove corresponding conditionals for sparc64, m68000, and sh3, and
add one for x86_64.
2002-05-02 15:59:10 +00:00
wiz a18665cae6 Fix up set lists for three of the four sh3 ports a bit.
XXX: Still wrong because of some missing toolchain stuff (gdb),
     and crt{begin,end}S.o.
XXX: mmeye didn't build for me, will investigate
2002-05-02 15:42:18 +00:00
wiz 19d13be4d9 Add /usr/include/dev/sun/sun_boot.h. 2002-05-02 15:39:45 +00:00
lukem 4ed3791a7a remove unused installation/tapeimage 2002-05-02 15:38:07 +00:00
nonaka ed9081de2a Added IBM Personal Power Series 830 IDE controller support. 2002-05-02 15:17:56 +00:00
lukem 2d1f93d643 - consistency cleanup
- ensure INSTALLATION_DIRS contains the appropriate extra directories
  for a given platform
2002-05-02 15:09:40 +00:00
nonaka 2ff13751ce Use PLATFORM_* 2002-05-02 14:58:36 +00:00
nonaka b9fc6ff617 rename reset_ibm_generic() -> reset_prep_generic(). 2002-05-02 14:48:27 +00:00
nonaka b5a1a9284b Added dump residual data routine. 2002-05-02 14:44:17 +00:00
nonaka 925a022a1d use ext_intr_ivr, too. 2002-05-02 14:38:41 +00:00
nonaka c79479ac8d Added dump residual data routine. 2002-05-02 14:36:42 +00:00
wiz 228a27c192 Really fix -P.
Fixes regression failure, and thus my PR #16225.
2002-05-02 14:24:06 +00:00
fredb 01a5ccb4aa Document a couple of missing "set" options, mostly borrowing language
from vi.ref, and explain how to set "escapetime" to work-around the problem
described in PR 8277. This should close PR 8277.
2002-05-02 14:20:01 +00:00
simonb 89abf2a631 Use termcap.src (instead of non-existant termcap.mini).
Change image depends from uboot.lif to boot and bootxx_ffs.
2002-05-02 14:16:02 +00:00
simonb bb1d4e3c14 Copy the .../pmax/instkernel/list changes for "MTREE . type=dir" and
copying the kernel from the OBJDIR.
2002-05-02 14:12:40 +00:00
enami fda111a632 remove an unnecessary white space before the fuction call operator. 2002-05-02 13:59:25 +00:00
lukem 6206a1d7eb remove commented out debug printf() accidentally committed in the last rev.
noted by YAMAMOTO Takashi<yamt@mwd.biglobe.ne.jp> in private email.
2002-05-02 13:53:10 +00:00
wiz a4828c12b3 Fix segfaults when last argument does not exist as suggested in bin/16565
by Ryan Younce.
2002-05-02 13:43:29 +00:00
wiz 66af1d24fd ANSIfy, KNF, WARNS=2. 2002-05-02 13:40:49 +00:00