]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
20 years agoRegen.
fjoe [Fri, 13 Aug 2004 09:56:22 +0000 (09:56 +0000)]
Regen.

20 years agoI was born in USSR.
fjoe [Fri, 13 Aug 2004 09:54:29 +0000 (09:54 +0000)]
I was born in USSR.

20 years agoRegression test for geom_uzip.
fjoe [Fri, 13 Aug 2004 09:53:52 +0000 (09:53 +0000)]
Regression test for geom_uzip.

20 years agoAdd geom_uzip -- geom class that implements read-only compressed disks.
fjoe [Fri, 13 Aug 2004 09:40:58 +0000 (09:40 +0000)]
Add geom_uzip -- geom class that implements read-only compressed disks.
Currently supports cloop V2.0 disk compression format.
May support more formats in future.

20 years agoAdd a regression test for the ATM call control stuff.
harti [Fri, 13 Aug 2004 09:27:21 +0000 (09:27 +0000)]
Add a regression test for the ATM call control stuff.

20 years agontptimeset is not build anymore by default so remove it for the time being.
roberto [Fri, 13 Aug 2004 09:10:38 +0000 (09:10 +0000)]
ntptimeset is not build anymore by default so remove it for the time being.

Prodded by: imp

20 years agoAllow the use of a supplied function to set the PRD table. This is
sos [Fri, 13 Aug 2004 08:14:27 +0000 (08:14 +0000)]
Allow the use of a supplied function to set the PRD table. This is
needed for new chips that supports 64bit addressing.

20 years agoReplace the linear search in vm_map_findspace() with an O(log n)
alc [Fri, 13 Aug 2004 08:06:34 +0000 (08:06 +0000)]
Replace the linear search in vm_map_findspace() with an O(log n)
algorithm built into the map entry splay tree.  This replaces the
first_free hint in struct vm_map with two fields in vm_map_entry:
adj_free, the amount of free space following a map entry, and
max_free, the maximum amount of free space in the entry's subtree.
These fields make it possible to find a first-fit free region of a
given size in one pass down the tree, so O(log n) amortized using
splay trees.

This significantly reduces the overhead in vm_map_findspace() for
applications that mmap() many hundreds or thousands of regions, and
has a negligible slowdown (0.1%) on buildworld.  See, for example, the
discussion of a micro-benchmark titled "Some mmap observations
compared to Linux 2.6/OpenBSD" on -hackers in late October 2003.

OpenBSD adopted this approach in March 2002, and NetBSD added it in
November 2003, both with Red-Black trees.

Submitted by: Mark W. Krentel

20 years agolooks like rwatson forgot tabs... :)
jmg [Fri, 13 Aug 2004 07:38:58 +0000 (07:38 +0000)]
looks like rwatson forgot tabs... :)

20 years agoMake -I and --files-from be synonyms for -T
kientzle [Fri, 13 Aug 2004 07:23:02 +0000 (07:23 +0000)]
Make -I and --files-from be synonyms for -T

20 years agoMove PNP IDs back into oldcard files
imp [Fri, 13 Aug 2004 06:57:31 +0000 (06:57 +0000)]
Move PNP IDs back into oldcard files

20 years ago1. Add missing functions: libthr_dbresume,libthr_dbsuspend.
davidxu [Fri, 13 Aug 2004 06:47:33 +0000 (06:47 +0000)]
1. Add missing functions: libthr_dbresume,libthr_dbsuspend.
2. Implement functions: libthr_db_thr_setfpregs, libthr_db_thr_setregs,
   libthr_db_ta_map_id2thr.
3. simplify libthr_db_thr_getfpregs, libthr_db_thr_getgregs.

20 years agoMPSAFE locking
njl [Fri, 13 Aug 2004 06:22:35 +0000 (06:22 +0000)]
MPSAFE locking

* Serialize access to the sysctl routines and the notify handler
* Assert that the sx lock is held in any functions they call.
* Note that recursively calling to re-enable the hotkeys is sub-optimal.

20 years agoMPSAFE locking
njl [Fri, 13 Aug 2004 06:22:31 +0000 (06:22 +0000)]
MPSAFE locking

* Serialize access to the sysctl routines and the notify handler
* Assert that the sx lock is held in any functions they call.

20 years agoMPSAFE locking
njl [Fri, 13 Aug 2004 06:22:29 +0000 (06:22 +0000)]
MPSAFE locking

