]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
21 years ago- Merge struct procsig with struct sigacts.
John Baldwin [Tue, 13 May 2003 20:36:02 +0000 (20:36 +0000)]
- Merge struct procsig with struct sigacts.
- Move struct sigacts out of the u-area and malloc() it using the
  M_SUBPROC malloc bucket.
- Add a small sigacts_*() API for managing sigacts structures: sigacts_alloc(),
  sigacts_free(), sigacts_copy(), sigacts_share(), and sigacts_shared().
- Remove the p_sigignore, p_sigacts, and p_sigcatch macros.
- Add a mutex to struct sigacts that protects all the members of the struct.
- Add sigacts locking.
- Remove Giant from nosys(), kill(), killpg(), and kern_sigaction() now
  that sigacts is locked.
- Several in-kernel functions such as psignal(), tdsignal(), trapsignal(),
  and thread_stopped() are now MP safe.

Reviewed by: arch@
Approved by: re (rwatson)

21 years agoAdd pc98 archtecture entry.
Poul-Henning Kamp [Tue, 13 May 2003 19:42:52 +0000 (19:42 +0000)]
Add pc98 archtecture entry.

Approved by: re/rwatson

21 years agoIn setitimer(2), if the it_value of the new itimer value is clear, then
John Baldwin [Tue, 13 May 2003 19:21:46 +0000 (19:21 +0000)]
In setitimer(2), if the it_value of the new itimer value is clear, then
don't add the current time to it, but leave it as clear so that when the
timer is disabled, the it_value is always clear.

Reviewed by: bde
Approved by: re (rwatson)

21 years agoReword the infamouse mouse dialog to ask if you have a PS/2, serial, or
John Baldwin [Tue, 13 May 2003 19:16:00 +0000 (19:16 +0000)]
Reword the infamouse mouse dialog to ask if you have a PS/2, serial, or
bus mouse instead of if you have a non-USB mouse.

Requested by: many
Prodded by: dougb
Approved by: re (scottl)

21 years agoNew release/hardware notes: ips driver.
Bruce A. Mah [Tue, 13 May 2003 18:15:28 +0000 (18:15 +0000)]
New release/hardware notes:  ips driver.

Approved by: re (implicitly)

21 years agoAdd some extra #ifdef stubs so that this compiles on 4.8.
John Baldwin [Tue, 13 May 2003 16:59:46 +0000 (16:59 +0000)]
Add some extra #ifdef stubs so that this compiles on 4.8.

Approved by: re (rwatson/bmah)

21 years agoMove the ips driver from ${MACHINE_ARCH} == "i386" to ${MACHINE} == "i386".
Yoshihiro Takahashi [Tue, 13 May 2003 11:26:08 +0000 (11:26 +0000)]
Move the ips driver from ${MACHINE_ARCH} == "i386" to ${MACHINE} == "i386".

Approved by: re (scottl)

21 years agoRevert unnecessary part of previous commit.
Dag-Erling Smørgrav [Tue, 13 May 2003 10:18:49 +0000 (10:18 +0000)]
Revert unnecessary part of previous commit.

21 years agoFix broken comment line introduced in rev 1.69.
Sheldon Hearn [Tue, 13 May 2003 08:29:49 +0000 (08:29 +0000)]
Fix broken comment line introduced in rev 1.69.

Found with: nroff -mandoc ifconfig.8 > /dev/null

21 years ago* The copy of the stat struct in the man page has rotted, so remove it.
Doug Barton [Tue, 13 May 2003 08:10:05 +0000 (08:10 +0000)]
* The copy of the stat struct in the man page has rotted, so remove it.
Those who really need this information can find it in the include file.

* Include a succinct description of the st_birthtime field.

Approved by: re (bmah)

21 years agoOptimize the use of splay in gbincore(). During a "make buildworld" the
Alan Cox [Tue, 13 May 2003 04:36:02 +0000 (04:36 +0000)]
Optimize the use of splay in gbincore().  During a "make buildworld" the
desired buffer is found at one of the roots more than 60% of the time.
Thus, checking both roots before performing either splay eliminates
unnecessary splays on the first tree splayed.

Approved by: re (jhb)

21 years agoFollowing MLINKS added, which point to host_access(3):
Hiten Pandya [Mon, 12 May 2003 21:59:16 +0000 (21:59 +0000)]
Following MLINKS added, which point to host_access(3):

- hosts_ctl(3), hosts_access(3), request_init(3),
  request_set(3).

