Commit Graph

53692 Commits

Author SHA1 Message Date
joe
8f40e5815a Build picobsd object files in /usr/obj/picobsd/${TYPE}. 2000-11-02 13:38:10 +00:00
hosokawa
cf899b18b1 Revert 1.574 (maybe dummy vnconfig is better)
Requested by:	jkh@FreeBSD.org
2000-11-02 13:22:25 +00:00
joe
15b3c04600 Post process the crunch1.mk file to allow make arguments to passed on
a per program basis allowing a greater control on what is built.

The buildopts file contains Makefile lines of form:

	# Anything added to OPTS is added to every build rule.
	OPTS= -DNOPAM

	# These should only be added to the build of user-ppp.
	ppp_OPTS= -DNOKLDLOAD -DNOINET6 -DNONAT -DNOATM -DNOSUID \
		-DHAVE_DES -DNORADIUS -DNOI4B -DNONETGRAPH

Really these should be added to crunch.inc, but that file is currently
optional, and if defined masks the global one.  Next step will be to move
these global settings back out into the individual builds as OPTS, and
then migrate OPTS and prog_OPTS back into the local crunch.inc file.
2000-11-02 13:16:43 +00:00
joe
f678c10b71 Remove an unneeded declaration for OBJ. 2000-11-02 12:46:02 +00:00
hosokawa
e0d5255889 Merge from RELENG_4 (1.536.2.24 to 1.536.2.25).
Ensure vn.ko is loaded.

Submitted by:	obrien@FreeBSD.org
2000-11-02 12:29:22 +00:00
kris
e3b1b326d9 More secure temporary filename. This needs to be revisited to use
mkstemp().
2000-11-02 10:14:09 +00:00
sheldonh
e6404347a4 Good-bye cruel world.
This software is obsolete, and its successor has interested parties
looking at it.  Even if nobody was looking at kgzip, this utility
still wouldn't be useful in an environment where aout kernels
are a thing of the past.

PR:		20643
Submitted by:	Peter Pentchev <roam@orbitel.bg>
2000-11-02 10:04:02 +00:00
sheldonh
137b0ec98e Disconnect kzip from the build, as it's about to enter late retirement.
PR:		20643
Submitted by:	Peter Pentchev <roam@orbitel.bg>
2000-11-02 10:00:34 +00:00
ru
b048c32327 Fixed the bug I have introduced in icmp_error() in revision 1.44.
The amount of data we copy from the original IP datagram into the
ICMP message was computed incorrectly for IP packets with payload
less than 8 bytes.
2000-11-02 09:46:23 +00:00
sheldonh
1c0ca06222 Fix cross-references which referred to xntp* instead of ntp*.
PR:		22483
Submitted by:	Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de>
2000-11-02 09:32:24 +00:00
sanpei
6909fa5f6a use ``config auto'' for COREGA Ether PCC-T 2000-11-02 06:52:37 +00:00
sanpei
52fdfd8f75 add support for 3Com 3c575TX Fast Etherlink XL.
Device information for 3C575-TX is from NetBSD,
sys/dev/cardbus/if_ex_cardbus.c file.

Reviewed by:	wpaul, imp
2000-11-02 06:49:38 +00:00
kris
72647b2f26 Don't use a trivially predictable temporary filename and keep recreating
it again and again, practically begging the Bad Man to insert his symlink
underneath it and send us down the path to oblivion.

Noticed by:	David Lary <dlary@secureworks.net>
2000-11-02 06:33:57 +00:00
marcel
004207ca85 Fix linux_ustat syscall. We only have cdevs now, so looking
for a block device isn't that useful anymore.

Reported by: Wesley Morgan <morganw@chemicals.tacorp.com>
Submitted by: gallatin
Acknowledged by: phk
2000-11-02 06:08:26 +00:00
obrien
1602110695 Sort. 2000-11-02 04:13:51 +00:00
joe
d50db8c8e8 Copy the built kernel from the right place. (Forgotten in the last
commit.)
2000-11-02 01:57:23 +00:00
msmith
8eb1ca4b00 Improve the PCI interrupt routing code. Now the process is as follows:
- Look for a hardwired interrupt in the routing table for this
   bus/device/pin (we already did this).
 - Look for another device with the same link byte which has a hardwired
   interrupt.
 - Look for a PCI device matching an entry with the same link byte
   which has already been assigned an interrupt, and use that.
 - Look for a routable interrupt listed in the "PCI only" interrupts
   field and use that.
 - Pick the first interrupt that's marked as routable and use that.
