]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
21 years agoTry to make the MBUF_FRAG_TEST code work better.
Maxime Henrion [Tue, 25 Mar 2003 23:49:14 +0000 (23:49 +0000)]
Try to make the MBUF_FRAG_TEST code work better.

- Don't try to fragment the packet if it's smaller than mbuf_frag_size.
- Preserve the size of the mbuf chain which is modified by m_split().
- Check that m_split() didn't return NULL.
- Make it so we don't end up with two M_PKTHDR mbuf in the chain.
- Use m->m_pkthdr.len instead of m->m_len so that we fragment the whole
  chain and not just the first mbuf.
- Fix a nearby style bug and rework the logic of the loops so that it's
  more clear.

This is still not quite right, because we're clearly abusing m_split() to
do something it was not designed for, but at least it works now.  We
should probably move this code into a m_fragment() function when it's
correct.

21 years agoAdd an options entry for HTT in SMP and GENERIC similar to the SMP and
John Baldwin [Tue, 25 Mar 2003 23:31:14 +0000 (23:31 +0000)]
Add an options entry for HTT in SMP and GENERIC similar to the SMP and
APIC_IO options.

Requested by: John Cagle <john.cagle@hp.com>

21 years agoPut a newline in between APIC_IO and HTT to try and show that HTT is not
John Baldwin [Tue, 25 Mar 2003 23:29:44 +0000 (23:29 +0000)]
Put a newline in between APIC_IO and HTT to try and show that HTT is not
mandatory.

21 years ago- Replace hexdump() with a prettier version.
Matthew N. Dodd [Tue, 25 Mar 2003 22:22:19 +0000 (22:22 +0000)]
- Replace hexdump() with a prettier version.
- Reformat log output.
- Consolidate PDU printing code into print_pdu().

21 years agoUpdate the description of the -u option to mention that IP_PORTRANGE_HIGH
Mike Silbersack [Tue, 25 Mar 2003 22:20:02 +0000 (22:20 +0000)]
Update the description of the -u option to mention that IP_PORTRANGE_HIGH
and _DEFAULT are the same for 5.x.

Committed under threat of action from: The mdoc police

21 years agoaic79xx.reg:
Scott Long [Tue, 25 Mar 2003 22:16:27 +0000 (22:16 +0000)]
aic79xx.reg:
Correct default precompensation value for RevA hardware.

21 years agoSet pdu->pdulen in build_pdu().
Matthew N. Dodd [Tue, 25 Mar 2003 22:10:01 +0000 (22:10 +0000)]
Set pdu->pdulen in build_pdu().

21 years agoDon't compile in lmi_object_instance().
Matthew N. Dodd [Tue, 25 Mar 2003 22:01:27 +0000 (22:01 +0000)]
Don't compile in lmi_object_instance().

21 years ago- Handle the 'GET PREFIX' request.
Matthew N. Dodd [Tue, 25 Mar 2003 20:34:46 +0000 (20:34 +0000)]
- Handle the 'GET PREFIX' request.
- Deal with MADGE_OBJECT1 requests.
- Move code inside of switch cases to separate functions.

Submitted by:  Richard Hodges <rh@matriplex.com>

21 years agoCorrect a comment.
Matthew N. Dodd [Tue, 25 Mar 2003 20:25:05 +0000 (20:25 +0000)]
Correct a comment.

Submitted by:  Richard Hodges <rh@matriplex.com>

21 years ago- Add a comment regarding SETPFX_OBJID
Matthew N. Dodd [Tue, 25 Mar 2003 20:22:02 +0000 (20:22 +0000)]
- Add a comment regarding SETPFX_OBJID
- Add an Objid definition for MADGE_OBJECT1
- Add an array to map ilmi_states to ASCII descriptions.

Submitted by:  Richard Hodges <rh@matriplex.com>

21 years agoWhitespace: wrap paragraph before column 80 (no content changes).
Jimmy Olgeni [Tue, 25 Mar 2003 20:21:20 +0000 (20:21 +0000)]
Whitespace: wrap paragraph before column 80 (no content changes).

