Commit Graph

47609 Commits

Author SHA1 Message Date
obrien
50b710fb89 Import the Sparc bits of GNU binutils 2.9.1.
Requested by:	steve
2000-04-05 04:09:32 +00:00
cg
3a6463a95b decrease buffer size to 4k
use a seperate channel for generating irqs so we get a buffer-half-empty
interrupt, prevents repeating on underflow
2000-04-05 02:14:26 +00:00
brian
85b9c1f90b Always give mktime a timeval with tm_isdst set to -1, otherwise
things get a bit out-of-phase when we step backwards 1 hour from
between 0:00 and 1:00 on the first of the month following the
transition into Summer time.  This is probably actually a bug
in mktime().

PR:	10963

If mktime() fails and 68 < year < 138, assume that the reason is
because of Summer time and adjust up or down according to our
adjusting context by one hour.  This assumes that all DSTs are
multiples of 1 hour.

PR:	6223, 17750
2000-04-05 01:59:36 +00:00
cg
a00d5b661c allow /dev/dsp to be opened seperately for reading and writing. 2000-04-05 01:13:42 +00:00
cg
02dcd03a45 try increasing 2ndbuffer size to 64k 2000-04-05 00:56:02 +00:00
cg
322951289b move buffer size definition to .c file for consistency, and reduce it to 4k 2000-04-05 00:38:00 +00:00
n_hibma
374f865285 Add automatic rescan on connect. This happens already if the drive is
connected during boot and the vpo module is in the kernel/loaded.

In the case where the module is loaded at some later stage with kldload,
the CAM bus is now rescanned as well.
2000-04-04 22:15:13 +00:00
msmith
9942d38efa Fix _zget() so that it checks the return from kmem_alloc(), to avoid
zttempting to bzero NULL when the kernel map fills up.  _zget() will
now return NULL as it seems it was originally intended to do.
2000-04-04 21:00:39 +00:00
imp
96e6d0e350 Add information about the dangarous apollo MPV3 chipset. Several
people have suggested the workaround to me (use only PIO mode) and
I've not seend a message saying ths was fixed.  I'll removed the bold
warning stars after the issue is corrected.
2000-04-04 17:14:18 +00:00
roger
706cea8eeb Upgrade the bktr driver from 2.07 to 2.10.
- The driver now uses bus_space() and runs on NetBSD 1.4.2
   Submitted by Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>

 - Remove startup quirks for video and vbi capture for PAL users.
   PAL TV users can now run FXTV and Alevt in any order.

 - Add support for cable channels >100
   Submitted by Scott Presnell <srp@zgi.com>

 - New MSP3410/3415 setup code added. This is experimental.
   Please set the sysctl hw.bt848.slow_msp_audio to 1 for this.
   Submitted by Frank Nobis<fn@radio-do.de>
2000-04-04 16:54:13 +00:00
roger
8123ede1fe Add multiple #include protection
Submitted by:	 Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>
2000-04-04 16:46:19 +00:00
sheldonh
9e6ba208ab Whitespace change:
Remove single-space hard sentence break introduced in the previous
commit.

Reviewed by:	jmb
2000-04-04 15:32:37 +00:00
bde
977296812a Fixed prototype for setflags(). setflags() returns int, not u_long,
and "extern" in function prototypes is a style bug.  The type mismatch
broke chflags(1) on i386's with 64-bit longs and may have broken it on
alphas.
2000-04-04 14:12:35 +00:00
hm
3ba359e7df Remove obsolete reference to PCVT_FREEBSD. 2000-04-04 13:14:43 +00:00
gj
f9d6885bc6 Add a '+' to the first LDADD, otherwise it clobbers the LDADD in
Makefile.alpha such that the -lkvm disappears and the link fails.