PR: docs/52000
Submitted by: Simon L. Nielsen <simon@nitro.dk>
Approved and Reviewed by: des (mentor), re (scottl)

21 years agoAdd an MLINK for rc.d(8) which points to rc(8). The former is
Hiten Pandya [Mon, 12 May 2003 21:52:46 +0000 (21:52 +0000)]
Add an MLINK for rc.d(8) which points to rc(8).  The former is
referenced by rc.subr(8).

Approved by: des (mentor), re (scottl)

21 years agoFix .Xr typo.
Hiten Pandya [Mon, 12 May 2003 21:47:39 +0000 (21:47 +0000)]
Fix .Xr typo.

Approved by: des (mentor), re (scottl)

21 years agoDocument ioctl(2) operations of the agp(4) subsystem. The original patch
Hiten Pandya [Mon, 12 May 2003 21:34:29 +0000 (21:34 +0000)]
Document ioctl(2) operations of the agp(4) subsystem.  The original patch
was obtained from [1], with heavy editing, and ammending text for some of
the ioctls.

All ioctls (in sys/agpio.h) are now documented.

PR: docs/50503
Original patch by: Alex Semenyaka <alexs@snark.ratmir.ru> [1]

Content approved by:

- Eric Anholt <anholt@FreeBSD.ORG>
- Matthew N. Dodd <mdodd@FreeBSD.ORG> (cursory review)

Approved and Reviewed by: des (mentor), re (scottl)

21 years agoWhen a disk disappears, destroy the class from the event thread
Poul-Henning Kamp [Mon, 12 May 2003 20:15:28 +0000 (20:15 +0000)]
When a disk disappears, destroy the class from the event thread
to avoid race condtion.

Approved by: re/rwatson

21 years agoAdd support for 3Com OfficeConnect 10/100B.
Martin Blapp [Mon, 12 May 2003 19:50:21 +0000 (19:50 +0000)]
Add support for 3Com OfficeConnect 10/100B.

PR: 49059, 50747
Submitted by: Dax Eckenberg <daxbert@dweebsoft.com>
Reviewed by: imp, jhb
Approved by: jhb
MFC after: 2 weeks

21 years agoRemove -p from getopt args.
Tom Rhodes [Mon, 12 May 2003 19:48:47 +0000 (19:48 +0000)]
Remove -p from getopt args.

PR: 37221
Submitted by: Joshua Goodall <joshua@roughtrade.net>
Reviewed by: rwatson
Approved by: re (jhb)