Approved by: bmah

21 years agoSome spelling fixes.
Jimmy Olgeni [Tue, 25 Mar 2003 20:18:37 +0000 (20:18 +0000)]
Some spelling fixes.

Approved by: bmah

21 years agoRemove trailing whitespace.
Jimmy Olgeni [Tue, 25 Mar 2003 20:17:31 +0000 (20:17 +0000)]
Remove trailing whitespace.

Approved by: bmah

21 years agoClean up formatting.
Matthew N. Dodd [Tue, 25 Mar 2003 20:15:01 +0000 (20:15 +0000)]
Clean up formatting.

Submitted by:  Richard Hodges <rh@matriplex.com>

21 years agoRemove extraneous check. We are not going to return from copyin/out on
John Baldwin [Tue, 25 Mar 2003 20:13:24 +0000 (20:13 +0000)]
Remove extraneous check.  We are not going to return from copyin/out on
the stack of a thread A but actually be thread B instead of thread A.

21 years agoPrint the return value from mmap() in the DEBUG case.
Matthew N. Dodd [Tue, 25 Mar 2003 20:02:55 +0000 (20:02 +0000)]
Print the return value from mmap() in the DEBUG case.

21 years agoRevert previous commit which accidentally snuck in with some unrelated
John Baldwin [Tue, 25 Mar 2003 19:46:55 +0000 (19:46 +0000)]
Revert previous commit which accidentally snuck in with some unrelated
changes.

Reported by: bde

21 years agoRemove some more MAKEDEV information.
Tom Rhodes [Tue, 25 Mar 2003 18:43:10 +0000 (18:43 +0000)]
Remove some more MAKEDEV information.

PR: 50294
Submitted by: Sergey A. Osokin <osa@FreeBSD.org.ru>

21 years agoFix a typo in msmith's email address.
Tom Rhodes [Tue, 25 Mar 2003 18:13:20 +0000 (18:13 +0000)]
Fix a typo in msmith's email address.

Noticed by: Jesus R. Camou <jcamou@azstarnet.com>

21 years agoAdd some HP cards to the supported list of cards. Also mention
Paul Saab [Tue, 25 Mar 2003 18:08:57 +0000 (18:08 +0000)]
Add some HP cards to the supported list of cards.  Also mention
that 1000BaseTX only supports full-duplex.

Submitted by: John Cagle <john.cagle@hp.com>

21 years agoRemove MAKEDEV rot.
Tom Rhodes [Tue, 25 Mar 2003 18:08:50 +0000 (18:08 +0000)]
Remove MAKEDEV rot.

PR: 50286, 50285
Submitted by: Sergey A. Osokin <soa@FreeBSD.org.ru>

21 years agoUpdate the handbook printing section URL so that it points to the
Tom Rhodes [Tue, 25 Mar 2003 18:03:11 +0000 (18:03 +0000)]
Update the handbook printing section URL so that it points to the
correct location.

21 years agoThis commit was generated by cvs2svn to compensate for changes in r112620,
David Schultz [Tue, 25 Mar 2003 17:55:07 +0000 (17:55 +0000)]
This commit was generated by cvs2svn to compensate for changes in r112620,
which included commits to RCS files with non-trunk default branches.

21 years agoImport new sources. The only material change in this update is to
David Schultz [Tue, 25 Mar 2003 17:55:07 +0000 (17:55 +0000)]
Import new sources.  The only material change in this update is to
add locale support for hexadecimal floating point conversions.

Noticed by: ache
Reviewed by: mike (mentor)

21 years agoBack off WARNS until I've had a chance to deal with the problems on
Matthew N. Dodd [Tue, 25 Mar 2003 17:40:00 +0000 (17:40 +0000)]
Back off WARNS until I've had a chance to deal with the problems on
sparc64/alpha.

