Commit Graph

59359 Commits

Author SHA1 Message Date
phk
11bb4116b3 bread() is a special case of breadn(), so don't replicate code. 2001-04-18 07:16:07 +00:00
imp
60035bdf1f Add some more O2Micro devices I gleened from the web site/linux pcmcia cs.
Add TI4451 as well.

These are untested since I don't have the hardware to test against.

Also, some O2Micro devices are #define w/o numbers as place holders so that
I can encourage people to submit them when they appear in the channels.
2001-04-18 05:45:15 +00:00
alfred
cd79f17cad Fix the botched rev 1.59 where I made it such that without INVARIANTS
the map is never locked.

Submitted by: tegge
2001-04-18 05:30:24 +00:00
imp
6034603194 Add support for the OZ6832.
Submitted by: Martin Nilsson <martin@svenskabutiker.se>
2001-04-18 04:42:11 +00:00
iedowse
3f3a6a4168 A few more mountd cleanups:
- Remove some horrible code that faked a "struct addrinfo" to be
  later passed to freeaddrinfo(). Instead, add a new group type
  "GT_DEFAULT" used to denote that the filesystem is exported to the
  world, and treat this case separately.
- Don't clear the AI_CANONNAME flag in a struct addrinfo returned
  by getaddrinfo. There's still a bit more struct addrinfo abuse
  left in here.
- Simplify do_mount() slightly by using an addrinfo pointer to keep
  track of the current address.
2001-04-18 00:28:37 +00:00
imp
95a0a96501 Move setting of TI113X_PCI_CARD_CONTROL register sooner 2001-04-17 23:56:12 +00:00
imp
f899d123d0 Minor comment that missed the last change 2001-04-17 23:50:24 +00:00
imp
92b1af4042 When booting, turn on the 3E0 compatibility address for ricoh cardbus
parts.  This is based on the newcard code that turns it off :-).  We
can now reboot after NEWCARD or Windows and have OLDCARD work.  Add
support for the RL5C466 while I'm at it.

Treat TI1031 the same as the CLPD6832.  It doesn't work yet, but sucks
less than it did before.

Also add a few #defines for other changes in the pipe.
2001-04-17 23:15:00 +00:00
iedowse
023d47cd6f Various bugfixes and cleanups, mainly from Martin Blapp:
- Revert del_mlist() to its pre-tirpc prototype. Unlike NetBSD's version,
  ours lets the caller generate any syslog() messages, so that it
  can include the service name in the message.
- Initialise a few local variables to clarify the logic and avoid some
  compiler warnings.
- Remove a few unused functions and local variables, and fix some
  whitespace issues.
- Reinstate the logic for avoiding duplicate host entries that got
  removed accidentally in revision 1.41 (added in r1.5). This bit
  was submitted in a slightly different form by Thomas Quinot.

Submitted by:	Martin Blapp <mb@imp.ch>,
		Thomas Quinot <quinot@inf.enst.fr>
PR:		bin/26148
2001-04-17 22:25:48 +00:00
dd
c50aedd1ac Make this driver play ball with devfs(5).
Reviewed by:	brian
2001-04-17 20:53:11 +00:00
alfred
2c4a656351 Add a sanity check on ucred refcount.
Submitted by: Terry Lambert <terry@lambert.org>
2001-04-17 20:50:43 +00:00
alfred
f0669d6c9e Implement client side NFS locks.
Obtained from: BSD/os
Import Ok'd by: mckusick, jkh, motd on builder.freebsd.org
2001-04-17 20:45:23 +00:00
phk
676302e684 Write a switch statement as less obscure if statements. 2001-04-17 20:22:07 +00:00
bmah
b141e422b6 Update for security advisories: 01:32 (ipfilter), 01:33 (glob/ftp).
New release notes:  TCP ISS randomization, groff-1.17.
2001-04-17 19:22:07 +00:00
schweikh
6a476620d8 Fixed typos.
Approved by:	jkh
2001-04-17 19:08:41 +00:00
obrien
25ef5bec44 Optimize make invocations by using multiple targets. 2001-04-17 18:32:35 +00:00
jhb
2a45d7c9b1 Save are floating point state in cpu_switch() if needed instead of relying
completely on lazy floating point state saving.  This is needed for the
SMP case since processes can migrate to other CPUs.

Submitted by:	dfr
2001-04-17 18:27:55 +00:00
kris
3c55192143 I think this was supposed to be __const like in NetBSD: I have no idea
why I changed it to const.

Noticed by:	David Wolfskill <david@catwhisker.org>
2001-04-17 18:16:46 +00:00
kris
c6ccf71cc0 Note that the previous commit also restored some historical behaviour
in the TCP_COMPAT_42 case (e.g. choosing '1' as the initial sequence
number at boot-time, instead of randomizing it).  TCP_COMPAT_42 is the
repository for old security holes, too :-)
2001-04-17 18:14:37 +00:00
kris
0c55f2e6da Randomize the TCP initial sequence numbers more thoroughly.
Obtained from:	OpenBSD
Reviewed by:	jesper, peter, -developers
2001-04-17 18:08:01 +00:00
jhb
f2fbc423a1 Fix an old bug related to BETTER_CLOCK. Call forward_*clock if SMP
and __i386__ are defined rather than if SMP and BETTER_CLOCK are defined.
The removal of BETTER_CLOCK would have broken this except that kern_clock.c
doesn't include <machine/smptests.h>, so it doesn't see the definition of
BETTER_CLOCK, and forward_*clock aren't called, even on 4.x.  This seems to
fix the problem where a n-way SMP system would see 100 * n clk interrupts
and 128 * n rtc interrupts.
2001-04-17 17:53:36 +00:00
schweikh
8d48c36eaf Typos fixed.
Approved by:	jkh
2001-04-17 17:42:46 +00:00
n_hibma
666a229175 Regen. 2001-04-17 15:53:35 +00:00
n_hibma
6d8536593a Add the HP scanner 3400C 2001-04-17 15:53:20 +00:00
n_hibma
b7ba82d18a Regen. 2001-04-17 15:34:44 +00:00
n_hibma
d36374f53c Lexar jumpSHOT Id.
Submitted by:	gshapiro
2001-04-17 15:34:22 +00:00
n_hibma
af860f7491 Remove a bogus %s from a printf.
Submitted by:	kris
2001-04-17 15:00:03 +00:00
gallatin
36a5c45998 set gd_other_cpus later, when we have a better idea what the other cpus
are.