2000-11-02 00:37:45 +00:00
wpaul
a6565f648b Fix a couple of cases where I tried to release the I/O space resource twice
(once as as an I/O space resource and once as an IRQ resource). There was
a problem with this in if_rl too, which is how I found it.
2000-11-02 00:00:30 +00:00
wpaul
88a4c55306 Fix 8-bit EEPROM breakage: compare against 0x8129, not 8129. 2000-11-01 23:56:46 +00:00
gallatin
89fdf0155f Support for the linux ipc syscalls on the alpha, where each one has
its own syscall rather than going through a demux function like
linux_ipc() on i386
2000-11-01 23:17:31 +00:00
gallatin
3f807ea577 use DUMMY macro and support from linux_util.h 2000-11-01 23:13:49 +00:00
gallatin
e340707e93 Move the linux abi's alpha md files over to using David's build-time
syscall generation method
2000-11-01 23:07:25 +00:00
bmilekic
cec79b1181 Fixup some wrong statements in the new mbuf(9) man page.
Also introduce a bunch of (missed?) macros and functions.
This man page still needs a lot of work, most likely a re-ordering
of the macros/functions, and a more complete, more accurate, listing of
available routines.
A good and worthy start nonetheless.
2000-11-01 23:02:19 +00:00
gallatin
b15897b63c fix linux_termio and linux_termios structs on alpha. alpha differences
are in the termios struct (probably because linux wants to be compatible
with the osf/1 termios struct), not the termio struct.
2000-11-01 22:36:41 +00:00
phk
e12c7fd3b4 Make internal clock sourcing work right by tying the NCO to the
Xtal reference instead of the CLADI input.

In unframed E1 mode, tie SIGFRZ low so that the mysycc doesn't
get confused.

Don't mask errors with OOF.  Don't ignore OOF errors.

Stop the channel before freeing mbufs in disconnect.

I still have no T1 devices to test with, so the T1 code is non-existent.
2000-11-01 22:04:15 +00:00
jdp
4cf2616b42 At the beginning of pthread_mutex_lock(), call _thread_init() if
necessary.  This works around a bug in old versions of libgcc_r.a
which are statically linked into old executables.
2000-11-01 20:19:07 +00:00
obrien
9632a2355d The MI/MD split wasn't perfect and the MI files need hacks for the
AlphaLinux compat bits.  This will be better cleaned up soon.

Agreed to what ever was necessary by:	marcel
2000-11-01 19:48:35 +00:00
eivind
fa4da9c166 Fix overflow from jail hostname.
Bug found by:	Esa Etelavuori <eetelavu@cc.hut.fi>
2000-11-01 19:38:08 +00:00
jhb
c8b63728bb Pass in the new-bus flags to alpha_setup_intr(). 2000-11-01 18:40:42 +00:00
jhb
0d90af5b3b - Modify alpha_setup_intr() to take interrupt handler flags as an additional
argument.  These flags include INTR_FAST, INTR_MPSAFE, etc.
- Properly handle INTR_EXCL when it is passed in to allow an interrupt
  handler to claim exclusive ownership of an interrupt thread.
- Add support for psuedo-fast interrupts on the alpha.  For fast interrupts,
  we don't allocate an interrupt thread; instead, during dispatching of an
  interrupt, we run the handler directly instead of scheduling the thread
  to run.  Note that the handler is currently run without Giant and must be
  MP safe.  The only fast handler currently is for the sio driver.

Requested by:	dfr
2000-11-01 18:40:02 +00:00
wpaul
f4546b7184 Close PR #21078: the aue driver was not correctly programming the
multicast filter on the Pegasus chip. Since IPv6 depends a lot
on multicasting, this caused several failures for people trying to
use IPv6 with Pegasus USB ethernet devices.