* Serialize access to the sysctl routines and the notify handler.

20 years agoMPSAFE locking
njl [Fri, 13 Aug 2004 06:22:26 +0000 (06:22 +0000)]
MPSAFE locking

* Simplify taskqueue locking.
* Don't acquire Giant around calls to the taskqueue function.
* Remove 4.x compatibility routines.

20 years agoMPSAFE locking
njl [Fri, 13 Aug 2004 06:22:24 +0000 (06:22 +0000)]
MPSAFE locking

* Remove the interrupt wrapper that locked Giant and call the handler
  directly.  Mark the handler as MPSAFE.
* Don't attempt to detect if a handler is installed.  Leave that to the
  bus_alloc_resource() function.

20 years agoMPSAFE locking
njl [Fri, 13 Aug 2004 06:22:20 +0000 (06:22 +0000)]
MPSAFE locking

* Serialize operations in acpi_video_bind_outputs(), acpi_video_detach(),
  acpi_video_notify_handler(), acpi_video_power_profile(), and the sysctls.
  The main goal is to protect the shared device list and prevent conflicting
  settings.
* Add assertions that the sx lock is held in the leaf functions.

20 years agoMPSAFE locking
njl [Fri, 13 Aug 2004 06:22:17 +0000 (06:22 +0000)]
MPSAFE locking

* Restructure the event handling path.  acpi_tz_thread() now calls
  acpi_tz_timeout() any time an event occurs.  acpi_tz_timeout() checks
  the flags and calls acpi_tz_power_profile(), acpi_tz_establish(), and
  acpi_tz_monitor() as appropriate.  Notifies only do a wakeup and let
  acpi_tz_thread() do the actual work.  This path is cleaner and allows
  locking since the call path is now always a D.A.G.
* Add the acpi_tz_signal() function to set flags and wake the thread.
* Remove the tz_tmp_updating flag since calls are serialized by
  acpi_tz_thread().
* Remove Giant locking.

20 years agoMPSAFE locking: Add a comment that we need resource list and device_t
njl [Fri, 13 Aug 2004 06:22:13 +0000 (06:22 +0000)]
MPSAFE locking:  Add a comment that we need resource list and device_t
refcounting/locking.

20 years agoMPSAFE locking
njl [Fri, 13 Aug 2004 06:22:10 +0000 (06:22 +0000)]
MPSAFE locking

* Serialize acpi_pwr_switch_consumer() and acpi_pwr_wake_enable().
* Make acpi_pwr_switch_consumer() have a single exit point.
* Add assertions to the leaf functions they call.
* Fix a memory leak in acpi_pwr_deregister_consumer().  However, it is
  currently ifdefed out so this code was unused.

20 years agoMPSAFE locking
njl [Fri, 13 Aug 2004 06:22:07 +0000 (06:22 +0000)]
MPSAFE locking

* Serialize calls to acpi_pcib_route_interrupt().
* Note that acpi_pcib_attach() should not be called concurrently.

20 years agoMPSAFE locking
njl [Fri, 13 Aug 2004 06:22:03 +0000 (06:22 +0000)]
MPSAFE locking

* Serialize access to acpi_pci_link_config(), acpi_pci_find_prt(),
  acpi_pci_link_route(), and acpi_pci_link_resume().
* Add lock assertions to all functions called by them.

20 years agoMPSAFE locking
njl [Fri, 13 Aug 2004 06:21:58 +0000 (06:21 +0000)]
MPSAFE locking

* Serialize access to acpi_pci_set_powerstate_method().

20 years agoMPSAFE locking
njl [Fri, 13 Aug 2004 06:21:55 +0000 (06:21 +0000)]
MPSAFE locking

* Serialize notifying the user in acpi_lid_notify_status_changed().  This
  way multiple lid events occur in order.
* Add an initialization pass to get the lid status at boot-time.  This
  pass does not notify any apps but gets the initial status.

20 years agoMPSAFE locking
njl [Fri, 13 Aug 2004 06:21:53 +0000 (06:21 +0000)]
MPSAFE locking

* Use the common serialization macros instead of rolling our own.
* Increase the coverage of the lock in EcSpaceHandler() to cover the entire
  loop to avoid dropping the lock when reading more than one byte.

20 years agoMPSAFE locking
njl [Fri, 13 Aug 2004 06:21:47 +0000 (06:21 +0000)]
MPSAFE locking