submitted by: jhb
2001-04-17 14:59:05 +00:00
gallatin
72d859dc84 Improved support for alpha SMP. The following commit gets dual AS2100s
and AS4100s into single user mode. This work was done jointly by jhb and
myself, and builds on dfr's earlier work.

smp_init_secondary() / smp_start_secondary()
- use the uniq val to pass the globalp (me)
- fancy footwork to take any pending machine checks (me)
- doing things the FreeBSD way and getting the per-cpu idleproc created
  correctly, and synchronizing the startup of secondaries (jhb)

mp_start()
- better recognition of available cpus (jhb)

smp_rendezvous()
- if smp hasn't started, only run the rendezvous function on the current
cpu.  Sleuthing and (prior) incorrect fix by me, correct fix by jhb

smp_handle_ipi()
- more verbose handling of console messages (jhb)
- grab sched lock around setting PS_ASTPENDING (jhb)

forward_*clock()
- commented out.  Joint decision by dfr, jhb and myself

 General synchronization improvements (more mb()s, etc) (jhb)

 Printf cleanups (joint)

 Whitespace cleanups (jhb)
2001-04-17 14:55:09 +00:00
ru
9a9e1be01c Update upgrade instructions. 2001-04-17 14:31:56 +00:00
ru
45d5a00555 Remove share/tmac/locale/ and share/tmac/mdoc/locale/. 2001-04-17 14:22:50 +00:00
gallatin
46b69f69df Changes to support SMP:
- don't do the stack overflow sanity check on MP systems -- p->p_addr
will be malloc'ed memory (not K0SEG) and the check will fail.

- don't ignore clock interrupts on secondaries.  Alphas apparently
roundrobin clock interrupts to all cpus, so we're going to take clock
interrupts on all CPUS and not forward them.
2001-04-17 14:20:33 +00:00
gallatin
6d75f2cafd changes to smp_init_secondary_glue():
- use the unique value to save the per-cpu globalp struct like the
  comment says

- don't lower the ipl to ALPHA_PSL_IPL_HIGH: we may have a pending machine
  check to take and we're not prepared for that yet, as we haven't setup
  our interrupt entry points. (this may only happen on sable/lynx)

- indicate the fact that the working version of smp_init_secondary() doesn't
  return (this is tied up in other changes and hasn't yet been committed).
2001-04-17 14:15:12 +00:00
ru
fd0735f916 FreeBSD provides its own version of this OS-specific file. 2001-04-17 13:32:10 +00:00
sobomax
2ebe223069 Add Ukrainian language support for FreeBSD console.
Submitted by:	Olexander Kunytsa <kunia@istc.kiev.ua>
Reviewed by:	ache, phantom, ru, sobomax
2001-04-17 12:51:27 +00:00
ru
8cadefed21 Synch template with one documented in the new mdoc(7) manpage. 2001-04-17 12:51:21 +00:00
ru
fa75077aa7 mdoc.samples(7) is superseded by mdoc(7). 2001-04-17 12:49:42 +00:00
ru
7da3053737 Use Groff versions of man(7) and mdoc(7) manpages.
mdoc.samples(7) is superseded by mdoc(7).
2001-04-17 12:48:14 +00:00
ru
52dfeb6121 Synch with new contrib/groff/ directory layout. 2001-04-17 12:40:46 +00:00
ru
d59fb64c3d Upgrade to Groff 1.17. 2001-04-17 12:37:18 +00:00
ru
ce2596bad6 Removed yacc(1) output files. 2001-04-17 12:29:43 +00:00
ru
23037f0339 Merge Groff 1.17 changes. 2001-04-17 12:28:31 +00:00
ru
9fef68f9b1 Use stock (FSF) version of this file. 2001-04-17 12:28:00 +00:00
ru
61352401d3 This commit was generated by cvs2svn to compensate for changes in r75587,
which included commits to RCS files with non-trunk default branches.
2001-04-17 12:23:50 +00:00
ru
42d565388e Removed files not present in v1.17 import. 2001-04-17 12:23:50 +00:00
ru
78a36d2109 This commit was generated by cvs2svn to compensate for changes in r75584,
which included commits to RCS files with non-trunk default branches.
2001-04-17 12:12:05 +00:00
ru
0e0a0e6429 Virgin import of FSF groff v1.17 2001-04-17 12:12:05 +00:00
sobomax
3b4ec64f28 Update/improve Ukrainian translation.
Submitted by:	Olexander Kunytsa <kunia@istc.kiev.ua> (author of translation)
2001-04-17 11:00:58 +00:00
brian
9d60715bcd Dont (ab)use drv2 to know if (si_flags & SI_NAMED) (pointed out by dd)
Call cdevsw_remove when we unload.
2001-04-17 09:59:34 +00:00
dougb
7ab9ec9338 By popular demand, have adduser preserve comments at the top of the
group file. Because of the way the group sorting works while printing
out the new file it's not possible at this time to restore comments
in other locations, but at least they won't just disappear altogether.
2001-04-17 09:42:07 +00:00