21 years agoOnce ppp session is over, the route to ff02::tun0/32 was
Hajimu UMEMOTO [Tue, 25 Mar 2003 17:01:39 +0000 (17:01 +0000)]
Once ppp session is over, the route to ff02::tun0/32 was
deleted, and never came back.  Now, the route to
ff02::tun0/32 is installed at the end of IPV6CP negitiaton.

21 years agoAdd support for identifying NORID (norwegian top level registry) handles.
Eivind Eklund [Tue, 25 Mar 2003 17:00:03 +0000 (17:00 +0000)]
Add support for identifying NORID (norwegian top level registry) handles.

Reviewed by: mike (with slight changes based on feedback afterwards)

21 years agoWe need filling scopeid to install routes for link-local
Hajimu UMEMOTO [Tue, 25 Mar 2003 16:49:08 +0000 (16:49 +0000)]
We need filling scopeid to install routes for link-local
scope addresses.

21 years agoRemove obsolete at_fork() and at_exit() manpages. Curiously, at_exec()
John Baldwin [Tue, 25 Mar 2003 16:36:47 +0000 (16:36 +0000)]
Remove obsolete at_fork() and at_exit() manpages.  Curiously, at_exec()
didn't have a manpage.

Reminded by: ru

21 years agoAdd code to implement two new USB quirk types: NO_INQUIRY and NO_INQUIRY_EVPD
Nate Lawson [Tue, 25 Mar 2003 16:21:09 +0000 (16:21 +0000)]
Add code to implement two new USB quirk types:  NO_INQUIRY and NO_INQUIRY_EVPD
The former fakes a valid response to an inquiry command.  (I am completely
blown away that there are devices which hang upon receiving inquiry).  The
latter returns "invalid request" to any inquiry commands with EVPD set.
NO_INQUIRY implies NO_INQUIRY_EVPD but not vice versa.  Both quirks have been
tested separately on my USB key although it didn't require either of them.

While I'm here, fix wildcarding so that any/all of vendor, product, revision
can be wildcarded.

Idea from: Linux
MFC after: 2 weeks

21 years agoSince ppp.link{up,down} is invoked at the end of IPCP negotiation, if
Hajimu UMEMOTO [Tue, 25 Mar 2003 15:59:27 +0000 (15:59 +0000)]
Since ppp.link{up,down} is invoked at the end of IPCP negotiation, if
we need ppp.link{up,down}, we couldn't disable IPCP.  Now, if IPCP is
disabled, ppp.link{up,down} is invoked at the end of IPV6CP
negotiation.

21 years agoRemove reference to MAKEDEV
Christian Brueffer [Tue, 25 Mar 2003 15:12:07 +0000 (15:12 +0000)]
Remove reference to MAKEDEV

21 years agoAdd a tiny manpage to make sure users aren't surprised when they
Giorgos Keramidas [Tue, 25 Mar 2003 15:07:01 +0000 (15:07 +0000)]
Add a tiny manpage to make sure users aren't surprised when they
search for MAKEDEV, now that it's deprecated.

21 years agoDelete MAKEDEV references
Giorgos Keramidas [Tue, 25 Mar 2003 15:01:10 +0000 (15:01 +0000)]
Delete MAKEDEV references

PR: 50284
Submitted by: Sergey A.Osokin <osa@FreeBSD.org.ru>

21 years agoDelete MAKEDEV references and update the text about /dev/foo control
Giorgos Keramidas [Tue, 25 Mar 2003 14:49:02 +0000 (14:49 +0000)]
Delete MAKEDEV references and update the text about /dev/foo control
devices that return the next available device when opened.

PR: 50280, 50281, 50282, 50283
Submitted by: Sergey A.Osokin <osa@FreeBSD.org.ru>

21 years agoDelete MAKEDEV references and add small blurb that points to devfs(5)
Giorgos Keramidas [Tue, 25 Mar 2003 14:35:27 +0000 (14:35 +0000)]
Delete MAKEDEV references and add small blurb that points to devfs(5)
and devd(8).

PR: docs/50278
Submitted by: Sergey A.Osokin <osa@FreeBSD.org.ru>

