Nate Williams
480895cbea
- Give up trying for a simple solution for correctly recognizing if a card
...
was really removed, or simply 'faked' by a suspend/resume. Keep track
of both current and previous state, and send that information to the
userland programs.
[
XXX - This breaks binary compatability with older pccardd programs, but
they don't work reliably. :(
]
1998-04-20 15:21:02 +00:00
Nate Williams
e4c50d858a
- Only poll the PCIC controller for insertion/removal events if the
...
controller hasn't been assigned an IRQ.
1998-04-20 15:15:20 +00:00
Robert Nordier
25ab4f55c1
Check bytes read to prevent random error message.
1998-04-20 14:09:40 +00:00
KATO Takenori
b4e7319708
Commented out ide_pci.c.
...
Reviewed by: kato
Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
1998-04-20 13:54:47 +00:00
KATO Takenori
9bfbfc62fd
Sync with sys/i386/conf/options.i386 revision 1.77.
1998-04-20 13:52:44 +00:00
KATO Takenori
47c5d70acc
Sync with sys/i386/conf/files.i386 revision 1.197.
1998-04-20 13:52:13 +00:00
KATO Takenori
c140c97201
Sync with sys/i386/isa/wd.c revision up to 1.159.
1998-04-20 13:51:34 +00:00
KATO Takenori
9a3c443d5a
Sync with sys/i386/isa/fd.c revision 1.109.
1998-04-20 13:50:58 +00:00
KATO Takenori
1a373dbe8a
Sync with sys/i386/isa/npx.c revision 1.60.
1998-04-20 13:50:21 +00:00
Joerg Wunsch
6738ac4ff3
Define '\t' as a printable character, so it can be displayed on the
...
screen. isprint(3) doesn't do this, but isprt() apparently expected
this to be the case.
1998-04-20 13:37:29 +00:00
Dag-Erling Smørgrav
4970253b4f
fd(4) referenced in HISTORY has nothing to do with floppy disks;
...
changed to fdc(4).
1998-04-20 11:34:47 +00:00
John Birrell
6d4e2365bf
Add an example supfile for the gnats database.
...
Submitted by: A Joseph Koshy <koshy@india.hp.com>
1998-04-20 11:26:29 +00:00
Poul-Henning Kamp
4f6eb9ceed
Add a #ifdef _THREAD_SAFE around ctime_r
1998-04-20 10:09:37 +00:00
Philippe Charnier
5f03edf130
Correctly operate on hardlink when source and destination are not on the same
...
device.
PR: bin/3158 (part 2)
1998-04-20 06:20:24 +00:00
Jordan K. Hubbard
4f43ad3744
Note usage of Linux PLIP peer.
1998-04-20 06:18:36 +00:00
Nate Williams
8ff8eb13f7
MF22: Finish fixing 'looping' bug.
1998-04-20 05:42:26 +00:00
Julian Elischer
ff6ba95a46
fix typo in copyright.
1998-04-20 04:55:17 +00:00
Julian Elischer
992109b58e
Get rid of DEVFS_ROOT
...
it no longer has any effect.
SLICE is in some ways a replacement but is destined to also go away.
1998-04-20 04:30:47 +00:00
Julian Elischer
c0bab11dfe
Make the devfs SLICE option a standard type option.
...
(hopefully it will go away eventually anyhow)
1998-04-20 03:57:41 +00:00
Andrey A. Chernov
53b8d408ff
Describe timegm()
1998-04-20 00:52:32 +00:00
Julian Elischer
3e425b968d
Add changes and code to implement a functional DEVFS.
...
This code will be turned on with the TWO options
DEVFS and SLICE. (see LINT)
Two labels PRE_DEVFS_SLICE and POST_DEVFS_SLICE will deliniate these changes.
/dev will be automatically mounted by init (thanks phk)
on bootup. See /sys/dev/slice/slice.4 for more info.
All code should act the same without these options enabled.
Mike Smith, Poul Henning Kamp, Soeren, and a few dozen others
This code does not support the following:
bad144 handling.
Persistance. (My head is still hurting from the last time we discussed this)
ATAPI flopies are not handled by the SLICE code yet.
When this code is running, all major numbers are arbitrary and COULD
be dynamically assigned. (this is not done, for POLA only)
Minor numbers for disk slices ARE arbitray and dynamically assigned.
1998-04-19 23:32:49 +00:00
Tor Egge
9d66d1d696
Disregard the values for polarity and trigger mode in the MP config table
...
for ISA interrupts where the IOAPIC interrupt pin number is the same as
the ISA interrupt number (i.e. partial backout of previous commit)
1998-04-19 23:19:20 +00:00
Dag-Erling Smørgrav
59bad7c53b
Backed out lseek changes.
1998-04-19 22:20:32 +00:00
Brian Somers
9feab75ab7
o Support a compile-time -DNO_FW_PUNCH for portability
...
(and those of us that don't want the functionality).
o Don't assume sizeof(long) == 4.
Ok'd by: Charles Mott <cmott@srv.net>
1998-04-19 21:42:07 +00:00
Amancio Hasty
6493d9f3bb
Forgot to add opt_bktr.h
1998-04-19 19:12:49 +00:00
Nate Williams
c4bf475b75
- If we see a tuple we don't expect, don't spin forever. Withouth this fix,
...
I can't run pccardc dumpcis on my Wavelan card. :(
Obtained from: PAO
1998-04-19 18:41:45 +00:00
Poul-Henning Kamp
3d65e4d1f8
Like most Unices FreeBSD should have a larger tty field at least
...
as large as UT_LINESIZE (/usr/include/utmp.h). If the tty name is logged
with this size why isn't the w command reporting it?
(We should probably report the tty/cua prefix then as well ? /phk)
PR: 4187
Reviewed by: phk
Submitted by: Jorge M. Goncalves <ee96199@tom.fe.up.pt>
1998-04-19 18:32:01 +00:00
Poul-Henning Kamp
c5d1ef4169
The current version of netstat does not print the interface
...
name for AF_LINK routing entries. This makes debugging
network problems more difficult.
PR: 4182
Reviewed by: phk
Submitted by: Craig Leres <leres@ee.lbl.gov>
1998-04-19 18:18:25 +00:00
Poul-Henning Kamp
d459926593
Ctags write to buffer beyond the end of it when the source file
...
doesn't end with '\n'. It brings segmentation fault.
PR: 4812
Reviewed by: phk
Submitted by: Shigio Yamaguchi <shigio@wafu.netgate.net>
1998-04-19 18:00:49 +00:00
Poul-Henning Kamp
0a61a2c2ce
Problem whith "subnet=" statement in /etc/gateways.
...
routed discards the first character of the network address.
Example: "subnet=10.0.0.0/24,1"
The network address is interpreted as 0.0.0.0/24,1.
PR: 4825
Reviewed by: phk
Submitted by: Mike E. Matsnev <mike@azog.cs.msu.su>
1998-04-19 17:53:16 +00:00
Poul-Henning Kamp
f934279d20
mt should report the compression status.
...
PR: 5276
Reviewed by: phk
Submitted by: Matt Dillon <dillon@best.net>
1998-04-19 17:28:14 +00:00
Poul-Henning Kamp
4565cbea29
According to:
...
ftp://ftp.isi.edu/in-notes/iana/assignments/port-numbers
port numbers are divided into three ranges:
0 - 1023 Well Known Ports
1024 - 49151 Registered Ports
49152 - 65535 Dynamic and/or Private Ports
This patch changes the "local port range" from 40000-44999
to the range shown above (plus fix the comment in in_pcb.c).
WARNING: This may have an impact on firewall configurations!
PR: 5402
Reviewed by: phk
Submitted by: Stephen J. Roznowski <sjr@home.net>
1998-04-19 17:22:30 +00:00
Bruce Evans
212b37ff18
Support compiling with `gcc -pedantic' (don't use hard newlines in
...
(asm) string constants).
1998-04-19 15:41:06 +00:00
Bruce Evans
1696756396
Support compiling with `gcc -pedantic' (don't use hard newlines in
...
(asm) string constants or hard long long constants).
1998-04-19 15:39:26 +00:00
Bruce Evans
721f74b7d3
Support compiling with `gcc-pedantic' (don't declare static arrays
...
with no size).
1998-04-19 15:36:12 +00:00
Bruce Evans
8c4a6d7452
Support compiling with `gcc-pedantic' (don't use hard newlines in
...
(asm) string constants or trailing commas in enum declarations).
1998-04-19 15:28:30 +00:00
Brian Somers
42c0f1c9e0
Remove duplicate decls
...
Not objected to by: freebsd-hackers
1998-04-19 15:28:08 +00:00
Bruce Evans
78a8182665
Support compiling with gcc -pedantic (don't use a bogus, null cast).
1998-04-19 15:22:48 +00:00
Eivind Eklund
eb57f92476
Add an ".ifmake regress" to avoid warning during 'make world'.
...
Noticed by: bde
1998-04-19 14:27:45 +00:00
Dmitrij Tejblum
878739de43
Cosmetic: put '@' in front of a very long command.
1998-04-19 13:44:52 +00:00
Bruce Evans
3b5ad50e7d
Never generate neqn at install time (the previous fix for this was
...
incomplete).
1998-04-19 13:25:54 +00:00
Poul-Henning Kamp
e6bb224e43
Allow specification of cache-size to pwd_mkdb
...
PR: 5193
Reviewed by: phk
Submitted by: Nick Hilliard <nick@foobar.org>
1998-04-19 07:15:34 +00:00
Poul-Henning Kamp
3f643d87bb
ctime_r and asctime_r are not implemented.
...
prototypes in time.h do not match POSIX.
PR: 6345
Reviewed by: phk
Submitted by: Dmitry Khrustalev <dima@xyzzy.machaon.ru>
1998-04-19 06:47:25 +00:00
Peter Wemm
823833f19d
Back out previous commit, obrien doesn't seem to be watching. The problem
...
is that the previous commit spammed a hacked 2.2-stable onto -current,
deleting the DMA support etc. (I guess that's one way of minimizing diffs
between -current and -stable.. :-] )
1998-04-19 03:26:05 +00:00
Dag-Erling Smørgrav
25096724e8
Return EINVAL and do not change file pointer if resulting offset is negative.
...
PR: kern/6184
1998-04-18 19:24:44 +00:00
Dag-Erling Smørgrav
9db4b478d6
Return EINVAL and do not changefile pointer if resulting offset is negative.
...
PR: kern/6184
1998-04-18 19:24:22 +00:00
Gene Stark
c8e50f41fe
PR: misc/4679
...
Submitted by: Glen Foster (gfoster@gfoster.com )
Fix missing "/" in dump file pathname.
1998-04-18 13:37:24 +00:00
David E. O'Brien
cab9e31601
MFC (reduce diff w/-CUR, with hopes of getting DMA support into -STABLE)
...
1.128 (FUNCTIONAL: better sleep handling)
1.131 (STYLE: labels w/o stmt)
1.132 (STYLE: remove unused #includes)
1.141 (FUNCTIONAL: devfs bug, 2nd controler not showing)
1.144 (STYLE: dont shadow other vars)
1.150 (FUNCTIONAL: fix search bug)
1998-04-18 13:25:49 +00:00
Brian Somers
252ba33d3c
Add natd support.
...
PR: 6339
Submitted by: cdillon@wolves.k12.mo.us
1998-04-18 10:27:19 +00:00
Brian Somers
635225ca84
Fix incorrect flag spec
...
PR: 6339 (part of)
Submitted by: Chris Dillon <cdillon@wolves.k12.mo.us>
1998-04-18 10:05:38 +00:00