* Hold the ACPI lock over table register writes.
* Serialize calls to acpi_cpu_throttle_set() and the sysctls.

20 years agoMPSAFE locking
njl [Fri, 13 Aug 2004 06:21:44 +0000 (06:21 +0000)]
MPSAFE locking

* Serialize ops in acpi_cmbat_notify_handler(), acpi_cmbat_ioctl(),
  acpi_cmbat_init_battery(), and acpi_cmbat_get_battinfo().
* Get the softc directly in acpi_cmbat_get_total_battinfo() rather than
  build an array of them.
* Don't queue a _BIF query after receiving a notify.  Since we clear the
  timespec, a _BIF query will be done in the context of the next caller.
* Add asserts to leaf functions that operate on shared data.
* Remove the bst/bif updating flags now that we hold the lock over the
  full query.
* Explain various comments in more detail.

20 years agoMPSAFE locking
njl [Fri, 13 Aug 2004 06:21:41 +0000 (06:21 +0000)]
MPSAFE locking

* Serialize acpi_battery_get_battdesc(), acpi_battery_register(), and
  acpi_battery_remove().
* Assert that the sx lock is held in acpi_batteries_init().
* Remove check for device_get_softc() returning NULL.

20 years agoMPSAFE locking
njl [Fri, 13 Aug 2004 06:21:36 +0000 (06:21 +0000)]
MPSAFE locking

* Serialize notification of acline changes in acpi_acad_get_status().
* Remove the initializing flag.  With the locking, we don't need to
  push off requests for the acline before initialization is done.
* Don't check device_get_softc(), it can't return NULL.

20 years agoMPSAFE locking
njl [Fri, 13 Aug 2004 06:21:32 +0000 (06:21 +0000)]
MPSAFE locking

* Serialize calls to acpi_alloc_resource(), acpi_release_resource(),
  acpi_Enable(), acpi_Disable(), and acpi_debug_sysctl().
* Acquire the ACPI mutex in acpi_register_ioctl(), acpi_deregister_ioctl(),
  and acpiioctl().
* Acquire the mutex while disabling subsequent requests to enter a
  sleep state in acpi_SetSleepState().
* Be sure to re-enable sleep requests and don't run resume methods when
  the current request fails.
* Don't check if sleep requests are disabled in the ACPIIO_SETSLPSTATE
  ioctl.  acpi_SetSleepState() does this for us.
* Remove the acquisition of Giant from the struct cdevsw.
* Remove the ACPI_USE_THREADS option.

20 years agoMPSAFE locking
njl [Fri, 13 Aug 2004 06:21:19 +0000 (06:21 +0000)]
MPSAFE locking

* Add and comment our locking primitives.  The mutex primitives use a
  a static mutex and the serialization ones use a static sx lock.  A global
  acpi_mutex is used for access to global resources (i.e., writes to the
  SMI_CMD register.)
* Remove 4.x compat defines.

20 years agoBring in fix from gzip 1.3.3 to avoid crashes when processing certain corrupt
tjr [Fri, 13 Aug 2004 05:38:44 +0000 (05:38 +0000)]
Bring in fix from gzip 1.3.3 to avoid crashes when processing certain corrupt
input files:

1999-06-25  Paul Eggert  <eggert@twinsun.com>

        * inflate.c (huft_build):
        Set n to length of v, to detect improper tables.
        Don't accidentally grow j past z.

MFC after: 3 days

20 years agoMore wording, grammar, and punctuation tweaks. No major content
bmah [Fri, 13 Aug 2004 04:54:52 +0000 (04:54 +0000)]
More wording, grammar, and punctuation tweaks.  No major content
changes, although one release note, about udav(4) promiscuous mode,
was deleted as it was redundant (the driver itself is new and this
fact has its own note).

20 years agoRe-write some poorly written paragraphs. Document the 2130.
scottl [Fri, 13 Aug 2004 03:55:35 +0000 (03:55 +0000)]
Re-write some poorly written paragraphs.  Document the 2130.

20 years agoRemove trailing whitespace and change "prisoniD" to "prisonID".
csjp [Fri, 13 Aug 2004 02:50:59 +0000 (02:50 +0000)]
Remove trailing whitespace and change "prisoniD" to "prisonID".

Pointed out by: simon
Approved by: bmilekic (mentor)

