Commit Graph

88458 Commits

Author SHA1 Message Date
bmah
a9a1ddd3d5 Put the MAKEDEV item in correct alphabetical order. 2003-04-11 00:51:15 +00:00
bmah
af43b74651 New release notes: PAE, diskinfo(8), jail(8) -i, jexec(8), jls(8),
killall(1) -j, mount(8)/umount(8) -F, rtld(1) dynamic mapping and
libmap.conf(5), 1:1 threading.

Modified release notes:  Use wlan(4) manpage hyperlink.
2003-04-11 00:50:33 +00:00
mux
f81b8b1670 I deserve a big pointy hat for having missed all those references
to bus_dmasync_op_t in my last commit.
2003-04-10 23:50:06 +00:00
mux
bdd588c882 - Clean up the fxp_release() and fxp_detach() functions.
- Be sure to teardown the interrupt first so that "kldunload if_fxp"
  doesn't panic the box.  It's now deadlocking rather than crashing,
  which isn't really better, but I'm unsure this is fxp(4)'s fault.
- Change a bus_dmamap_sync() call to also do a BUS_DMASYNC_PREREAD
  now that we can pass several operations.
2003-04-10 23:15:12 +00:00
des
78a054cc3b Convert the SMP_TSC kernel option into a loader tunable. Also enable
the TSC timecounter on single-CPU systems even when they are running
an SMP kernel.
2003-04-10 23:07:24 +00:00
mux
41c3ac60b2 Change the operation parameter of bus_dmamap_sync() from an
enum to an int and redefine the BUS_DMASYNC_* constants as
flags.  This allows us to specify several operations in one
call to bus_dmamap_sync() as in NetBSD.
2003-04-10 23:03:33 +00:00
keramida
1149fd77be Quote authname and authkey. Some ISPs allow (or even require)
non-alphanumeric characters in these and this will be a hint to the
users that quotes can and should be used in such cases.

PR:             docs/42292
Submitted by:   Matthias Andree <matthias.andree@web.de>
MFC after:	1 week
2003-04-10 21:33:02 +00:00
rwatson
59779975ec Remove a potential panic condition introduced by reduced TCP wait
state.  Those changed attempted to work around the changed invariant
that inp->in_socket was sometimes now NULL, but the logic wasn't
quite right, meaning that inp->in_socket would be dereferenced by
cr_canseesocket() if security.bsd.see_other_uids, jail, or MAC
were in use.  Attempt to clarify and correct the logic.

Note: the work-around originally introduced with the reduced TCP
wait state handling to use cr_cansee() instead of cr_canseesocket()
in this case isn't really right, although it "Does the right thing"
for most of the cases in the base system.  We'll need to address
this at some point in the future.

Pointed out by:	dcs
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2003-04-10 20:33:10 +00:00
gallatin
67befc6826 Enable loadable modules to be unloaded on alphas with shared isa
interrupts  by only disabling the interrupt in hardware if
the handler being removed is the only handler.
2003-04-10 20:32:29 +00:00
jhb
0660828858 - Kill the pv_flags member of the alpha mdpage since it stop being used
in rev 1.61 of pmap.c.
- Now that pmap_page_is_free() is empty and since it is just a hack for
  the Alpha pmap, remove it.
2003-04-10 18:42:06 +00:00
rwatson
92aada1e9b Check M_TRYWAIT as a flag, not a constant, in MBTOM() mbuf allocator
to malloc flag converter.
2003-04-10 17:52:10 +00:00
julian
753cf80295 Catch up with the kernel. Move the current cpu indicator to the thread. 2003-04-10 17:41:40 +00:00
julian
bb19b2619b Move the _oncpu entry from the KSE to the thread.
The entry in the KSE still exists but it's purpose will change a bit
when we add the ability to lock a KSE to a cpu.
2003-04-10 17:35:44 +00:00
jake
4aa911f635 Print real memory/avail memory on startup like other platforms. Hide
printing the model under bootverbose.
2003-04-10 17:18:52 +00:00
shiba
7e34569c26 Add NTT-ME SS-LAN CARD MN128. This card entry has been
committed into NEWCARD.
2003-04-10 17:16:01 +00:00
shiba
b325ee1243 NEC PK-WL001 is Lucent, not Prism-II. 2003-04-10 17:04:03 +00:00
sos
27917b65ba Spell 55 with two '5's 2003-04-10 12:56:33 +00:00
sos
c79d1477b2 Add a few more older SiS ID's. 2003-04-10 12:24:39 +00:00
des
bf8e2b5c5a Brucify. 2003-04-10 10:26:18 +00:00
harti
14edbd72d4 Forced commit to fill in the fields below for the last commit. Also
bump the date of the man page.

PR:		docs/24797
Reviewed by:	bde, jake, jhb
2003-04-10 10:18:56 +00:00
tjr
ec3c445963 When called with s == NULL, behave as if wc == L'\0' as required by the
standard.
2003-04-10 09:20:38 +00:00
mdodd
f36bf23aea Add quirk for LOGITECH WMRPAD.
Submitted by:	Mathew Kanner <mat@cnd.mcgill.ca>
2003-04-10 08:25:09 +00:00
mdodd
8712b4eb68 - Add LOGITECH WMRPAD, MOTOROLA SB410, and SANDISK SDDR05.
- Regenerate.
2003-04-10 08:24:33 +00:00
mdodd
a83e54544c Fix debounce. I forgot these bits in my last commit.
Submitted by:	 Mathew Kanner <mat@cnd.mcgill.ca>
2003-04-10 08:06:56 +00:00
imp
5094232784 Fix interrupt race.
From NetBSD
2003-04-10 07:55:55 +00:00
imp
6e6476aeba SMC 8041 is the same thing as LINKSYS COMBO_ECARD, so no extra entry
is required.  NetBSD has one because it checks for the mac address
match as well wanting to give its own string in the description.
Since we do neither, we don't need a separate entry.

