Marcel Moolenaar
13d9e61a67
Fix getcwd. It must return the length of the path including the terminating 0.
...
While I'm here, fix style and debug printf.
Fix derived from patch by: Darryl Okahata <darrylo@sr.hp.com>
1999-09-17 08:35:08 +00:00
Ollivier Robert
76b7b29ed0
wlinit() must be called to recalculate the multicast filter.
...
Submitted by: Francis Dupont <Francis.Dupont@inria.fr>
1999-09-15 12:49:03 +00:00
Peter Wemm
0e27edc0e2
The sense of probes has inverted. They return an error, rather than
...
true/false. Fix ed_probe_HP_pclanp() so that it doesn't "succeed" on
non-existing hardware.
Submitted by: Mark Hittinger <bugs@freebsd.netcom.com>
1999-09-13 19:14:43 +00:00
Bruce Evans
887ba12fc5
Removed diskerr()'s unused d_name arg and updated callers. This fixes
...
warnings caused by the arg having the wrong type (not const enough).
The arg was also wrong (a full name instead of a short one) for calls
from from subr_diskmbr.c and pc98/diskslice_machdep.c.
1999-09-13 12:59:41 +00:00
Dag-Erling Smørgrav
8dc47ef606
Fix disordering introduced in my previous commit.
...
Pointed out by: bde
1999-09-13 09:45:07 +00:00
Dag-Erling Smørgrav
01b9141584
"\t\t" -> " \t" as per rev. 1.611 (mangled in the previous commit)
...
Pointed out by: bde
1999-09-13 08:36:15 +00:00
Brian Feldman
49c684571a
Correction: mem.c devices are "D_MEM" (and D_MEM is added.)
...
Taken issue with by: phk
1999-09-12 18:48:07 +00:00
Dag-Erling Smørgrav
e46cd3d4d2
Add the net.inet.tcp.restrict_rst and net.inet.tcp.drop_synfin sysctl
...
variables, conditional on the TCP_RESTRICT_RST and TCP_DROP_SYNFIN kernel
options, respectively. See the comments in LINT for details.
1999-09-12 17:22:08 +00:00
Brian Feldman
4871de2f17
Mainly stylistic fixes:
...
1. return( -> return (
2. inappropriate ENODEV -> ENOTTY
3. some unreachable cases removed
1999-09-12 16:44:07 +00:00
Brian Feldman
1a351c9ee4
Make the d_flags of mem devices D_DISK to signify that they are disk-like
...
random-seekable devices. This lets dd(1) know it can seek on them. It
also affects spec_vnopen() (IIRC), but only makes the path of execution smaller,
and does not change its behavior. This is when securelevel >= 2.
1999-09-12 16:38:43 +00:00
Poul-Henning Kamp
be3743d910
Change scheduling to use on the fly determination rather than presorting.
1999-09-12 08:13:26 +00:00
Mike Smith
03c6be5cdc
Some PnP BIOSsen return garbage in the high byte of the number-of-devices
...
field (or don't set the high byte at all). Clear it to avoid reporting
a silly number of devices.
Reported by: phk
1999-09-12 06:58:33 +00:00
Peter Wemm
1a16554b8f
Make pmap_mapdev() deal with non-page-aligned requests.
...
Add a corresponding pmap_unmapdev() to release the KVM back to kernel_map.
1999-09-11 20:31:32 +00:00
Justin T. Gibbs
0e9857132a
Add the AMD driver.
1999-09-11 16:05:48 +00:00
Mitsuru IWASAKI
38d336b5b8
Handle CAPABILITIESCHANGE event.
...
Document USERSTANDBYREQ and CAPABILITIESCHANGE events to apmd manpage.
1999-09-11 16:00:28 +00:00
Nick Sayer
d34e591d4d
Handle UserStandbyRequests as well as the other 3 members of the
...
{,USER}{STANDBY,SUSPEND}REQ matrix.
1999-09-11 15:12:31 +00:00
Poul-Henning Kamp
00cd7a584a
System clock don't update, because C6's TSC stop count up when run
...
HALT instruction.
PR: 13683
Submitted by: IMAI Takeshi <take-i@ceres.dti.ne.jp>
Reviewed by: phk
1999-09-10 20:45:50 +00:00
Peter Wemm
ebb30c0b3a
Add the CR4 values for P3 SIMD enabling support. FXSR tells the cpu that
...
the OS does FXSAVE/FXRESTOR instructions (fast FPU save/restore) during
context switching and also enables SIMD since this enables saving the
extra CPU context that isn't saved with normal FPU regs. The other
enables the SIMD instructions to use exception 16 (FPU) error reporting.
Note, this doesn't turn on SIMD, just defines the bits.
1999-09-10 15:51:44 +00:00
Peter Wemm
594898d458
Add text for the PN (Processor serial number) and XMM (extended SIMD/MMX2/
...
support), as well as a bunch of comments for what the various bits mean
(those that I remember anyway).
1999-09-10 15:47:54 +00:00
Mike Smith
c3c011f933
Look for the right ACPI signature.
...
Submitted by: dfr
1999-09-10 08:49:19 +00:00
Mike Smith
97ecdb1d58
Invoke smp_rendezvous_action() using the a.out compatible asnames.h
...
technique (bleagh).
1999-09-10 01:17:01 +00:00
Julian Elischer
85a219d201
Changes to centralise the default blocksize behaviour.
...
More likely to follow.
Submitted by: phk@freebsd.org
1999-09-09 19:08:44 +00:00
Peter Wemm
c6a5d1a636
Seperate the miibus pci ethernet drivers from the non-miibus drivers so
...
it's a little clearer which is which from just looking at GENERIC.
1999-09-09 18:30:58 +00:00
Peter Wemm
c9d9f1a046
Zap EXPORTMFS, it's no longer an option. (mfs_vfsops.c rev 1.58)
1999-09-08 22:03:46 +00:00
Mark Murray
b621cf69e6
Catch up with GENERIC. This file is creaming to be automatically
...
generated form GENERIC. Any volunteers? I thought not :-). OK;
I'll do it.
1999-09-08 19:02:26 +00:00
Poul-Henning Kamp
b24d30561d
Make unused tape bmajors in past tense.
1999-09-08 18:46:22 +00:00
Poul-Henning Kamp
c27b8405da
Don't register a bmajor.
1999-09-08 18:45:58 +00:00
Poul-Henning Kamp
6523748af1
Make sa/bdev, gd/bdev and gd/cdev as past-tense.
1999-09-08 17:02:40 +00:00
Peter Wemm
b720111ca3
Restore old sio driver for Bruce. We'll fix the bus problems in nsio
...
instead.
1999-09-08 11:08:50 +00:00
Luoqi Chen
ab6ec55891
Save %gs in sigcontext when delivering a signal and restore them upon
...
return (in signal trampoline code). I plan to do the same on -stable,
so that we have a consistent interface to userland applications.
Reviewed by: bde
1999-09-07 20:02:24 +00:00
Peter Wemm
085615b39a
Doug missed an isa_get_flags().
1999-09-07 13:08:25 +00:00
Doug Rabson
062acdb7e7
Change isa_get/set_flags() to device_get/set_flags().
1999-09-07 08:42:49 +00:00
Doug Rabson
5ca8dcf66e
Update for newpcm.
1999-09-06 20:37:07 +00:00
Peter Wemm
e5174d14c5
Repo copy isa/sio* to dev/sio/sio* in preperation for extra bus methods
...
including pci.
Also, eliminate NSIOTOT and do it dynamically where it matters.
1999-09-06 14:06:23 +00:00
Peter Wemm
6f7368eef4
Add id_iosize as used by pccard.
1999-09-06 11:37:23 +00:00
Warner Losh
19032f4b33
Add pccard child to nexus. A better version would take care of this
...
with an identify method, but that has not been implemented.
Forgotten by: imp
1999-09-06 06:39:17 +00:00
Bill Paul
e5a9fd5435
This commit adds driver support for PCI fast ethernet NICs based on
...
the Davicom DM9100 and DM9102 chipsets, including the Jaton Corporation
XPressNet. Datasheet is available from www.davicom8.com.
The DM910x chips are still more tulip clones. The API is reproduced
pretty faithfully, unfortunately the performance is pretty bad. The
transmitter seems to have a lot of problems DMAing multi-fragment
packets. The only way to make it work reliably is to coalesce transmitted
packets into a single contiguous buffer. The Linux driver (written by
Davicom) actually does something similar to this. I can't recomment this
NIC as anything more than a "connectivity solution."
This driver uses newbus and miibus and is supported on both i386
and alpha platforms.
1999-09-06 06:14:30 +00:00
Bill Paul
9555e59a1e
This commit adds driver support for the Silicon Integrated Systems
...
SiS 900 and SiS 7016 PCI fast ethernet chipsets. Full manuals for the
SiS chips can be found at www.sis.com.tw.
This is a fairly simple chipset. The receiver uses a 128-bit multicast
hash table and single perfect entry for the station address. Transmit and
receive DMA and FIFO thresholds are easily tuneable. Documentation is
pretty decent and performance is not bad, even on my crufty 486. This
driver uses newbus and miibus and is supported on both the i386 and
alpha architectures.
1999-09-05 21:01:03 +00:00
Peter Wemm
05385ecdf7
Set up FPU state on the AP.
...
Tested by: phk
1999-09-05 20:17:40 +00:00
Peter Wemm
07f5372c67
Temporarily disable k6_mem (k6 write combining) at Brian's request since
...
it appears to be causing problems under XFree3.9.16.
1999-09-05 16:55:44 +00:00
Brian Feldman
c48a1139c2
M_WAITOK->M_NOWAIT
1999-09-05 15:45:57 +00:00
Peter Wemm
3ca1647688
$Id$ -> $FreeBSD$
1999-09-05 15:21:05 +00:00
Peter Wemm
ae04ca6157
Don't install stubs, make a compat symlink at buildworld time.
...
All internal references to <machine/soundcard.h> are (hopefully :-) gone.
1999-09-04 15:46:31 +00:00
Peter Wemm
978f5d6c5d
machine/soundcard.h is now in the standard location - sys/soundcard.h
1999-09-04 15:22:17 +00:00
Doug Rabson
3e05dd9c7c
Make <machine/soundcard.h> a stub which includes <sys/soundcard.h>
1999-09-04 14:35:18 +00:00
Peter Wemm
5a90d999a9
<machine/soundcard.h> -> <sys/soundcard.h>, since it's an exported API
...
that's arch neutral and OSS API and Linux API compatable.
1999-09-04 14:15:26 +00:00
Bruce Evans
d7320dd1a0
Removed defunct option NULLFS_DIAGNOSTIC.
1999-09-04 12:44:38 +00:00
Peter Wemm
0f09dc9341
if_ed doesn't use the wrappers anymore.
1999-09-03 19:15:13 +00:00
Peter Wemm
599d7638dd
Commit a checkpoint of an updated if_ed driver. This is pretty much
...
Doug Rabson's work, with a few tweaks from Warner Losh and I. There are
still some quirks to resolve, but the old driver is presently breaking
the build.
1999-09-03 19:10:56 +00:00
Marcel Moolenaar
6771d80337
I missed the namechange of field desc in struct i386_ldt_args into descs while
...
reviewing luoqi's changes...
Pointed out by: luoqi
1999-09-03 06:18:39 +00:00