20 years agoAdd support for the Adaptec RAID-On-Chip architecture. This in turn
scottl [Fri, 13 Aug 2004 01:44:09 +0000 (01:44 +0000)]
Add support for the Adaptec RAID-On-Chip architecture.  This in turn
provides support for the Adaptec 2130S adapter.  Thanks to Adaptec for
providing hardware for this.

20 years agoDon't keep evaluating our own cpu mask..
julian [Fri, 13 Aug 2004 00:57:43 +0000 (00:57 +0000)]
Don't keep evaluating our own cpu mask..
it's not likely to have changed....

20 years agoAdd a macro to define the size of a subsection of a structure.
julian [Fri, 13 Aug 2004 00:53:40 +0000 (00:53 +0000)]
Add a macro to define the size of a subsection of a structure.
Used in fork1() and thr_create()

20 years agoAdded two new media types for 10GBASE-SR and 10GBASE-LR
tackerman [Thu, 12 Aug 2004 23:48:26 +0000 (23:48 +0000)]
Added two new media types for 10GBASE-SR and 10GBASE-LR

20 years agoadd support for SanDisk Cruzer Mini 256MB USB 2.0 Flash Drive
sanpei [Thu, 12 Aug 2004 23:29:22 +0000 (23:29 +0000)]
add support for SanDisk Cruzer Mini 256MB USB 2.0 Flash Drive

PR: kern/65438
Submitted by: Peter D. Quilty <pdquilty@adelphia.net>
MFC after: 1 week

20 years agoadd support Frontier Labs NEX IA+ Digital Audio Player with USB CF card reader/writer
sanpei [Thu, 12 Aug 2004 23:17:09 +0000 (23:17 +0000)]
add support Frontier Labs NEX IA+ Digital Audio Player with USB CF card reader/writer

PR: kern/70158
Submitted by: Bernd Strau. <no_bs@web.de>
MFC after: 1 week

20 years agoAdd the ability to associate ipfw rules with a specific prison ID.
csjp [Thu, 12 Aug 2004 22:06:55 +0000 (22:06 +0000)]
Add the ability to associate ipfw rules with a specific prison ID.
Since the only thing truly unique about a prison is it's ID, I figured
this would be the most granular way of handling this.

This commit makes the following changes:

- Adds tokenizing and parsing for the ``jail'' command line option
  to the ipfw(8) userspace utility.
- Append the ipfw opcode list with O_JAIL.
- While Iam here, add a comment informing others that if they
  want to add additional opcodes, they should append them to the end
  of the list to avoid ABI breakage.
- Add ``fw_prid'' to the ipfw ucred cache structure.
- When initializing ucred cache, if the process is jailed,
  set fw_prid to the prison ID, otherwise set it to -1.
- Update man page to reflect these changes.

This change was a strong motivator behind the ucred caching
mechanism in ipfw.

A sample usage of this new functionality could be:

    ipfw add count ip from any to any jail 2

It should be noted that because ucred based constraints
are only implemented for TCP and UDP packets, the same
applies for jail associations.

Conceptual head nod by: pjd
Reviewed by: rwatson
Approved by: bmilekic (mentor)

20 years ago- Use bus_space_subregion() rather than arithmetic on bus_space_handle_t. [1]
marius [Thu, 12 Aug 2004 20:37:02 +0000 (20:37 +0000)]
- Use bus_space_subregion() rather than arithmetic on bus_space_handle_t. [1]
- Properly use the error variable and return it on failure in the attach-
  routines.

Reviewed by: tmm
Inspired by: NetBSD [1]

20 years agoThe vm map lock is needed in vm_fault() after the page has been found,
tegge [Thu, 12 Aug 2004 20:14:49 +0000 (20:14 +0000)]
The vm map lock is needed in vm_fault() after the page has been found,
to avoid later changes before pmap_enter() and vm_fault_prefault()
has completed.

Simplify deadlock avoidance by not blocking on vm map relookup.

In collaboration with: alc

20 years agoadd support Sitecom CN-311 usb flash reader(aka SIIG_WINTERREADER)
sanpei [Thu, 12 Aug 2004 20:14:20 +0000 (20:14 +0000)]
add support Sitecom CN-311 usb flash reader(aka SIIG_WINTERREADER)

PR: kern/64722
Submitted by: Thiemo Nordenholz <nz@thiemo.net>
MFC after: 1 week