This time I tested it, honest :)
2000-04-04 11:12:55 +00:00
obrien
45392a5096 Add an example of how to tweak CXXFLAGS in a make.conf file.
This is in responce to several people breaking their world builds by
incorrectly assigning to CXXFLAGS.
2000-04-04 09:27:59 +00:00
gj
8efc52e239 Pass me the pointy hat.
It was not a good idea to remove csu_header from struct cspace, it had
ramifications which I didn't notice.

Restore src/usr.sbin/ppp/slcompress.h to the way it was, since MAX_HDR
was already defined as 128 there and it's a user program anyway.

In sys/net/slcompress.h make MAX_HDR 128 intead of MLEN to avoid
bloat.

My apologies for any inconvenience.
2000-04-04 09:20:53 +00:00
hm
aef627d63f - implement logfile archivation to a separate, user
configurable directory
- implement alternate and more flexible way to specify
  logfile rotation time in addition to the ISO 8601
  restricted format
- cleanup the source which was a mix of several styles
  of persons who maintained it so far, ran through
  knfom script got from bde.

Reviewed by: (in part) sheldonh and garyj
2000-04-04 08:50:01 +00:00
hm
b5fa5b4499 Run newsyslog source through knfom script obtained from Bruce Evans.
Joerg Wunsch suggested to do this to make the functional changes in
the next commit to newsyslog (which were run through the same script)
better visible.
2000-04-04 08:38:30 +00:00
dfr
6a102882fb Allow MAXDEP dependants, not MAXDEP-1. 2000-04-04 07:48:04 +00:00
kris
4d1e096b22 Add libcrypto to LDADD. This fixes problems seen with e.g. apache-modssl
Submitted by:	Jim Bloom <bloom@acm.org>
2000-04-04 07:31:01 +00:00
ps
4cd167b447 Add a missing PXE API call and structure. 2000-04-04 07:28:54 +00:00
dmlb
03f70e94d0 Fix mbuf leaking - duh! 2000-04-04 06:43:30 +00:00
imp
7a4fd4ca06 Fix pcic_detach_socket to get right pcic_handle.
Pass sc->dev rather than a bogusly cast pccard_softc *sc.

This allows us to insert and remove cards w/o panicing the kernel.
However, the cis isn't mapped in, so the pccard_scan_cis function
fails.
2000-04-04 04:12:43 +00:00
imp
36139fd680 Be consistant about using the right child to get the ivars, which is
the pcic_handle structure for the socket.
2000-04-04 03:47:51 +00:00
cg
d25cb7f31b enable emu10k1 (sblive) driver, though still playback only 2000-04-04 02:34:45 +00:00
cg
21caf00783 make the click on starting output go away 2000-04-04 02:16:15 +00:00
ps
0ddd73d45f Add all the PXE related structures from the 2.1 PXE spec from Intel.
Fix exsisting code to match the spec.
2000-04-04 00:38:59 +00:00
n_hibma
cdf0db154e Dereference a pointer (print int instead of pointer value) 2000-04-03 22:28:13 +00:00
n_hibma
e0ba240008 Numerous fixes brought in by Lennart Augustsson from NetBSD:
- Request the maximum number of LUNs on a device if it is
  a Bulk-Only device.

- Handle NO_TEST_UNIT_READY case for SCSI

- Add NO_START_STOP quirk for LS-120

- Fix a KASSERT which was the wrong way around.

- Kickstart the LS-120 with the infamous LS-120 specific command of
  which no one knows what it doesn, apart from the fact that it appeared
  in the Linux code someday.
2000-04-03 22:19:44 +00:00
jdp
609dd90b56 Document that the flags can be specified as an octal number. 2000-04-03 22:10:58 +00:00
n_hibma
d1a0c5a2fa OpenBSD has a broken debugger that does not grok static. Use a
#define Static  static

that the OpenBSD folks can define it to be empty if they like.
2000-04-03 20:58:30 +00:00
brian
56ae0558f5 Plug two file descriptor leaks 2000-04-03 19:56:49 +00:00
gj
08bbcfe72f Nuke csu_hdr from struct cspace. csu_hdr is not used anywhere in the
tree. This considerably reduces unnecessary bloat in struct slcompress.

