Commit Graph

64566 Commits

Author SHA1 Message Date
peter
96b9a12bd2 Rip some well duplicated code out of cpu_wait() and cpu_exit() and move
it to the MI area.  KSE touched cpu_wait() which had the same change
replicated five ways for each platform.  Now it can just do it once.
The only MD parts seemed to be dealing with fpu state cleanup and things
like vm86 cleanup on x86.  The rest was identical.

XXX: ia64 and powerpc did not have cpu_throw(), so I've put a functional
stub in place.

Reviewed by:	jake, tmm, dillon
2001-09-10 04:28:58 +00:00
peter
86ba257920 gcc-3 has objections about the bluetrap6 and bluetrap13 inline asm
functions.  Apparently multi-line string asm arguments are deprecated.
2001-09-10 04:22:20 +00:00
peter
fb82fa5364 Fix some malformed macro concatenation that gcc-3 has objections about. 2001-09-10 04:20:34 +00:00
imp
23ece11429 Add cs driver for IBM EtherJet card. Doesn't completely work yet, but
it won't work without it.
2001-09-10 04:08:28 +00:00
imp
ebb03eb6a3 2Mbps card from Teletronics. Looks like a generic OEM card for the
awi driver, but the MAC address isn't recognized, so maybe this is
wrong.
2001-09-10 03:30:47 +00:00
imp
611cc46ac1 ELSA Air Lancer wireless card. Appears to be a Lucent OEM.
Submitted by: Eric Masson <e-masson@kisoft-services.com>
2001-09-10 03:18:21 +00:00
brooks
26bb68b752 Lots of style(9) related white space fixes. Mostly missing spaces
after if, for, while, switch, '{', and '}' plus a bunch of bogus
whitespace at the end of lines.
2001-09-10 02:36:18 +00:00
brooks
2b67e21a9e Add support for monitor mode. This means that after enabling the
correct mode via ancontrol, you can use bpf to sniff raw 802.11 frames.
Who want's to port AirSnort. ;-)

Submitted by:	Doug Ambrisko <ambrisko@ambrisko.com> (author)
		David Wolfskill <david@catwhisker.org> (port to current)
2001-09-10 02:05:10 +00:00
peter
9648bb82ea Remove/comment tokens after #endif (#endif NETATALK) 2001-09-10 01:33:03 +00:00
peter
0eadf02e1c Fix a minor buglet/typo here that gcc3 complains about. 2001-09-10 01:27:23 +00:00
peter
38ebacb983 #endif /* comment */ 2001-09-10 01:23:39 +00:00
peter
ee6e4387ac Stop gcc's fixincludes making an exception for this file 2001-09-10 01:15:48 +00:00
imp
5aa0671097 Mihira-san says that this works for him. Linksys EtherFast 10/100 +
56k modem with the fat connector.

Submitted by: sanpei@sanpei.org (MIHIRA yoshiro)
Ignored since Jan 2001 by: imp
2001-09-09 23:58:09 +00:00
iedowse
ddaced1703 The "dirpref" directory layout preference improvements make use of
an array "fs_contigdirs[]" to avoid too many directories getting
created in each cylinder group. The memory required for this and
two other arrays (fs_csp[] and fs_maxcluster[]) is allocated with
a single malloc() call, and divided up afterwards.  However, the
'space' pointer is not advanced correctly, so fs_contigdirs and
fs_maxcluster end up pointing to the same address.

Add the missing code to advance the 'space' pointer, and remove
an unnecessary update of the pointer that follows.

This is likely to fix the "ffs_clusteralloc: map mismatch" panics
that have been reported recently.

Submitted by:		Luke Mewburn <lukem@wasabisystems.com>
2001-09-09 23:48:28 +00:00
imp
cfad1534f8 Addtron AWP-100 wireless card.
Submitted by: Alfred Perlstein <bright@mu.org>
2001-09-09 23:42:26 +00:00
imp
158bee8694 EZCard, not EXCard 2001-09-09 23:40:28 +00:00
imp
c46f298a3e Speculatively commit fix for Surecom EP-427TX PCMCIA adapter. This
appears to be another OEM version of the Netgear FA411.  This is a
guess, since the original didn't include the flags, but this is too
similar to my netgear card...