20 years agoDon't put DEBUG to CFLAGS, we have the standard DEBUG_FLAGS for this.
ru [Thu, 12 Aug 2004 20:06:01 +0000 (20:06 +0000)]
Don't put DEBUG to CFLAGS, we have the standard DEBUG_FLAGS for this.

20 years agoThis commit was generated by cvs2svn to compensate for changes in r133594,
harti [Thu, 12 Aug 2004 19:17:29 +0000 (19:17 +0000)]
This commit was generated by cvs2svn to compensate for changes in r133594,
which included commits to RCS files with non-trunk default branches.

20 years agoVendor patch: don't dump core when the config file cannot be opened.
harti [Thu, 12 Aug 2004 19:17:29 +0000 (19:17 +0000)]
Vendor patch: don't dump core when the config file cannot be opened.

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

20 years agoNow that make more correctly handles variable assignments
harti [Thu, 12 Aug 2004 19:14:10 +0000 (19:14 +0000)]
Now that make more correctly handles variable assignments
in .MAKEFLAGS targets enable the regression test for this.

20 years agoWhen allocating the IPv6 header to stick in front of raw packet being
rwatson [Thu, 12 Aug 2004 18:31:36 +0000 (18:31 +0000)]
When allocating the IPv6 header to stick in front of raw packet being
sent via a raw IPv6 socket, use M_DONTWAIT not M_TRYWAIT, as we're
holding the raw pcb mutex.

Reported, tested by: kuriyama

20 years agoIn tcp6_ctlinput, lock tcbinfo around the call to syncache_unreach
dwmalone [Thu, 12 Aug 2004 18:19:36 +0000 (18:19 +0000)]
In tcp6_ctlinput, lock tcbinfo around the call to syncache_unreach
so that the locks held are the same as the IPv4 case.

Reviewed by: rwatson

20 years agoTrim trailing white space.
rwatson [Thu, 12 Aug 2004 18:06:21 +0000 (18:06 +0000)]
Trim trailing white space.

20 years ago- Introduce an ofw_bus kobj-interface for retrieving the OFW node and a
marius [Thu, 12 Aug 2004 17:41:33 +0000 (17:41 +0000)]
- Introduce an ofw_bus kobj-interface for retrieving the OFW node and a
  subset ("compatible", "device_type", "model" and "name") of the standard
  properties in drivers for devices on Open Firmware supported busses. The
  standard properties "reg", "interrupts" und "address" are not covered by
  this interface because they are only of interest in the respective bridge
  code. There's a remaining standard property "status" which is unclear how
  to support properly but which also isn't used in FreeBSD at present.
  This ofw_bus kobj-interface allows to replace the various (ebus_get_node(),
  ofw_pci_get_node(), etc.) and partially inconsistent (central_get_type()
  vs. sbus_get_device_type(), etc.) existing IVAR ones with a common one.
  This in turn allows to simplify and remove code-duplication in drivers for
  devices that can hang off of more than one OFW supported bus.
- Convert the sparc64 Central, EBus, FHC, PCI and SBus bus drivers and the
  drivers for their children to use the ofw_bus kobj-interface. The IVAR-
  interfaces of the Central, EBus and FHC are entirely replaced by this. The
  PCI bus driver used its own kobj-interface and now also uses the ofw_bus
  one. The IVARs special to the SBus, e.g. for retrieving the burst size,
  remain.
  Beware: this causes an ABI-breakage for modules of drivers which used the
  IVAR-interfaces, i.e. esp(4), hme(4), isp(4) and uart(4), which need to be
  recompiled.
  The style-inconsistencies introduced in some of the bus drivers will be
  fixed by tmm@ in a generic clean-up of the respective drivers later (he
  requested to add the changes in the "new" style).
- Convert the powerpc MacIO bus driver and the drivers for its children to
  use the ofw_bus kobj-interface. This invloves removing the IVARs related
  to the "reg" property which were unused and a leftover from the NetBSD
  origini of the code. There's no ABI-breakage caused by this because none
  of these driver are currently built as modules.
  There are other powerpc bus drivers which can be converted to the ofw_bus
  kobj-interface, e.g. the PCI bus driver, which should be done together
  with converting powerpc to use the OFW PCI code from sparc64.
- Make the SBus and FHC front-end of zs(4) and the sparc64 eeprom(4) take
  advantage of the ofw_bus kobj-interface and simplify them a bit.

Reviewed by: grehan, tmm
Approved by: re (scottl)
Discussed with: tmm
Tested with: Sun AX1105, AXe, Ultra 2, Ultra 60; PPC cross-build on i386