21 years agoDelete MAKEDEV reference.
Giorgos Keramidas [Tue, 25 Mar 2003 14:26:33 +0000 (14:26 +0000)]
Delete MAKEDEV reference.

PR: docs/50277
Submitted by: Sergey A.Osokin <osa@FreeBSD.org.ru>

21 years agoDelete MAKEDEV traces
Giorgos Keramidas [Tue, 25 Mar 2003 12:09:06 +0000 (12:09 +0000)]
Delete MAKEDEV traces

21 years agoMake -N option work.
Hajimu UMEMOTO [Tue, 25 Mar 2003 11:27:46 +0000 (11:27 +0000)]
Make -N option work.

Submitted by: KONDOU Kazuhiro <kazuhiro@alib.jp>

21 years agog_class_by_name() was unused too.
Poul-Henning Kamp [Tue, 25 Mar 2003 09:11:17 +0000 (09:11 +0000)]
g_class_by_name() was unused too.

21 years agoRemove unuse g_insert_geom().
Poul-Henning Kamp [Tue, 25 Mar 2003 09:07:35 +0000 (09:07 +0000)]
Remove unuse g_insert_geom().

21 years agoForward compatibility: NULL check the passed in meta argument.
Poul-Henning Kamp [Tue, 25 Mar 2003 09:02:41 +0000 (09:02 +0000)]
Forward compatibility:  NULL check the passed in meta argument.

21 years agoAdd an explanatory comment about what operational modes in xfwopt are.
Matt Jacob [Tue, 25 Mar 2003 07:02:45 +0000 (07:02 +0000)]
Add an explanatory comment about what operational modes in xfwopt are.

21 years agoAdd the MBUF_FRAG_TEST option. When compiled in, this option
Mike Silbersack [Tue, 25 Mar 2003 05:45:05 +0000 (05:45 +0000)]
Add the MBUF_FRAG_TEST option.  When compiled in, this option
allows you to tell ip_output to fragment all outgoing packets
into mbuf fragments of size net.inet.ip.mbuf_frag_size bytes.
This is an excellent way to test if network drivers can properly
handle long mbuf chains being passed to them.

net.inet.ip.mbuf_frag_size defaults to 0 (no fragmentation)
so that you can at least boot before your network driver dies. :)

21 years agoMerge PC98 support.
Matthew N. Dodd [Tue, 25 Mar 2003 05:19:18 +0000 (05:19 +0000)]
Merge PC98 support.

21 years agoCorrect an argument to bus_alloc_resource().
Matthew N. Dodd [Tue, 25 Mar 2003 04:34:33 +0000 (04:34 +0000)]
Correct an argument to bus_alloc_resource().

21 years agoGive print_child a default method.
Matthew N. Dodd [Tue, 25 Mar 2003 04:32:52 +0000 (04:32 +0000)]
Give print_child a default method.

21 years agoFix warnings.
Matthew N. Dodd [Tue, 25 Mar 2003 04:29:26 +0000 (04:29 +0000)]
Fix warnings.

21 years agoHook omshell(1) up to the build.
Matthew N. Dodd [Tue, 25 Mar 2003 03:16:53 +0000 (03:16 +0000)]
Hook omshell(1) up to the build.

21 years agoBuilding crunched things by hand (regenerating boot floppies for example)
Matthew N. Dodd [Tue, 25 Mar 2003 03:13:57 +0000 (03:13 +0000)]
Building crunched things by hand (regenerating boot floppies for example)
without a full make release cycle fails as the correct include path
isn't setup.

21 years agofix reverse logic in "connect" command that cause port specifications to be ignored.
Jonathan Chen [Tue, 25 Mar 2003 02:33:35 +0000 (02:33 +0000)]
fix reverse logic in "connect" command that cause port specifications to be ignored.

MFC after: 1 week

21 years agoFix 2 vm_offset_t -> vm_paddr_t missed in previous commit.
Jake Burkholder [Tue, 25 Mar 2003 01:47:29 +0000 (01:47 +0000)]
Fix 2 vm_offset_t -> vm_paddr_t missed in previous commit.