# I suspect that a few of the COREGA cards might fall into that category
# as well, but since I don't have access to any of them it is hard to know
# for sure.
2003-04-10 07:35:19 +00:00
suz
e6534dc038 - fixed byte order of route lifetimes in route info opptions.
- corrected wording in a log message.

Obtained from: KAME
MFC after: 1 week
2003-04-10 07:31:34 +00:00
imp
3ad8abfe94 Add Billionton CFLT10N and SMC8041 (although I'm not 100% sure the latter is
needed).  Remove duplicate kingston kne2 entry.

Info obtained from NetBSD
2003-04-10 07:24:18 +00:00
imp
60461de91a Remove strings by default from PCMCIA_CARD expansion. Add _DESC version
for adding them back.  This saves about 2.5k of code space.
2003-04-10 07:22:42 +00:00
imp
9711706530 Remove bogus line and entry, restore cnet ne2000 add smc 8041 2003-04-10 07:21:11 +00:00
wes
fe0b8566a5 Add a sysctl that records and reports the CPU clock rate calculated
at boot.  Funny how often this trivial piece of information crops up
in embedded boxen.

Sponsored by:   St. Bernard Software
2003-04-10 07:05:24 +00:00
imp
b0a3a8ae38 reorganize the supported card table. We don't need the enet_vendor or
enet_mcast fields, so remove them.  Sort.  Eliminate now duplicate
entries.

This reorg saves about 500 bytes in the binary.  I've tested this only
with a couple of cards, so please let me know if I've broken anything.
2003-04-10 07:04:39 +00:00
imp
61ce3a240e Sync to 1.46 2003-04-10 06:59:35 +00:00
imp
fee91d287b MFNetBSD:
1.182; christos
	A cardflash NE2000 from Michael Francini
	1.181; perry
	support Corega PCCL-11 -- from Christopher SEKIYA in PR 20932
	1.180; ichiro
	add product TOSHIBA PA2673U CBIDE2 (IODATA OEM)
	1.179; kanaoka
	Add SMC 8041TX 10/100 Ether PC Card.
2003-04-10 06:58:40 +00:00
imp
c6f805c61a Don't set the description if NULL. 2003-04-10 06:08:27 +00:00
imp
00be5b01f9 Don't lock in the attach routine. It isn't required. Register the
interrupt handler last.  This gets rid of the sleep while locked
messages.

Reviewed by: ambrisko
2003-04-10 05:12:45 +00:00
imp
29f491e895 Make sure that pp_name is non-null before setting the device
description.  This allows us to rely entirely on the CIS entries if
necessary...
2003-04-10 04:36:02 +00:00
imp
423305c9ab Back out the _ND change. I plan on making all drivers default to that with
a special _DESC version for those cards whose CIS is insufficient for some
reason.  This should save about 3k of kernel strings when complete.
2003-04-10 04:14:35 +00:00
imp
91f870f141 In [bsd-nomads:16650] shibagaki-san presented an example product id of
0 in a problem that is being discussed.  That means that the test for
product != 0 may cause problems.  Looking at pccarddevs (which i
should have done earlier) we see:

product	BONDWELL B236		0x0000 Game Card Joystick
product CONTEC CNETPC		0x0000 Contec C-NET(PC)C
product IBM MICRODRIVE		0x0000 IBM Microdrive
product RAYTHEON WLAN		0x0000 WLAN Adapter
product SOCKET EA_ETHER		0x0000 Socket Communications EA
product TDK LAK_CD011WL		0x0000 TDK LAK-CD011WL

so use only the vendor field for the end sentinel.
2003-04-10 04:11:15 +00:00
mdodd
07b74bc82e Code cleanups and sanity checking for config file parser. 2003-04-10 01:44:19 +00:00
mux
0c6ec2557f Slightly rework formatting in vmstat -i so that it doesn't
break with "fooX irqY" lines that are a bit bigger.
2003-04-10 00:44:18 +00:00
imp
51b68ea1c3 It appears that msdosfs_init() is called multiple times. This happens
on my system where I preload msdosfs and have it in my kernel.
There's likely another bug that's causing msdosfs_init() to be called
multiple times, but this makes that harmless.
2003-04-10 00:13:12 +00:00
mdodd
c882475ce0 - Implement debounce support.
- Clean up examples.
- Call deamon(3) after we open the PID file.

Submitted by:	 Mathew Kanner <mat@cnd.mcgill.ca>
2003-04-09 23:19:50 +00:00
imp
2e79b53160 1.37 was committed prematurely: back out until I can commit all parts at the
same time.
2003-04-09 22:10:28 +00:00
imp
80541c460f 1.77 was bogus: there is no logic bug. Back it out and compare the
correct fields instead.
2003-04-09 22:07:02 +00:00
jhb
4bbc28dc80 Fix a logic bug in previous commit (use || rather than &&). In order to
terminate the loop only when both the name and vendor are zero, we should
keep looping so long as either one is not zero.
2003-04-09 21:24:23 +00:00
des
858fb2e04f Correctly detect the case where a password entry was changed while we were
preparing to edit it.

PR:		bin/50563
2003-04-09 18:20:51 +00:00
des
64c6d43b9e Avoid clobbering the gecos field, as we intend to use the original later.
PR:		bin/50563
2003-04-09 18:18:42 +00:00
mike
6821576d47 Add prototypes for change_root() and change_dir(). 2003-04-09 17:41:46 +00:00
jake
eeb3a1cad2 Fix non-word.
Noticed by:	njl
2003-04-09 16:58:39 +00:00