Commit Graph

25265 Commits

Author SHA1 Message Date
nate
c68183d0b8 - Do a bunch of gratuitous changes intended to make the code easier to
follow.
 * Rename/reorder all of the pccard structures, change many of the member
   names to be descriptive, and follow more closely other 'bus' drivers
   naming schemes.
 * Rename a bunch of parameter and local variable names to be more
   consistant in the code.
 * Renamed the PCCARD 'crd' device to be the 'card' device
 * KNF and make the code consistant where it was obvious.
 * ifdef'd out some unused code
1997-10-26 04:36:24 +00:00
nate
bc21da1f3f - Call 'callout_handle_init' on the two timeout channels after they are
created in the new slot controller structure.
1997-10-26 02:55:31 +00:00
brian
486b8925ec Cosmetic (no functional changes):
o   Add missing $Id$s
o   Move extern decls from .c -> .h files
o   Staticize
o   Remove #includes from .h files
o   style(9)ify includes
o   bcopy -> memcpy
    bzero -> memset
    bcmp -> memcmp
    index -> strchr
    rindex -> strrchr
o   Move timeout.h -> timer.h (making it consistent w/ timer.c)
o   Add -Wmissing-prototypes
1997-10-26 01:04:02 +00:00
jdp
1d2927c9fa Change L_SET to SEEK_SET for POSIX compliance.
Submitted by:	Dean Gaudet <dgaudet@arctic.org>
1997-10-26 00:41:51 +00:00
nate
35f6cb0d89 - KNF the PCI stuff, no functional changes. 1997-10-25 21:02:44 +00:00
wollman
d7f6ac9939 Merge changes from vendor branch. 1997-10-25 18:27:25 +00:00
wollman
0a36e4c6fd This commit was generated by cvs2svn to compensate for changes in r30708,
which included commits to RCS files with non-trunk default branches.
1997-10-25 18:22:53 +00:00
wollman
dac8581b71 New version of the timezone database (1997i) from Arthur Olson.
Obtained from: Arthur David Olson <ado@elsie.nci.nih.gov>
1997-10-25 18:22:53 +00:00
phk
096ac51f40 Recognize even more of the Znyx 314 cards. 1997-10-25 14:32:15 +00:00
jkh
8a403dc5c9 Fix typo in startup menu.
Submitted by:	max
1997-10-25 09:27:20 +00:00
dyson
43e9a7b262 Somehow an error crept in during the previous commit. 1997-10-25 04:49:01 +00:00
dyson
56bd787cbb Support garbage collecting the pmap pv entries. The management doesn't
happen until the system would have nearly failed anyway, so no signficant
overhead is added.  This helps large systems with lots of processes.
1997-10-25 02:41:56 +00:00
dyson
bcae676793 Decrease the initial allocation for the zone allocations. 1997-10-24 23:41:04 +00:00
brian
5edc0d2f34 sleep => nointr_sleep
usleep => nointr_usleep
(not just a #define)
Already done by: ache
1997-10-24 22:36:31 +00:00
markm
a5212e361a (Null commit - the previous commit blew up in my face).
Link this against -lcrypt. In the case where a user does not have
a ticket available on the server, this may cause chunks to be blown
when the local kinit does not find crypt(3).
1997-10-24 16:35:34 +00:00
markm
4e8a2ab3a2 Link this against -lcrypt. In the case where the user has no key available
on the keyserver, the local kinit will blow chunks when it tries a
crypt(3) and finds it unavailable.
1997-10-24 16:27:46 +00:00
markm
f784e3f832 Make this part of the 'krb' distribution if it is being built as the
Kerberised version.
1997-10-24 16:22:46 +00:00
markm
6e219dba6a Make this part of the 'krb' distribution. 1997-10-24 16:20:25 +00:00
nate
3eaafbfd4a - Recognize the Cirrus Logic PD6729/6730 PC-Card Controller behind the
PCI bus.

[ Re-organized the code to be easier to extend, based on Michael's patch ]

Submitted by:	Michael Reifenberger <root@totum.plaut.de>
1997-10-24 15:39:00 +00:00
nate
58e051f462 - Use the definitions found in <i386/isa/isa.h> instead of rolling our
own definition of ISA_HOLE_START.  We shouldn't need to include
  bus/processor specific code in here, but it is required.  At least by
  doing it this way it becomes more obvious where the bogusness is.

Obtained from:	email with bde
1997-10-24 15:27:16 +00:00
phk
b2cdb3a2f1 Remove the stuff we do not use from global scope. Export them again as
needed.
1997-10-24 14:27:23 +00:00
phk
f593ffbdd7 Statizice. 1997-10-24 14:24:55 +00:00
max
8430e6b7e6 Pkg_add refused to process package whose packing list contains @exec/@unexec
before any file names.  This change makes pkg_add to process those
packages if @exec/@unexec commands don't contain any %[fFB].  Also
enable @exec/@unexec that have %D if the installation prefix is known to
pkg_add.
Reviewed by:	jkh
1997-10-24 08:32:06 +00:00
jmg
83ab22e89f fix mispelling of kld 1997-10-24 05:30:12 +00:00
jmg
094d62656c make a couple functions static...
also change module_register_static to module_register_init as this
function initalizes the module for both dynamic and static modules...
1997-10-24 05:29:07 +00:00
hoek
039edbcc80 Change defaults to match reality.
PR:		docs/3817
1997-10-24 04:13:41 +00:00
nate
ec74e6f8df - defined constant ISA_HOLE_START (would be nice to include machine/pmap.h,
but it has too much baggage).
- create a new routine 'unregister_device_interrupt', which is now used
  instead of having two routines with the same code snippet.
- Minor cleanups and commenting.

[ No functional changes, just moving things around ]
1997-10-23 22:54:47 +00:00
ache
2ac9673aae Restore back non-interruptable sleep/usleep just redefine them to not
mix with standard library functions
1997-10-23 21:32:48 +00:00
ache
39156922f6 Remove private sleep/usleep hacks 1997-10-23 20:11:01 +00:00
nate
26825b2fa5 - Move the untimeout code call out of the check for pwr_off_pending. It
shouldn't make any difference, but did on a couple of test systems.
1997-10-23 19:00:16 +00:00
itojun
7594bfff8f obey internet-draft "draft-stevens-advanced-api-04.txt" for ipv6 defs. 1997-10-23 15:11:21 +00:00
msmith
86adab044b Add entries for the Danpex EN-6200P2 and Megahertz XJ4336 1997-10-23 14:00:40 +00:00
gibbs
03cdd17845 Fix a potentially disasterous '==' instead of '=' bug.
Submitted by:	John-Mark Gurney <gurney_j@resnet.uoregon.edu>
1997-10-23 11:32:06 +00:00
brian
b8215996d7 Fix various filter problems
PR:		4727
Submitted by:	Chiharu Shibata <chi@bd.mbn.or.jp>
1997-10-23 10:09:35 +00:00
kato
e4e4abd8bf Disallow non-root mount. If you want to allow non-root mount, change
vfs.usermount into 1 with sysctl.
1997-10-23 09:29:09 +00:00
kato
04b14b1941 Synchronize with sys/i386/isa/syscons.{c,h} revisions 1.235 and 1.35,
respectively.
1997-10-23 09:26:30 +00:00
kato
9a2112298f Synchronize with sys/i386/conf/Makefile.i386 revision 1.103. 1997-10-23 09:20:16 +00:00
nate
a952c7a5aa - Fix braino in last commit. (Slow networks should be outlawed!) 1997-10-23 04:53:32 +00:00
nate
5ec2824fc0 - Back out the last. APM_BROKEN_STATCLOCK doesn't exist in -current. 1997-10-23 04:18:49 +00:00
yokota
b13f7d1937 Reject unreasonable values passed to CONS_HISTORY ioctl. It did not
check the value and caused kernel panic when a large value was given.

- Move the configuration option SC_HISTORY_SIZE from syscons.h to
syscons.c.
- Define the maximum total number of history lines of all consoles.
It is SC_HISTORY_SIZE*MAXCONS or 1000*MAXCONS; whichever is larger.
CONS_HISTORY will allow the user to set the history size up to
SC_HISTORY_SIZE unconditionally (or the current height of the console
if it is larger than SC_HISTORY_SIZE). If the user requests a larger
buffer, it will be granted only if the total number of all allocated
history lines and the requested number of lines won't exceed the maximum.
- Don't free the previous history buffer and leave the history buffer
pointer holding a invalid pointer. Set the pointer to NULL first, then
free the buffer.

PR: bin/4592
1997-10-23 03:23:50 +00:00
ache
11e6b28c31 Add (unsigned char) cast to ctype macros 1997-10-23 02:44:23 +00:00
nate
fdcf922d4f - When doing suspend/resume, only try to suspend those drivers on active
slots.  Otherwise, we try to suspend drivers who have been disabled
  already.

[
The only reason the drivers are still on the list is because of race
conditions where the card is removed while the driver is in use.  We
leave the drivers on the slot list (leaving all of their structures in
place in case a process is using it) but set it's state to empty so that
further uses by the pccard code know not to expect active cards.
]
1997-10-23 02:30:39 +00:00
nate
74b704148b Back our V1.36, due to reports of badness. (IRQ's are again allocated
from the 'lower' interrupts to the 'higher' interrupts.)  We need to
find a way to set the interrupt for the controller in the config file.

Determined by:	handy@sag.space.lockheed.com
1997-10-23 02:25:14 +00:00
ache
1252945e3a Add (unsigned char) cast to ctype macros 1997-10-23 02:22:51 +00:00
ache
43e60f18dd Add unsigned char cast to ctype macros 1997-10-23 02:08:16 +00:00
ache
436deeda1a Add more (unsigned char) casts to ctype macros
Fix casetable usage in the same manner too
1997-10-23 02:03:43 +00:00
dg
94286bf509 Rewrote fxp_start() for better clarity and efficiency. 1997-10-23 01:45:15 +00:00
ache
c722721f8f Add (unsigned char) casts to ctype macros 1997-10-23 01:43:00 +00:00
ache
cca19fe726 Add (unsigned char) cast to all ctype macros 1997-10-23 01:29:44 +00:00
nate
251c8be0fe - Simplify code by removing a variable which was initialized once, never
modified, and was expected to have the initialized value.
1997-10-23 00:51:29 +00:00