Sponsored by: DARPA, Network Associates Laboratories

21 years agoAdd mount options 'noinet4' and 'noinet6' which prevent using those
Matthew N. Dodd [Tue, 25 Mar 2003 01:25:30 +0000 (01:25 +0000)]
Add mount options 'noinet4' and 'noinet6' which prevent using those
address families.

This is useful for preventing NFS mounts from using IPv6 on hosts
that have both A and AAAA records for the same name.

21 years ago- Add the 'b' option which causes BLOCKSIZE to be hornored when
Matthew N. Dodd [Tue, 25 Mar 2003 01:22:42 +0000 (01:22 +0000)]
- Add the 'b' option which causes BLOCKSIZE to be hornored when
  the 'q' or 'Q' options are present.
- Document BLOCKSIZE.

21 years agoUpdate the MAC regression test policy to include stubs and testing
Robert Watson [Tue, 25 Mar 2003 01:20:56 +0000 (01:20 +0000)]
Update the MAC regression test policy to include stubs and testing
functionality for the following entry pints:

  mac_test_init_proc_label()
  mac_test_destroy_proc_label()

For process labeling entry points, now also track the use of process
labels and test assertions about their integrity and life cycle.

  mac_test_thread_userret()
  mac_test_check_kenv_dump()
  mac_test_check_kenv_get()
  mac_test_check_kenv_set()
  mac_test_check_kenv_unset()
  mac_test_check_kld_load()
  mac_test_check_kld_stat()
  mac_test_check_kld_unload()
  mac_test_check_sysarch_ioperm()
  mac_test_check_system_acct()
  mac_test_check_system_reboot()
  mac_test_check_system_settime()
  mac_test_check_system_swapon()
  mac_test_check_system_swapoff()
  mac_test_check_system_sysctl()

For other entry points, just provide testing stubs.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories

21 years agoUpdate MAC "none" stub policy to include stubs for the following
Robert Watson [Tue, 25 Mar 2003 01:18:06 +0000 (01:18 +0000)]
Update MAC "none" stub policy to include stubs for the following
entry points:

  mac_none_thread_userret()
  mac_none_check_kenv_dump()
  mac_none_check_kenv_get()
  mac_none_check_kenv_set()
  mac_none_check_kenv_unset()
  mac_none_check_kld_load()
  mac_none_check_kld_stat()
  mac_none_check_kld_unload()
  mac_none_check_sysarch_ioperm()
  mac_none_check_system_acct()
  mac_none_check_system_settime()
  mac_none_check_system_swapoff()

Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories

21 years agoExpand scope of the MLS policy to include a new entry point available
Robert Watson [Tue, 25 Mar 2003 01:16:10 +0000 (01:16 +0000)]
Expand scope of the MLS policy to include a new entry point available
for enforcement:

  mac_mls_check_system_swapon() - Require that the subject and the
  swapfile target vnode labels dominate one another.  An additional
  check is probably needed here to require that the swapfile target
  has a label of mls/high to prevent information leakage through
  swapfiles.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories

21 years agoExpand scope of the BSD extended "file system firewall" policy to
Robert Watson [Tue, 25 Mar 2003 01:14:03 +0000 (01:14 +0000)]
Expand scope of the BSD extended "file system firewall" policy to
include a new entry point available for enforcement:

  mac_bsdextended_check_system_swapon() - Apply extended access
  control checks to the file target of swap.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories

21 years agoExpand scope of the Biba policy to include some of the new entry
Robert Watson [Tue, 25 Mar 2003 01:10:54 +0000 (01:10 +0000)]
Expand scope of the Biba policy to include some of the new entry
points available for enforcement:

  mac_biba_check_sysarch_ioperm() - Require Biba privilege to make
  use of privileged machine-dependent interfaces, protecting against
  bypass of the policy via various mechanisms.

  mac_biba_check_system_swapoff() - Require Biba privilege to disable
  swapping against a vnode target.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories

21 years agoFix formatting (spaces -> tab)
Gregory Neil Shapiro [Tue, 25 Mar 2003 00:54:05 +0000 (00:54 +0000)]
Fix formatting (spaces -> tab)

MFC after: 1 week

21 years agoImplement the 'Q' option which is like 'q' (quiet output) except
Matthew N. Dodd [Tue, 25 Mar 2003 00:51:41 +0000 (00:51 +0000)]
Implement the 'Q' option which is like 'q' (quiet output) except
that it prefaces the output with the package name.

This is useful for things like this:

# pkg_info -Qsa | awk -F : '{print $2 "\t" $1}' | sort -rn | expand -t 10

21 years agoBump __FreeBSD_version for addition of vm_paddr_t and kvtop prototype
Jake Burkholder [Tue, 25 Mar 2003 00:26:52 +0000 (00:26 +0000)]
Bump __FreeBSD_version for addition of vm_paddr_t and kvtop prototype
change.

21 years ago- Silence warnings (casting, implicit decl., unused var.).
Matthew N. Dodd [Tue, 25 Mar 2003 00:16:41 +0000 (00:16 +0000)]
- Silence warnings (casting, implicit decl., unused var.).
- WARNS=2

21 years ago- Add vm_paddr_t, a physical address type. This is required for systems
Jake Burkholder [Tue, 25 Mar 2003 00:07:06 +0000 (00:07 +0000)]
- Add vm_paddr_t, a physical address type.  This is required for systems
  where physical addresses larger than virtual addresses, such as i386s
  with PAE.
- Use this to represent physical addresses in the MI vm system and in the
  i386 pmap code.  This also changes the paddr parameter to d_mmap_t.
- Fix printf formats to handle physical addresses >4G in the i386 memory
  detection code, and due to kvtop returning vm_paddr_t instead of u_long.

Note that this is a name change only; vm_paddr_t is still the same as
vm_offset_t on all currently supported platforms.

Sponsored by: DARPA, Network Associates Laboratories
Discussed with: re, phk (cdevsw change)

21 years ago- Make -M mask and -M time exclusive.
Matthew N. Dodd [Mon, 24 Mar 2003 23:48:36 +0000 (23:48 +0000)]
- Make -M mask and -M time exclusive.
- Correct some problems with packet construction.

  +--------+------------+----------+-------------+---------+
  |        |            |          |             |         |
  | IP Hdr | MINICMPLEN | phdr_len | TIMEVAL_LEN | payload |
  |        |            |          |             |         |
  +--------+------------+----------+-------------+---------+
  |        |                       |                       |
  |<- IP ->|<------- ICMP -------->|<------ datalen ------>|

My previous changes tried to mess around with 'datalen' instead of
modifying 'phdr_len'.

I'm including this nice ASCII diagram (from Maxim) to further clarify things
in CVS history.

Submitted by:  Maxim Konovalov <maxim@macomnet.ru>

21 years agoI seem to have forgotten this. Sorry.
Matthew N. Dodd [Mon, 24 Mar 2003 22:25:08 +0000 (22:25 +0000)]
I seem to have forgotten this.  Sorry.

21 years agoCatch up with the English version:
Hiroki Sato [Mon, 24 Mar 2003 21:42:53 +0000 (21:42 +0000)]
Catch up with the English version:

1.523 -> 1.524 relnotes/common/new.sgml

21 years agoOops, SHUTDOWN_PRI_LAST should be EVENTHANDLER_PRI_LAST, not
John Baldwin [Mon, 24 Mar 2003 21:24:37 +0000 (21:24 +0000)]
Oops, SHUTDOWN_PRI_LAST should be EVENTHANDLER_PRI_LAST, not
EVENTHANDLER_PRI_FIRST.  Oddly enough, this didn't seem to break the boxes
I tested these changes on.

Reported by: jesper