20 years agoMinor formatting fixes for lines > 80 characters
imp [Thu, 12 Aug 2004 17:26:22 +0000 (17:26 +0000)]
Minor formatting fixes for lines > 80 characters

20 years agoRe-delete the comment from r1.352.
green [Thu, 12 Aug 2004 17:22:28 +0000 (17:22 +0000)]
Re-delete the comment from r1.352.

20 years agoSkip dependent functions when finding the resource from _PRS to use for
njl [Thu, 12 Aug 2004 17:06:05 +0000 (17:06 +0000)]
Skip dependent functions when finding the resource from _PRS to use for
later calls to _SRS.  Add note that this code should be centralized at
some point.

Bug from: Jiawei Ye <leafy7382_AT_gmail.com>

20 years agoOnly print the link name if there is a link. For the hardwired case, don't
njl [Thu, 12 Aug 2004 17:04:19 +0000 (17:04 +0000)]
Only print the link name if there is a link.  For the hardwired case, don't
bother printing it.  This fixes a panic and acpi_name() has been more robust
as well.

Bug from: Tai-hwa Liang <avatar-at-mmlab.cse.yzu.edu.tw>

20 years agoAllow null handles to be passed into acpi_name().
njl [Thu, 12 Aug 2004 17:02:53 +0000 (17:02 +0000)]
Allow null handles to be passed into acpi_name().

20 years agoThis commit was generated by cvs2svn to compensate for changes in r133582,
kan [Thu, 12 Aug 2004 16:41:42 +0000 (16:41 +0000)]
This commit was generated by cvs2svn to compensate for changes in r133582,
which included commits to RCS files with non-trunk default branches.

20 years agoConsolidate libiberty files in one place and avoid listing some
kan [Thu, 12 Aug 2004 16:36:52 +0000 (16:36 +0000)]
Consolidate libiberty files in one place and avoid listing some
of them in several places.

Noticed by: bsdimp

20 years agoAllow the ATM call control module to be built into the kernel.
harti [Thu, 12 Aug 2004 15:01:59 +0000 (15:01 +0000)]
Allow the ATM call control module to be built into the kernel.

20 years agoAdd the module build stuff for the ATM call control module.
harti [Thu, 12 Aug 2004 14:58:46 +0000 (14:58 +0000)]
Add the module build stuff for the ATM call control module.

20 years agoThis is the netgraph node framework for the user side call control
harti [Thu, 12 Aug 2004 14:22:00 +0000 (14:22 +0000)]
This is the netgraph node framework for the user side call control
node for ATM. This node implements the API to the signalling services.

20 years agoLoopback fix from Mathieu Sauve-Frankel:
mlaier [Thu, 12 Aug 2004 14:15:42 +0000 (14:15 +0000)]
Loopback fix from Mathieu Sauve-Frankel:
Add missing check for NULL in DIOCCHANGERULE. This prevents a crash
in certain rare cases.

20 years agoLoopback fix from Daniel Hartmeier:
mlaier [Thu, 12 Aug 2004 13:59:44 +0000 (13:59 +0000)]
Loopback fix from Daniel Hartmeier:
pf_cksum_fixup() was called without last argument from
normalization, also fixup checksum when random-id modifies ip_id.
This would previously lead to incorrect checksums for packets
modified by scrub random-id.

(Originally) Submitted by: yongari

20 years agoLoopback fix from Henning Brauer:
mlaier [Thu, 12 Aug 2004 13:54:50 +0000 (13:54 +0000)]
Loopback fix from Henning Brauer:
skip over interface addresses without IFA_ROUTE, fixes some issue
with pppd

PR: misc/69954

20 years agoThe geom(8) utility needs dynamic linker functionality to work, so it can't
pjd [Thu, 12 Aug 2004 13:15:52 +0000 (13:15 +0000)]
The geom(8) utility needs dynamic linker functionality to work, so it can't
be staticaly linked.
This fixes problems on systems compiled with NO_DYNAMICROOT.

20 years agoclarify that both ECC and non-ECC DIMMS work on 164SX.
wilko [Thu, 12 Aug 2004 12:42:03 +0000 (12:42 +0000)]
clarify that both ECC and non-ECC DIMMS work on 164SX.

Suggested by: ru