Submitted by:	Jun Kuriyama <kuriyama@FreeBSD.org>
2000-11-01 18:26:36 +00:00
n_hibma
e6afdafd90 Metricom Ricochet GS wireless USB modems are now supported. 2000-11-01 18:03:14 +00:00
eivind
cdf6d89a60 Give vop_mmap an untimely death. The opportunity to give it a timely
death timed out in 1996.
2000-11-01 17:57:24 +00:00
n_hibma
6e33c561d6 Make the Ricochet modems work through the USB interface.
Tested by:	jim
Obtained from:	NetBSD
2000-11-01 17:35:57 +00:00
sos
c3969b6019 Update the config gathering code for both Promise & HPT 2000-11-01 17:35:44 +00:00
ume
e0849ba70e IPv6 was not work on FDDI.
Reported by:	Akihiro IIJIMA <aki@noc.titech.ac.jp>
Submitted by:	JINMEI Tatuya <jinmei@isl.rdc.toshiba.co.jp>
Reviewed by:	Akihiro IIJIMA <aki@noc.titech.ac.jp>
2000-11-01 16:57:01 +00:00
ru
a124ba6565 Wrong checksum may have been computed for certain UDP packets.
Reviewed by:	jlemon
2000-11-01 16:56:33 +00:00
obrien
f0e52bd35b Apply style(9). 2000-11-01 16:38:40 +00:00
obrien
73d533616b Minimal set of diffs from the i386 bits to the AlphaLinux.
(based on a patch to sys/i386/linux/linux_dummy.c by gallatin)
2000-11-01 16:34:16 +00:00
hm
fe6a0401f4 - correct the trace file date/time format to match reality
- add mail address of Gary Jennejohn and change mine to @freebsd.org
2000-11-01 14:55:02 +00:00
hm
1aa3e300cf Ooops, forgot to add the originator for the last FAQ entry 2000-11-01 14:08:58 +00:00
hm
64745ad589 Add entry to the FAQ 2000-11-01 14:06:46 +00:00
andreas
7d587e5f16 fixes:
a) the configured default printer entry might turn out to become a security hole
   Although lpd isn't enabled by default in FreeBSD 4 and later versions
   bad things might happen because of a simple copy and paste failure:
	- fill up root-fs, if /dev/lpt0 doesn't exist
	- fill up the spool dir (either root-fs or var-fs) if machine hadn't been
	  designed as print server
   Therefore best decision: if people want printing, then configure both
	1. /etc/rc.conf
	2. /etc/printcap
   the default entry wouldn't have served well all tastes and needs anyway...
   design of most of our config files is, to have commented out suggestions
   if a service is not active.
b) [Garance]
   fix old and wrong documentation:
	input filters are possible even if you print to a remote printer
   this makes FreeBSDs implementation of lpd currently the best without
   having to switch to port monster LPRng ...
c) fix pointer to wrong handbook section for a longer time .. so I doesn't fix the number
   I'm only referring to the printing section, otherwise this would have to be fixed several
   times, if the chapters should be reordered again ...
d) typo: chose -> choose

Submitted by:	me and some suggestions by Garance
Approved by:	Eivind and Garance A Drosihn <drosih@rpi.edu> in private e-mail
2000-11-01 13:30:24 +00:00
ru
e8b6bcf55e Wrong checksum used for certain reassembled IP packets before diverting. 2000-11-01 11:21:45 +00:00
mpp
027b98d4ce Mdoc style fixes.
PR:		docs/22445
2000-11-01 11:17:33 +00:00
toshi
077bf21652 Add BUFFALO LPC3-CLX
Submitted by:   Takashi Ikeda <ccikeda@moon.aichi-u.ac.jp>

Add TOSHIBA Ethernet Card LABCTA00A.
Submitted by:   "minoru kurata" <minoru.kurata@toshiba.co.jp>
Obtained from:	PAO3
2000-11-01 10:30:53 +00:00
rse
a3711aba31 Don't use the old URL to the GNU ftp location any more:
ftp://prep.ai.mit.edu/pub/gnu/ -> ftp://ftp.gnu.org/gnu/
2000-11-01 10:24:08 +00:00
obrien
5ee0f51352 Allow the building of the syscall bits at compile time. 2000-11-01 09:23:12 +00:00
obrien
0db42c9fb1 Need to dummy-out rt_sigreturn.
submitted by:	gallatin
2000-11-01 08:52:24 +00:00
obrien
cd8c7a49e3 Need to include sys/proc.h. 2000-11-01 08:49:48 +00:00