21 years agoReplace the at_fork, at_exec, and at_exit functions with the slightly more
John Baldwin [Mon, 24 Mar 2003 21:15:35 +0000 (21:15 +0000)]
Replace the at_fork, at_exec, and at_exit functions with the slightly more
flexible process_fork, process_exec, and process_exit eventhandlers.  This
reduces code duplication and also means that I don't have to go duplicate
the eventhandler locking three more times for each of at_fork, at_exec, and
at_exit.

Reviewed by: phk, jake, almost complete silence on arch@

21 years agoDefine some generic eventhandler priorities for use with eventhandlers and
John Baldwin [Mon, 24 Mar 2003 21:07:31 +0000 (21:07 +0000)]
Define some generic eventhandler priorities for use with eventhandlers and
redefine the existing priority macros for specific eventhandlers in terms
of the generic priorities.

21 years ago- Remove witness_dead and just use witness_watch instead. If witness_watch
John Baldwin [Mon, 24 Mar 2003 21:03:53 +0000 (21:03 +0000)]
- Remove witness_dead and just use witness_watch instead.  If witness_watch
  is set to 0, it now has the same affect as setting witness_dead used to
  have.
- Added a sysctl handler that allows root to change witness_watch from a
  non-zero value to zero to disable witness at runtime.  Note that you
  can't turn witness back on once it is off.  You can only turn it off as
  a one-way switch.
- Added a comment describing the possible values of witness_watch.

21 years agoRetire sys/pc98/pc98/spkr.c
Matthew N. Dodd [Mon, 24 Mar 2003 21:01:54 +0000 (21:01 +0000)]
Retire sys/pc98/pc98/spkr.c

21 years agoUse correct item to track max width of list
Eivind Eklund [Mon, 24 Mar 2003 20:55:28 +0000 (20:55 +0000)]
Use correct item to track max width of list

21 years agoFix bug that made cdcontrol play <track> play <track> - 1
Eivind Eklund [Mon, 24 Mar 2003 20:54:30 +0000 (20:54 +0000)]
Fix bug that made cdcontrol play <track> play <track> - 1

21 years agoUse __packed;
Matthew N. Dodd [Mon, 24 Mar 2003 20:44:39 +0000 (20:44 +0000)]
Use __packed;

21 years agoDocument how to clear flags with negative-logic, currently only
Johan Karlsson [Mon, 24 Mar 2003 20:15:58 +0000 (20:15 +0000)]
Document how to clear flags with negative-logic, currently only
the nodump flag.

PR: 46912
Reported by: dave@syix.com <dave@syix.com>
MFC after: 2 weeks

21 years agoCorrect a mis-merge.
Matthew N. Dodd [Mon, 24 Mar 2003 19:54:14 +0000 (19:54 +0000)]
Correct a mis-merge.

Noticed by:  johan

21 years agoChange g_class initialization to sparse format.
Poul-Henning Kamp [Mon, 24 Mar 2003 19:46:26 +0000 (19:46 +0000)]
Change g_class initialization to sparse format.

21 years ago- Consolidate smapi driver.
Matthew N. Dodd [Mon, 24 Mar 2003 19:40:54 +0000 (19:40 +0000)]
- Consolidate smapi driver.
- Attach to nexus.
- Use null{open,close}() instead of rolling our own.

21 years agoAdd the 'vpd' and 'smbios' drivers. The 'smbios' driver is just a
Matthew N. Dodd [Mon, 24 Mar 2003 19:32:57 +0000 (19:32 +0000)]
Add the 'vpd' and 'smbios' drivers.  The 'smbios' driver is just a
stub right now.

21 years agoPremptively change initializations of struct g_class to use C99
Poul-Henning Kamp [Mon, 24 Mar 2003 19:30:15 +0000 (19:30 +0000)]
Premptively change initializations of struct g_class to use C99
sparse struct initializations before we extend the struct with
new OAM related member functions.

21 years agoUse repo-copied files in sys/i386/bios.
Matthew N. Dodd [Mon, 24 Mar 2003 19:14:46 +0000 (19:14 +0000)]
Use repo-copied files in sys/i386/bios.