20 years agoSort in dictionary order.
tjr [Thu, 12 Aug 2004 12:36:04 +0000 (12:36 +0000)]
Sort in dictionary order.

Suggested by: ru

20 years agoFix example.
tjr [Thu, 12 Aug 2004 12:32:14 +0000 (12:32 +0000)]
Fix example.

20 years agoAdd support for the examination and modification of the devices.
harti [Thu, 12 Aug 2004 12:31:43 +0000 (12:31 +0000)]
Add support for the examination and modification of the devices.
This is implemented through SNMP and requires the ilmi daemon to
run on the system. To prevent bloat in rescue the atmconfig for
rescue is compiled without this stuff.

20 years agoImplement wcwidth() as an inline function.
tjr [Thu, 12 Aug 2004 12:19:11 +0000 (12:19 +0000)]
Implement wcwidth() as an inline function.

20 years agoAs long as we have a knob to force system scope threads, why not have
deischen [Thu, 12 Aug 2004 12:12:12 +0000 (12:12 +0000)]
As long as we have a knob to force system scope threads, why not have
a knob to force process scope threads.  If the environment variable
LIBPTHREAD_PROCESS_SCOPE is set, force all threads to be process
scope threads regardless of how the application creates them.  If
LIBPTHREAD_SYSTEM_SCOPE is set (forcing system scope threads), it
overrides LIBPTHREAD_PROCESS_SCOPE.

        $ # To force system scope threads
        $ LIBPTHREAD_SYSTEM_SCOPE=anything threaded_app
        $ # To force process scope threads
        $ LIBPTHREAD_PROCESS_SCOPE=anything threaded_app

20 years agoPut variable assignments on .MAKEFLAGS and .MFLAGS targets into
harti [Thu, 12 Aug 2004 11:49:55 +0000 (11:49 +0000)]
Put variable assignments on .MAKEFLAGS and .MFLAGS targets into
the .MAKEFLAGS variable so that these are also passed to sub-makes.
This makes the handling of variables in the command environment more
consistent.

PR: bin/68853
Submitted by: Martin Kamerhofer <data@sbox.tugraz.at>

20 years agoDocument incorrect handling of multibyte characters.
tjr [Thu, 12 Aug 2004 11:34:34 +0000 (11:34 +0000)]
Document incorrect handling of multibyte characters.

20 years agoInclude _ctype.h instead of ctype.h to avoid namespace pollution.
tjr [Thu, 12 Aug 2004 10:29:14 +0000 (10:29 +0000)]
Include _ctype.h instead of ctype.h to avoid namespace pollution.

20 years agoMove some internal macros and inlines from ctype.h to a new file, _ctype.h,
tjr [Thu, 12 Aug 2004 09:33:47 +0000 (09:33 +0000)]
Move some internal macros and inlines from ctype.h to a new file, _ctype.h,
which has been repo-copied from ctype.h. This will allow us to remove
namespace pollution from <wctype.h> and to make wcwidth() an inline function
without introducing more pollution.

20 years agoChange RU for articles.ent and books.ent back to EN for consistency
den [Thu, 12 Aug 2004 08:44:52 +0000 (08:44 +0000)]
Change RU for articles.ent and books.ent back to EN for consistency
This modification was not really needed.

Noticed by: hrs
Obtained from: The FreeBSD Russian Documentation Project

20 years agoFix two cases of incorrect IPQ_UNLOCK'ing in the merged ip_reass() function.
andre [Thu, 12 Aug 2004 08:37:42 +0000 (08:37 +0000)]
Fix two cases of incorrect IPQ_UNLOCK'ing in the merged ip_reass() function.
The first one was going to 'dropfrag', which unlocks the IPQ, before the lock
was aquired; The second one doing a unlock and then a 'goto dropfrag' which
led to a double-unlock.

Tripped over by: des

20 years agoChange the order of ata_dmainit/ata_allocate in preparation of
sos [Thu, 12 Aug 2004 08:20:36 +0000 (08:20 +0000)]
Change the order of ata_dmainit/ata_allocate in preparation of
supporting new chipsets where this is needed.

20 years ago - Introduce a new flag KEF_HOLD that prevents sched_add() from doing a
jeff [Thu, 12 Aug 2004 07:56:33 +0000 (07:56 +0000)]
 - Introduce a new flag KEF_HOLD that prevents sched_add() from doing a
   migration.  Use this in sched_prio() and sched_switch() to stop us from
   migrating threads that are in short term sleeps or are runnable.  These
   extra migrations were added in the patches to support KSE.
 - Only set NEEDRESCHED if the thread we're adding in sched_add() is a
   lower priority and is being placed on the current queue.
 - Fix some minor whitespace problems.