Submitted by: neal@nelsonnet.org
2001-09-09 23:28:09 +00:00
imp
6d51506749 SMC EZ Card 10 PCMCIA
Submitted by: Goncharov D <gda@sani.ru>
2001-09-09 23:13:59 +00:00
imp
91ee2fe63e Add NE-2000 compatible card sold by addron.
Submitted by: johs@copyleft.no
2001-09-09 23:10:38 +00:00
asmodai
fe6129599e Add more standards which we conform to.
Note our implementation is not thread nor async-cancel safe.
Explicitely note atof() does not check nor report errors.
Note that strtod() should be used instead.
2001-09-09 21:09:53 +00:00
imp
0c4612275a Add NetGEAR FA411 card. This appears to be based on the AX88190 chipset
and works with those flags.
2001-09-09 20:31:26 +00:00
asmodai
e08a19072b Detail thread-safe and async-cancel-safe status.
Also add C99 conformity status plus clarification that C99 leaves the
flushing of unwritten data, closure of open streams, and removal of
temporary files to the implementation.
2001-09-09 18:52:00 +00:00
imp
9bcbcfd13b When booting verbose, print the config space for this device. This
will help debugging problem systems as it will reduce the number of
commands the user needs to type and send me the output of.
2001-09-09 17:42:58 +00:00
imp
efea72f8e3 If flags were specified for the device, print them in the probe
message.  Some scsi devices have rather elaberate flags, and it is
hard to know which ones were specified in pccard.conf when debug
information only includes the dmesg.
2001-09-09 17:28:02 +00:00
wpaul
3e0a4f6409 regenerate this file too (forgotten after last usbdevs update) 2001-09-09 17:00:32 +00:00
dfr
774ebbef7e Fix some problems with the reference/modified tracking which I introduced
with the last change to the way the pmap_emulate_reference() works. This
should fix a number of memory corruption problems and also should stop the
mtimes of executables changing all the time.
2001-09-09 16:36:59 +00:00
dd
cf1db3ca68 Automatically load the "snp" module if it isn't already present. 2001-09-09 14:57:48 +00:00
dd
5c5bedf0e5 Use protected variables names in prototypes visible to the userland as
per style(9) and most other header files in sys/.
2001-09-09 14:57:17 +00:00
phantom
6d3261b0d9 update cs_CZ's MONETARY information to more used format
Discussed with: Cejka Rudolf <cejkar@dcse.fee.vutbr.cz> (submitter)
2001-09-09 14:49:13 +00:00
dd
210985c3bd Add a missing newline to an error message.
PR:		30436
Submitted by:	Joerg Lehners <Lehners@Informatik.Uni-Oldenburg.DE>
2001-09-09 14:48:52 +00:00
dd
45b45bccdf Use CFLAGS instead of COPTS. 2001-09-09 14:30:36 +00:00
dd
95cc672424 Include ttymsg.h from ../../usr.bin/wall instead of rolling our own
prototype.
2001-09-09 14:30:11 +00:00
dd
3c17c0ac6e - Silence warnings: apply `const' generously, mark some variables
__unused, and change local variables named `sin' (struct
  sockaddr_in) to `sin4'.  (`sin' conflicts with the definition of
  sin(3), which gcc assumes to be defined even if math.h isn't
  included (it's a builtin).  This is probably a bug in gcc.)

- Apply WARNS=1.  WARNS=2 was not used because this program assigns
  string literals to (struct iovec).iov_base for writing, and the only
  clean way to silence -Wwrite-strings in that case would be to
  strdup() and consequently free() those literals, which I considered
  too disruptive.

Reviewed by:	bde (partially)
2001-09-09 14:25:02 +00:00
dd
2b3c9b5598 - Move the prototype of ttymsg() into ttymsg.h. syslogd and talkd
also use this, and they shouldn't have to have their own prototypes.

- Silence warnings about constness and signedness in ttymsg().  This
  includes changing the return value to a `const char *', and changing
  the types of `left' and `wret' (both byte counts) to ssize_t.

Reviewed by:	bde
2001-09-09 14:23:31 +00:00
brian
99476df91e Iron out an identity crisis. I'm Irish, not English. 2001-09-09 08:33:40 +00:00
kris
ef052bd8a5 Run the uustat command as the uucp user, not as root. 2001-09-09 05:53:01 +00:00
dillon
00dc754d32 The basis for the recent coredump commit had the wrong attribution.
The new attribution is below.

Submitted by:	peter, ps
2001-09-09 05:08:33 +00:00
dillon
838c380fcf Make sure that all non-root-owned binaries in standard system
paths are chflaged 'schg' to prevent exploit vectors when run
by cron, by a root user, or by a user other then the one owning the
binary.  This applies to most of the uucp binaries, cu, tip, and
man (man was already installed properly).

MFC will occur when approved.
2001-09-09 04:54:10 +00:00
dwhite
aed5856aa9 Add support for the Accton USB320-EC Ethernet adapter.
MFC after:	14
2001-09-09 03:08:30 +00:00
dwhite
2cd8d9ae61 Regen. 2001-09-09 03:07:32 +00:00
dwhite
1f8b62fe2e Add entry for Accton USB320-EC Ethernet adapter.
MFC after:	14
2001-09-09 03:07:15 +00:00
grog
374781cf17 Use a better stripe size in the examples.
Noted by:	Sean Eric Fagan <sef@kithrup.com>
2001-09-09 02:23:06 +00:00
mike
776df1385f Remove a bogus cast and lockdown users(1) with WARNS?=2
Submitted by:	David Hill <david@phobia.ms>
Reviewed by:	-audit
MFC after:	1 week
2001-09-09 00:40:04 +00:00
grog
ebbd82f746 Add Dennis Ritchie. 2001-09-09 00:36:20 +00:00
marcel
1a83573de8 Correct intended fix to my foul-up.
linux_uid16.c is in sys/compat/linux not in sys/i386/linux.
2001-09-08 23:26:40 +00:00
semenu
8c98d68610 Stole unicode translation table from mount_msdos. Add kernel code
to support this translation.

MFC after:	2 weeks
2001-09-08 23:03:52 +00:00
marcel
22c38894cb Catch up with common usage:
o  Define ELFMAG and SELFMAG as an alternative to test the ELF magic.
   ELFMAG is the magic; SELFMAG is the size of the magic. Use with
   strncmp() or memcmp().
o  Define SHT_NUM as the number of predefined sections.

Note: style(9) deviation for consistency.
2001-09-08 22:59:30 +00:00
semenu
4c1e708040 Fix opening particular file's attributes (as described in man page).
This is useful for debug purposes.

MFC after:	2 weeks
2001-09-08 22:59:12 +00:00
semenu
4d49e9cd2b Reference devvp on ntnode creation and dereference on removal. Previous
code  lead to page faults becouse i_devvp went zero after VOP_RECLAIM, but
ntnode was reused (not reclaimed).

MFC after:	2 weeks
2001-09-08 22:57:03 +00:00
semenu
72ce608646 Fix errors and warnings when compiling with NTFS_DEBUG > 1
MFC after:	2 weeks
2001-09-08 22:53:27 +00:00