21 years agoPC98 systems don't need to worry about the MCA bus.
Matthew N. Dodd [Mon, 24 Mar 2003 19:10:33 +0000 (19:10 +0000)]
PC98 systems don't need to worry about the MCA bus.

21 years agoAdd a new chance at getting offended, having removed so many.
Eivind Eklund [Mon, 24 Mar 2003 18:59:00 +0000 (18:59 +0000)]
Add a new chance at getting offended, having removed so many.

21 years agoRemove duplicates
Eivind Eklund [Mon, 24 Mar 2003 18:58:16 +0000 (18:58 +0000)]
Remove duplicates

21 years agoFix two more typos
Eivind Eklund [Mon, 24 Mar 2003 18:56:36 +0000 (18:56 +0000)]
Fix two more typos

21 years agoadd missing %u to show mcr1full count
Sam Leffler [Mon, 24 Mar 2003 17:36:50 +0000 (17:36 +0000)]
add missing %u to show mcr1full count

21 years agoThe .Nm utility
Philippe Charnier [Mon, 24 Mar 2003 16:09:07 +0000 (16:09 +0000)]
The .Nm utility

21 years agoThe .Fn function
Philippe Charnier [Mon, 24 Mar 2003 16:07:19 +0000 (16:07 +0000)]
The .Fn function
The ... 2 system call

21 years agoThe .Fn function. Use .Xr where appropriate.
Philippe Charnier [Mon, 24 Mar 2003 16:05:24 +0000 (16:05 +0000)]
The .Fn function. Use .Xr where appropriate.

21 years agoThe .Fn function
Philippe Charnier [Mon, 24 Mar 2003 16:02:05 +0000 (16:02 +0000)]
The .Fn function

21 years agoThe .Nm library
Philippe Charnier [Mon, 24 Mar 2003 16:01:01 +0000 (16:01 +0000)]
The .Nm library

21 years agoThe .Fn function
Philippe Charnier [Mon, 24 Mar 2003 15:58:53 +0000 (15:58 +0000)]
The .Fn function
The .Fa argument

21 years agoThe .Fn function
Philippe Charnier [Mon, 24 Mar 2003 15:56:36 +0000 (15:56 +0000)]
The .Fn function
The .Nm library

21 years agoDon't call sysbeep() in sc_bell() if either duration or pitch is zero.
John Baldwin [Mon, 24 Mar 2003 15:56:00 +0000 (15:56 +0000)]
Don't call sysbeep() in sc_bell() if either duration or pitch is zero.
Otherwise sysbeep() makes an annoying clicking sound on some systems.
'kbdcontrol -b off' just sets the duration and pitch to zero, it doesn't
set the QUIET_BELL flag.

Tested by: SorAlx <soralx@cydem.zp.ua>
PR: misc/41772
MFC after: 1 week

21 years agoThe ... utility
Philippe Charnier [Mon, 24 Mar 2003 15:53:11 +0000 (15:53 +0000)]
The ... utility

21 years agoRemove a trailing semicolon in SCHED_QUANTUM definition.
Maxime Henrion [Mon, 24 Mar 2003 15:16:21 +0000 (15:16 +0000)]
Remove a trailing semicolon in SCHED_QUANTUM definition.
Luckily this didn't cause any bugs.

Spotted by: Samy Al Bahra <samy@kerneled.com>

21 years agoTurn /dev/geom.ctl from a GEOM class into a plain character device driver
Poul-Henning Kamp [Mon, 24 Mar 2003 13:37:15 +0000 (13:37 +0000)]
Turn /dev/geom.ctl from a GEOM class into a plain character device driver
instead, it will never see a disk-I/O transaction, so this is a lot simpler.

21 years agoSave a lock: Grab the stall_events SX lock exclusively so it also serialize
Poul-Henning Kamp [Mon, 24 Mar 2003 13:35:06 +0000 (13:35 +0000)]
Save a lock:  Grab the stall_events SX lock exclusively so it also serialize
OAM reqests.