20 years agoJoin the Russian committers, and only use one true country of birth.
ru [Thu, 12 Aug 2004 06:50:44 +0000 (06:50 +0000)]
Join the Russian committers, and only use one true country of birth.
Sorry for the churn.  ;)

20 years agoMove towards isa attachment for pccbb. This is a work in progress, but
imp [Thu, 12 Aug 2004 06:50:29 +0000 (06:50 +0000)]
Move towards isa attachment for pccbb.  This is a work in progress, but
works well with the pci attachment.

20 years agoChange version string to distinguish our modified version of GNU grep
tjr [Thu, 12 Aug 2004 06:45:31 +0000 (06:45 +0000)]
Change version string to distinguish our modified version of GNU grep
from the original.

20 years agoUpdate version strings to better reflect reality.
tjr [Thu, 12 Aug 2004 06:40:31 +0000 (06:40 +0000)]
Update version strings to better reflect reality.

20 years agoSpell check the 20040806 entry.
ru [Thu, 12 Aug 2004 06:25:05 +0000 (06:25 +0000)]
Spell check the 20040806 entry.

20 years agoHook xalloc-die.c up to the build.
tjr [Thu, 12 Aug 2004 06:02:28 +0000 (06:02 +0000)]
Hook xalloc-die.c up to the build.

20 years agoThis commit was generated by cvs2svn to compensate for changes in r133546,
tjr [Thu, 12 Aug 2004 05:59:33 +0000 (05:59 +0000)]
This commit was generated by cvs2svn to compensate for changes in r133546,
which included commits to RCS files with non-trunk default branches.

20 years agoImport of GNU sort from coreutils CVS (trimmed)
tjr [Thu, 12 Aug 2004 05:59:33 +0000 (05:59 +0000)]
Import of GNU sort from coreutils CVS (trimmed)

20 years agoMerge local changes.
tjr [Thu, 12 Aug 2004 05:46:04 +0000 (05:46 +0000)]
Merge local changes.

20 years agoImport of GNU sort from coreutils CVS (trimmed)
tjr [Thu, 12 Aug 2004 05:37:46 +0000 (05:37 +0000)]
Import of GNU sort from coreutils CVS (trimmed)

20 years agoThis commit was generated by cvs2svn to compensate for changes in r133543,
tjr [Thu, 12 Aug 2004 05:37:46 +0000 (05:37 +0000)]
This commit was generated by cvs2svn to compensate for changes in r133543,
which included commits to RCS files with non-trunk default branches.

20 years agoDestroy mutexes on detach.
scottl [Thu, 12 Aug 2004 05:31:17 +0000 (05:31 +0000)]
Destroy mutexes on detach.

20 years agoChange FREE() to free()
scottl [Thu, 12 Aug 2004 05:09:17 +0000 (05:09 +0000)]
Change FREE() to free()

20 years agoRemove the AAC_LOCK macros. They no longer abstract anything and only
scottl [Thu, 12 Aug 2004 05:05:06 +0000 (05:05 +0000)]
Remove the AAC_LOCK macros.  They no longer abstract anything and only
obfuscate the code.  No functional differences.

20 years agoRelease the sync fib after the controller has been shut down. This also
scottl [Thu, 12 Aug 2004 04:47:32 +0000 (04:47 +0000)]
Release the sync fib after the controller has been shut down.  This also
releases the I/O lock instead of just leaking it.

20 years agoSet IFF_NEEDSGIANT for fwe network interface since the firewire
rwatson [Thu, 12 Aug 2004 03:02:16 +0000 (03:02 +0000)]
Set IFF_NEEDSGIANT for fwe network interface since the firewire
framework isn't yet MPSAFE.

Approved by: simokawa

20 years agoBack in the USSR (for me)
ache [Thu, 12 Aug 2004 02:23:24 +0000 (02:23 +0000)]
Back in the USSR (for me)

20 years agoThis commit was generated by cvs2svn to compensate for changes in r133534,
kan [Thu, 12 Aug 2004 02:21:58 +0000 (02:21 +0000)]
This commit was generated by cvs2svn to compensate for changes in r133534,
which included commits to RCS files with non-trunk default branches.