I'm running with this change right now and have seen no negative
side-effects.

On my sytem this reduced kernel BSS by about 25KB.

Submitted by:	bde
Approved by:	brian for user-ppp
2000-04-03 19:54:33 +00:00
wilko
1e3d124ac5 Add note on SCSI floppy on DEC3000 series 2000-04-03 19:32:22 +00:00
iwasaki
6c940a99c2 Enable etc/defaults/pccard.conf which is default configuration file
for pccardd.
Please install /etc/defaults/pccard.conf and update /etc/defaults/rc.conf
as well.
Note that old pccard.conf.sample still remains for while but
no longer to be maintained.

Reviewed by:	imp, -mobile ML and nomads ML in Japan.
2000-04-03 19:24:25 +00:00
n_hibma
a26d62cb05 Regen. 2000-04-03 15:15:50 +00:00
n_hibma
b04e4f380c Add Freecom + product; Update NetBSD's copyright 2000-04-03 14:47:43 +00:00
sheldonh
4ae4d58ad1 Explain static numbering.
Reviewed by:	asmodai
2000-04-03 13:07:33 +00:00
n_hibma
d43514ac75 Entry for Zip drive no longer needed. We do automatic rescans on connect
now.
2000-04-03 11:16:41 +00:00
n_hibma
bb27208af1 Add a hack to cam that makes the cam_xpt available to the rest of the
kernel. Justin agress that there is no other reasonable alternative to
do automatic rescans on connect.

The problem is that when a new device attaches to a SIM (SCSI host
controller) we need to send a XPT_SCAN_BUS command to the SIM using
xpt_action. This requires however that there is a peripheral available
to take the command (otherwise xpt_done and later bomb). The RESCAN
ioctl uses the same periph.

This enables a USB mass storage drive to do an automatic rescan on
connection of the drive.

The automatic dropping of a CAM entry on disconnection was already
working (asynchronous event).

The next thing to do is find someone to commit a change to vpo to do the
same thing. Just port umass_cam_rescan and friends across to that
driver.

Approved by:   gibbs
2000-04-03 11:11:12 +00:00
phk
865f9734f9 Silence some warnings. 2000-04-03 10:09:18 +00:00
sheldonh
2cb0f4808e Fix unsafe tempfile creation. This file is already off the vendor
branch.  Although this problem has been reported to the GNU folks,
it's unlikely that any solution they may come up with will involve
the use of mktemp(1).

PR:		16942
Submitted by:	Colin Phipps <crp22@cam.ac.uk>
2000-04-03 09:49:49 +00:00
yokota
10ee03476d Brush up the last commit.
- Change some expressions.
- Wrap "resume" in single quotes to maintain consistency.

Submitted by: sheldonh
2000-04-03 09:40:04 +00:00
yokota
4051f13a08 Brush up the last commit.
- Expand contractions.
- Change some expressions.
- Reword the sections that describe the reporting of down events.

Submitted by: sheldonh
2000-04-03 09:38:52 +00:00
yokota
494ed849eb Unbreak LINT. 2000-04-03 09:24:16 +00:00
alfred
ce645963ff regenerate with MPSAFE from syscalls.master 2000-04-03 06:36:57 +00:00
alfred
8d70bb9d1e Make makesyscalls.sh parse an optional field 'MPSAFE' that specifies
that a syscall does not want the BGL to be grabbed automatically.

Add the new MPSAFE flag to the syscalls that dillon has determined to
be MPSAFE.
2000-04-03 06:36:14 +00:00
msmith
2d2575e7b2 Remove the !(I386 & SMP) tests; we don't run SMP on an i386 system, and
they break the LINT build.
2000-04-03 06:02:00 +00:00
steve
9c96a3af95 Add support for sunos_big_vec to support 'make world's on Solaris
boxes.
2000-04-03 03:51:46 +00:00