21 years agoRename a few functions to avoid stealing common words (error, log, debug
Dag-Erling Smørgrav [Mon, 12 May 2003 19:22:47 +0000 (19:22 +0000)]
Rename a few functions to avoid stealing common words (error, log, debug
etc.) from the application namespace for programs that use pam_ssh(8).
Use #defines to avoid changing the actual source code.

Approved by: re (rwatson)

21 years agoAdd __amd64__ to an ifdef set so that pppd compiles. Reactivate on amd64.
Peter Wemm [Mon, 12 May 2003 18:51:31 +0000 (18:51 +0000)]
Add __amd64__ to an ifdef set so that pppd compiles.  Reactivate on amd64.

Approved by:  re (amd64 "safe" ifdefs etc)

21 years agoReally stop the loader from trying to load the acpi module by lying and
Peter Wemm [Mon, 12 May 2003 18:37:56 +0000 (18:37 +0000)]
Really stop the loader from trying to load the acpi module by lying and
pretending that it is already here.

Approved by: re (amd64/* stuff)

21 years agoFor the page fault handler, save %cr2 in the outer trap handler so that
Peter Wemm [Mon, 12 May 2003 18:33:19 +0000 (18:33 +0000)]
For the page fault handler, save %cr2 in the outer trap handler so that
we do not have to run so long with interrupts disabled.  This involved
creating tf_addr in the trapframe.  Reorganize the trap stubs so that
they consistently reserve the stack space and initialize any missing
bits.

Approved by: re (amd64 stuff)

21 years agoSync ucontext with reality. The struct trapframe changes need to be
Peter Wemm [Mon, 12 May 2003 18:23:04 +0000 (18:23 +0000)]
Sync ucontext with reality.  The struct trapframe changes need to be
reflected here.

Approved by: re (blanket amd64/*)

21 years agoFix the unaligned access problems that some people saw on alpha
Maxime Henrion [Mon, 12 May 2003 18:15:33 +0000 (18:15 +0000)]
Fix the unaligned access problems that some people saw on alpha
by using a __packed keyword for the fxp_rfa structure.  The Intel
guys who designed this structure with unaligned fields deserve
to be shot.

Tested by: kris
Approved by: re@ (jhb)

21 years agoMove some printfs under bootverbose since they are not true errors.
Nate Lawson [Mon, 12 May 2003 16:54:55 +0000 (16:54 +0000)]
Move some printfs under bootverbose since they are not true errors.

Approved by: re (bmah)

21 years agoFix typo (that even got cut/pasted 2 times)
Søren Schmidt [Mon, 12 May 2003 16:43:13 +0000 (16:43 +0000)]
Fix typo (that even got cut/pasted 2 times)

Found by: phk
Approved by: re@

21 years agoFix an off-by-1 error.
Poul-Henning Kamp [Mon, 12 May 2003 15:26:05 +0000 (15:26 +0000)]
Fix an off-by-1 error.

Found by: FlexeLint
Reviewed by: sos
Approved by: re/rwatson

21 years agoBail out if there were not two loadable sections. Add XXX comment about
Poul-Henning Kamp [Mon, 12 May 2003 15:08:10 +0000 (15:08 +0000)]
Bail out if there were not two loadable sections.  Add XXX comment about
one other issue.

Approved by: re/rwatson.

21 years agoRemove bogus locking from DDB's "show lockedvnods" command: using
Robert Watson [Mon, 12 May 2003 14:37:47 +0000 (14:37 +0000)]
Remove bogus locking from DDB's "show lockedvnods" command: using
synchronization primitives from inside DDB is generally a bad idea,
and in this case it frequently results in panics due to DDB commands
being executed from the sio fast interrupt context on a serial
console.  Replace the locking with a note that a lack of locking
means that DDB may get see inconsistent views of the mount and vnode
lists, which could also result in a panic.  More frequently,
though, this avoids a panic than causes it.

Discussed with ages ago: bde
Approved by: re (scottl)

21 years agoThe alpha drivers floppy is overflowing. Remove firewire support,
Wilko Bulte [Mon, 12 May 2003 13:12:08 +0000 (13:12 +0000)]
The alpha drivers floppy is overflowing. Remove firewire support,
which is not common on Alpha anyway. Time to have > 1 driver floppy it
appears.

Approved by: re (murray)

21 years agopccard_ether didn't setup IPv6 after rcTOS sweep.
Hajimu UMEMOTO [Mon, 12 May 2003 11:36:50 +0000 (11:36 +0000)]
pccard_ether didn't setup IPv6 after rcTOS sweep.

Reviewed by: mtm and dougb
Approved by: re (scott)

21 years agoForced commit for previous revision
Mike Makonnen [Mon, 12 May 2003 10:50:18 +0000 (10:50 +0000)]
Forced commit for previous revision

Correct reversed variable assignments.
Re-enable the call to _mutex_lock_backout(). This might
need revisiting once internal locking of mutex and cv is done.

Approved by: markm/mentor, re/blanket libthr
Reviewed by: jeff

21 years agoForced commit, for previous revision.
Mike Makonnen [Mon, 12 May 2003 10:48:02 +0000 (10:48 +0000)]
Forced commit, for previous revision.

Make state transitions of a thread on a mutex queue
atomic (with respect to other threads and signal handlers).
This includes:
o Introduce two functions to implement atomicity with respect
  to other threads and signal handlers. Basically,
  _thread_critical_enter() locks the calling thread and blocks
  signals. _thread_critical_exit() unblocks signals and unlocks
  the thread.

o Introduce two new functions:
  get_muncontested() locks a mutex that is not owned by
  another thread.
  get_mcontested() places a thread on a contested mutex's
  queue, taking care to use the _thread_critical_enter/exit
  functions to protect thread state.

o Modify mutex_unlock_common() to also protect state transitions.
  In this case it needs the cooperation of mutex_queue_deq(), which
  must return with the thread locked and signals disabled *before*
  it takes the thread off the queue.

Combine _pthread_mutex_lock() and _pthread_mutex_trylock()
into one function: mutex_lock_common(), that can handle
both cases. Its behaviour is controlled by an argument,
int nonblock, which if not zero means do not attempt
to acquire a contested mutex if the uncontested case fails.

BTW, when I write about contested and uncontested mutexes, I'm writing
about it from the application's point of view. I'm not writing about
internal locking of pthread_mutex->lock, which is achieved differently.

While internal mutex locking is mostly done, there's still a bit more
work left in this area.

Approved by: markm/mentor, re/blanket libthr
Reviewed by: jeff (slightly diff. revision)

21 years agomsg2
Mike Makonnen [Mon, 12 May 2003 10:40:53 +0000 (10:40 +0000)]
msg2

21 years agomsg1
Mike Makonnen [Mon, 12 May 2003 10:34:01 +0000 (10:34 +0000)]
msg1

21 years agoFix lookup of module metadata on amd64 systems. While this is in
Peter Wemm [Mon, 12 May 2003 05:48:09 +0000 (05:48 +0000)]
Fix lookup of module metadata on amd64 systems.  While this is in
common code, the non-trivial part is #ifdef'ed and only executes when
loading amd64 kernels. The rest is trivial but needed for the the amd64
case. (Two variables changed from char ** to Elf_Addr).

Approved by: re (amd64 "low-risk" stuff)

21 years agoUnderstand GEOM. This makes growfs work again, but it really needs rewriting.
Greg Lehey [Mon, 12 May 2003 05:37:16 +0000 (05:37 +0000)]
Understand GEOM.  This makes growfs work again, but it really needs rewriting.

Submitted by:  Lukas Ertl <l.ertl@univie.ac.at>
Approved by: re (scottl)

21 years agoDon't pass NULL pointer to memset if we are compiled with DIAGNOSTIC
Poul-Henning Kamp [Mon, 12 May 2003 05:09:56 +0000 (05:09 +0000)]
Don't pass NULL pointer to memset if we are compiled with DIAGNOSTIC

Approved by: re/rwatson

21 years agoDon't #define memset() to bzero(), it is far too prone to bite somebody.
Poul-Henning Kamp [Mon, 12 May 2003 05:08:38 +0000 (05:08 +0000)]
Don't #define memset() to bzero(), it is far too prone to bite somebody.

Approved by: re/scottl

21 years agoRevert leftover AMD64 disable-acpi-module stuff.
Peter Wemm [Mon, 12 May 2003 04:57:05 +0000 (04:57 +0000)]
Revert leftover AMD64 disable-acpi-module stuff.

21 years agoRegen.
Murray Stokely [Mon, 12 May 2003 04:27:22 +0000 (04:27 +0000)]
Regen.

Approved by: re

21 years agoAMD64 physical space is much larger than i386, de-i386 the bus_space and
Peter Wemm [Mon, 12 May 2003 02:44:37 +0000 (02:44 +0000)]
AMD64 physical space is much larger than i386, de-i386 the bus_space and
bus_dma MD code for AMD64.  (And a trivial ifdef update in dev/kbd because
of this).  More updates are needed here to take advantage of the 64 bit
instructions.

Approved by: re (blanket amd64/*)

21 years agoMove the em driver from flopp3 to floppy 2 to make room for the ips driver.
Scott Long [Mon, 12 May 2003 02:40:24 +0000 (02:40 +0000)]
Move the em driver from flopp3 to floppy 2 to make room for the ips driver.

21 years agoGive a %fs and %gs to userland. Use swapgs to obtain the kernel %GS.base
Peter Wemm [Mon, 12 May 2003 02:37:29 +0000 (02:37 +0000)]
Give a %fs and %gs to userland.  Use swapgs to obtain the kernel %GS.base
value on entry and exit.  This isn't as easy as it sounds because when
we recursively trap or interrupt, we have to avoid duplicating the
swapgs instruction or we end up back with the userland %gs.  I implemented
this by testing TF_CS to see if we're coming from supervisor mode
already, and check for returning to supervisor. To avoid a race with
interrupts in the brief period after beginning executing the handler and
before the swapgs, convert all trap gates to interrupt gates, and reenable
interrupts immediately after the swapgs.  I am not happy with this.
There are other possible ways to do this that should be investigated.
(eg: storing the GS.base MSR value in the trapframe)

Add some sysarch functions to let the userland code get to this.

Approved by: re (blanket amd64/*)

21 years agoMake it compiled on 4-stable.
Hidetoshi Shimokawa [Mon, 12 May 2003 00:42:28 +0000 (00:42 +0000)]
Make it compiled on 4-stable.

Approved by: re (scottl)

21 years agoExtend the digital camera support (umass) to the PENTAX Optio 330GS.
Josef Karthauser [Sun, 11 May 2003 23:55:28 +0000 (23:55 +0000)]
Extend the digital camera support (umass) to the PENTAX Optio 330GS.

Submitted by: Jan-Oliver Neumann <neumannj@arcor.de>
By way of: n_hibma
Approved by: re (jhb & bmah)
MFC After: 7 days

21 years agoBring in NetBSD's version 1.11, which includes documenation for the new
Doug Barton [Sun, 11 May 2003 23:07:07 +0000 (23:07 +0000)]
Bring in NetBSD's version 1.11, which includes documenation for the new
inode birthtime display, and quite a bit of mdoc cleanup, which brings
it much more in line with our mdoc style.

Approved by: re (bmah)
Obtained from: Andrew Brown <atatat@NetBSD.org> (content), Grant Beattie <grant@NetBSD.org> (mdoc)

21 years agoImport NetBSD's 1.10 version, which includes the ability to display
Doug Barton [Sun, 11 May 2003 23:02:09 +0000 (23:02 +0000)]
Import NetBSD's 1.10 version, which includes the ability to display
the new inode birthtime field, a few other small cleanups, and
synchronization with our #include <sys/types.h>.

Approved by: re (bmah)
Obtained from: Andrew Brown <atatat@NetBSD.org>

21 years agoCall it an AMD64 Processor, not a Hammer. Also, it seems that the cpuid
Peter Wemm [Sun, 11 May 2003 23:01:04 +0000 (23:01 +0000)]
Call it an AMD64 Processor, not a Hammer.  Also, it seems that the cpuid
model numbers are wider than I first thought.

Approved by: re (blanket amd64/*)

21 years agoI missed another printf format error while extracting the patch.
Peter Wemm [Sun, 11 May 2003 22:55:40 +0000 (22:55 +0000)]
I missed another printf format error while extracting the patch.

Approved by: re (blanket amd64/*)

21 years agoMake atdevbase long for the KERNBASE > 4GB case
Peter Wemm [Sun, 11 May 2003 22:53:43 +0000 (22:53 +0000)]
Make atdevbase long for the KERNBASE > 4GB case

Approved by: re (amd64/* blanket)

21 years agoFor amd64 kernels, repeat the 1GB mapping over the entire address space
Peter Wemm [Sun, 11 May 2003 22:42:29 +0000 (22:42 +0000)]
For amd64 kernels, repeat the 1GB mapping over the entire address space
instead of just at 0GB and 1GB marks.  This gives more flexibility for
the choice of KERNBASE.

Approved by: re (amd64 stuff)

21 years agoFix printf format errors that were undetected due to using the standard
Peter Wemm [Sun, 11 May 2003 22:40:25 +0000 (22:40 +0000)]
Fix printf format errors that were undetected due to using the standard
FSF compiler during early development.

21 years agoExport PML4SHIFT and PDPSHIFT
Peter Wemm [Sun, 11 May 2003 22:39:40 +0000 (22:39 +0000)]
Export PML4SHIFT and PDPSHIFT

Approved by: re (blanket amd64/*)

21 years agoSince compiling natively, the compile environment has been less forgiving
Peter Wemm [Sun, 11 May 2003 22:38:54 +0000 (22:38 +0000)]
Since compiling natively, the compile environment has been less forgiving
about silly typos.  Use the correct comment sequences.

21 years agoCorrect a type in the bugs section. Also turn it into a list.
Gordon Tetlow [Sun, 11 May 2003 22:22:10 +0000 (22:22 +0000)]
Correct a type in the bugs section. Also turn it into a list.

Approved by: re(murray)

21 years agoProvide exec_linux_setregs() to override exec_setregs().
Matthew N. Dodd [Sun, 11 May 2003 21:51:11 +0000 (21:51 +0000)]
Provide exec_linux_setregs() to override exec_setregs().
Linux initializes %gs to 0.  Mimic this behavior.

Submitted by:  Christian Zander <zander@minion.de>
Reviewed by:  jake
Approved by:  re

21 years agoRemove some KRB4 scraps, and allow NOSHARED make worlds to
Mark Murray [Sun, 11 May 2003 18:49:29 +0000 (18:49 +0000)]
Remove some KRB4 scraps, and allow NOSHARED make worlds to
complete.

OK'ed by: re(scottl)

21 years agoAllow a NOPIC "make world" to complete.
Mark Murray [Sun, 11 May 2003 18:48:29 +0000 (18:48 +0000)]
Allow a NOPIC "make world" to complete.

OK'ed by: re(scottl)

21 years agoMrege from crypto telnet with "make unifdef". This gets a bunch of
Mark Murray [Sun, 11 May 2003 18:27:49 +0000 (18:27 +0000)]
Mrege from crypto telnet with "make unifdef". This gets a bunch of
$FreeBSD$ tags and some debug variable safety belts.

21 years agoFix up external variables named "debug" that have a horrible habit
Mark Murray [Sun, 11 May 2003 18:17:00 +0000 (18:17 +0000)]
Fix up external variables named "debug" that have a horrible habit
of conflicting with other, similarly named functions in static
libraries. This is done mostly by renaming the var if it is shared
amongst modules, or making it static otherwise.

OK'ed by: re(scottl)

21 years ago- Use moderate gap counts listed in IEEE1394a.
Hidetoshi Shimokawa [Sun, 11 May 2003 10:32:20 +0000 (10:32 +0000)]
- Use moderate gap counts listed in IEEE1394a.
- Simplify and correct the bus manager election process.
- Check link_active when choosing cycle master.
- Fix location of the cmr bit.

Approved by: re (scottl)

21 years agoTeach sysinstall about the ServeRAID disk device.
Scott Long [Sun, 11 May 2003 07:18:26 +0000 (07:18 +0000)]
Teach sysinstall about the ServeRAID disk device.

21 years agoThe ips ServeRAID driver can go on the driver floppy.
Scott Long [Sun, 11 May 2003 06:42:09 +0000 (06:42 +0000)]
The ips ServeRAID driver can go on the driver floppy.

21 years agoHook up the ips module
Scott Long [Sun, 11 May 2003 06:40:09 +0000 (06:40 +0000)]
Hook up the ips module

21 years agoAdd notes about the 'ips' driver.
Scott Long [Sun, 11 May 2003 06:39:05 +0000 (06:39 +0000)]
Add notes about the 'ips' driver.

21 years agoAdd files for the 'ips' driver.
Scott Long [Sun, 11 May 2003 06:37:52 +0000 (06:37 +0000)]
Add files for the 'ips' driver.

21 years agoAdd the 'ips' driver for the IBM (now Adaptec) ServeRAID controller
Scott Long [Sun, 11 May 2003 06:36:49 +0000 (06:36 +0000)]
Add the 'ips' driver for the IBM (now Adaptec) ServeRAID controller
series.  This driver was generously developed and released by David
Jeffreys and Adaptec.  I've updated it to work with 5.x and fixed a
few bugs.

MFC After: 1 week

21 years agogarbage collect the reserved major for the ips disk device. GEOM makes
Scott Long [Sun, 11 May 2003 06:18:33 +0000 (06:18 +0000)]
garbage collect the reserved major for the ips disk device.  GEOM makes
it unneeded.

21 years agoMake the README reflect reality.
Julian Elischer [Sun, 11 May 2003 02:19:10 +0000 (02:19 +0000)]
Make the README reflect reality.

Approved by: re@ (blanket for bluetooth upgrade)

21 years agoRe-enable the broadcom firmware utility now that the Makefile in that subdir
Julian Elischer [Sun, 11 May 2003 02:11:50 +0000 (02:11 +0000)]
Re-enable the broadcom firmware utility now that the Makefile in that subdir
has been fixed to not need the missing files.
The firmware files themselves still now need to be fetched from the internet.
The README there gives the location.

Approved by: re@ (part of bluetooth upgrade)

21 years agoFix (presently unused) Makefile to not need files not yet checked in.
Julian Elischer [Sun, 11 May 2003 02:08:10 +0000 (02:08 +0000)]
Fix (presently unused) Makefile to not need files not yet checked in.
Submitted by: Maksim Yevmenkin <m_evmenkin@yahoo.com>

Approved by: re@ (part of Bluetooth upgrade)

21 years agoRemove remnants of the -p option. While I'm here, remove wording about
Tom Rhodes [Sun, 11 May 2003 00:38:58 +0000 (00:38 +0000)]
Remove remnants of the -p option.  While I'm here, remove wording about
-P which could be interpreted as 'this option must be specified'.

PR: 37221 && 51886
Discussed with: bmah
Approved by: re (blanket)

21 years agoLast commit of the bluetooth upgrade. (this patch was forgotten in the first
Julian Elischer [Sat, 10 May 2003 22:11:25 +0000 (22:11 +0000)]
Last commit of the bluetooth upgrade. (this patch was forgotten in the first
commit)

Submitted by: Maksim Yevmenkin <m_evmenkin@yahoo.com>
Approved by: re@

21 years agoDon't compile the broadcom firmware module yet.
Julian Elischer [Sat, 10 May 2003 22:05:14 +0000 (22:05 +0000)]
Don't compile the broadcom firmware module yet.

21 years agoBroadcom firmware loading module.. The actual firmware files will follow when
Julian Elischer [Sat, 10 May 2003 22:03:45 +0000 (22:03 +0000)]
Broadcom firmware loading module.. The actual firmware files will follow when
the legal status has been confirmed, in the meanwhile they can be
downloaded from the location in the README file.

21 years agoThis file just didn't want to commit in the last batch of bluetooth files.
Julian Elischer [Sat, 10 May 2003 21:53:43 +0000 (21:53 +0000)]
This file just didn't want to commit in the last batch of bluetooth files.
Approved by: re@

21 years agoPart 2 of the commit if new bluetooth code.
Julian Elischer [Sat, 10 May 2003 21:50:37 +0000 (21:50 +0000)]
Part 2 of the commit if new bluetooth code.
Submitted by: Maksim Yevmenkin <m_evmenkin@yahoo.com>
Approved by: re@

21 years agoPart one of undating the bluetooth code to the newest version
Julian Elischer [Sat, 10 May 2003 21:44:42 +0000 (21:44 +0000)]
Part one of undating the bluetooth code to the newest version

Submitted by:   Maksim Yevmenkin <m_evmenkin@yahoo.com>
Approved by: re@

21 years agoPut back the error checking in wtfs() that was lost when newfs was
Ian Dowse [Sat, 10 May 2003 18:58:17 +0000 (18:58 +0000)]
Put back the error checking in wtfs() that was lost when newfs was
changed to use libufs in revision 1.71. Without this, any write
failures in newfs were silently ignored.

Note that this will display a meaningless errno string in the case
of a short write as opposed to a write error, since bwrite()'s
return value does not allow the caller to determine if errno is
valid.

Reported by: Lukas Ertl <l.ertl@univie.ac.at>
Reviewed by: jmallett
Approved by: re (bmah)

21 years agoMake m_freem() just use m_free() instead of duplicating the code. The
Bosko Milekic [Sat, 10 May 2003 18:08:23 +0000 (18:08 +0000)]
Make m_freem() just use m_free() instead of duplicating the code.  The
reason for the duplication was that m_freem() was meant to eventually
be optimized to hold the lock of the cache being freed to as long as
possible across frees but the difficulty of implementing said
optimization right now is too high, given that in some cases (see MAC
and non-cluster external buffers), we need to call into other subsytems,
something not permissible when the cache lock is held.

This change minimizes code duplication while keeping at least the
atomic mbuf+cluster free optimization.

Suggested by: luigi

21 years agoNo vga(4) on pc98.
Bruce A. Mah [Sat, 10 May 2003 16:30:56 +0000 (16:30 +0000)]
No vga(4) on pc98.

Submitted by: nyan
Approved by: re (implicitly)

21 years agoAdd a couble new Intel PCI id's
Søren Schmidt [Sat, 10 May 2003 14:49:19 +0000 (14:49 +0000)]
Add a couble new Intel PCI id's

Approved by: re@

21 years agoRemove special hacks for FSF cross tools now that it builds natively.
Peter Wemm [Sat, 10 May 2003 01:12:24 +0000 (01:12 +0000)]
Remove special hacks for FSF cross tools now that it builds natively.

21 years agoProvide a fake varargs implementation for lint's benefit. This way
Peter Wemm [Sat, 10 May 2003 00:55:15 +0000 (00:55 +0000)]
Provide a fake varargs implementation for lint's benefit.  This way
it can see the intent of the va_* macros, even though it cannot work.

Approved by: re (blanket amd64/*)

21 years agoRemove _ARCH_INDIRECT ifdefs. They existed for lib/msun/* on i386, which
Peter Wemm [Sat, 10 May 2003 00:53:34 +0000 (00:53 +0000)]
Remove _ARCH_INDIRECT ifdefs.  They existed for lib/msun/* on i386, which
could use different versions of the math code depending on whether there
was real floating point hardware or math emulation.  Since the fpu is
part of the core specification on amd64, there is no need for this here.

Approved by: re (blanket amd64/*)

21 years agobcopyb() isn't used on amd64 kernel (it only exists for i386/pcvt)
Peter Wemm [Sat, 10 May 2003 00:51:29 +0000 (00:51 +0000)]
bcopyb() isn't used on amd64 kernel (it only exists for i386/pcvt)

Approved by: re (blanket amd64/*)

21 years agoFinish translating i386/support.s into amd64 asm - replace bcopy etc with
Peter Wemm [Sat, 10 May 2003 00:49:56 +0000 (00:49 +0000)]
Finish translating i386/support.s into amd64 asm - replace bcopy etc with
asm versions.  This yields about a 5% kernel compile time speedup.

21 years agoUpdate ldexp.c for amd64.
Peter Wemm [Sat, 10 May 2003 00:47:52 +0000 (00:47 +0000)]
Update ldexp.c for amd64.

21 years agoFlesh out information on pointing devices and add some manpage
Bruce A. Mah [Fri, 9 May 2003 23:14:02 +0000 (23:14 +0000)]
Flesh out information on pointing devices and add some manpage
cross-references for keyboards.  Add a mention of VGA video cards, and
pointers to XFree86 where appropriate.

PR: 43410

21 years agoWhen a GEOM (/dev-)device is closed and we find that I/O requests are
Poul-Henning Kamp [Fri, 9 May 2003 21:25:28 +0000 (21:25 +0000)]
When a GEOM (/dev-)device is closed and we find that I/O requests are
still outstanding, give them a chance to complete.

If after 10 seconds we still find outstanding I/O requests, complete
the close with a console warning that the system is likely to panic
later on.

This is a workaround for umount -f not quite doing the right thing.

Approved by:    re/scottl

21 years agoTurn off ppp (ICE) and pppd (cc objects to a varargs decl) on amd64.
Peter Wemm [Fri, 9 May 2003 21:06:41 +0000 (21:06 +0000)]
Turn off ppp (ICE) and pppd (cc objects to a varargs decl) on amd64.

21 years agoBefore reading an ascii label, initialize with defaults so that
Poul-Henning Kamp [Fri, 9 May 2003 20:26:17 +0000 (20:26 +0000)]
Before reading an ascii label, initialize with defaults so that
getasciipartspec() has a sectorisize in case it needs one.

Approved by: re/jhb

21 years agoRemove Giant from kern_sigsuspend() and osigsuspend() as these should now
John Baldwin [Fri, 9 May 2003 19:11:32 +0000 (19:11 +0000)]
Remove Giant from kern_sigsuspend() and osigsuspend() as these should now
be MP safe.

Approved by: re (scottl)

21 years agoSigh, this shows just how much one can be conditioned my the environment:
Poul-Henning Kamp [Fri, 9 May 2003 19:07:59 +0000 (19:07 +0000)]
Sigh, this shows just how much one can be conditioned my the environment:

Just because we for the last ten years have fought for every byte
in the boot code on i386, doesn't mean that other architectures could
not actually have space to spare there.

Remore debugging message.

21 years agoInclude the MXCSR initial values, based on the AMD docs. This file
Peter Wemm [Fri, 9 May 2003 18:28:05 +0000 (18:28 +0000)]
Include the MXCSR initial values, based on the AMD docs.  This file
should really be renamed to fpu.h and npx.c to fpu.c since its part of
the core architecture on amd64 systems, not an isa 'numeric processor
extension'.

21 years agoTurn syscons on now that it works, so that anybody trying to run this
Peter Wemm [Fri, 9 May 2003 18:26:06 +0000 (18:26 +0000)]
Turn syscons on now that it works, so that anybody trying to run this
can see something.  Probing for keyboard still works for auto serial
console mode.

21 years agoTrivial addition of __amd64__ to the ifdefs for platforms that use
Peter Wemm [Fri, 9 May 2003 18:24:40 +0000 (18:24 +0000)]
Trivial addition of __amd64__ to the ifdefs for platforms that use
i386-style vga console support.

Approved by:  re

21 years agoThe disc1 package set has overfilled the disc. Axe linux-netscape-navigator-4.8
Scott Long [Fri, 9 May 2003 09:41:18 +0000 (09:41 +0000)]
The disc1 package set has overfilled the disc.  Axe linux-netscape-navigator-4.8
to free up space.  linux-netscape-communicator-4.8 remains and is a superset of
the former for those who are stuck are the 1990's =-)

21 years agoDocument the last field of the procfs 'status' node, which either
Hiten Pandya [Fri, 9 May 2003 09:20:26 +0000 (09:20 +0000)]
Document the last field of the procfs 'status' node, which either
displays the 'hostname' of the jail, or a hyphen '-' to indicate
that the process is not jailed.

PR: docs/37470
Submitted by: Adrian Filipi-Martin <adrian@ubergeeks.com>
Approved and Reviewed by: des (mentor), re (bmah)