]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
20 years agoo update PFIL_HOOKS support to current API used by netbsd
Sam Leffler [Tue, 23 Sep 2003 17:54:04 +0000 (17:54 +0000)]
o update PFIL_HOOKS support to current API used by netbsd
o revamp IPv4+IPv6+bridge usage to match API changes
o remove pfil_head instances from protosw entries (no longer used)
o add locking
o bump FreeBSD version for 3rd party modules

Heavy lifting by: "Max Laier" <max@love2party.net>
Supported by: FreeBSD Foundation
Obtained from: NetBSD (bits of pfil.h and pfil.c)

20 years agoDo not cache and correctly free() dosmount entry in case of errors.
Max Khon [Tue, 23 Sep 2003 16:44:17 +0000 (16:44 +0000)]
Do not cache and correctly free() dosmount entry in case of errors.

PR: 53980 (partially)

20 years agoFix a bug in arplookup(), whereby a hostile party on a locally
Bruce M Simpson [Tue, 23 Sep 2003 16:39:31 +0000 (16:39 +0000)]
Fix a bug in arplookup(), whereby a hostile party on a locally
attached network could exhaust kernel memory, and cause a system
panic, by sending a flood of spoofed ARP requests.

Approved by: jake (mentor)
Reported by: Apple Product Security <product-security@apple.com>

20 years agoAvoid NULL pointer dereferencing in modlist_lookup2().
Max Khon [Tue, 23 Sep 2003 14:42:38 +0000 (14:42 +0000)]
Avoid NULL pointer dereferencing in modlist_lookup2().

PR: 56570
Submitted by: Thomas Wintergerst <Thomas.Wintergerst@nord-com.net>

20 years agoDon't return to search another ports even if bus_space_map() fails.
Yoshihiro Takahashi [Tue, 23 Sep 2003 13:03:22 +0000 (13:03 +0000)]
Don't return to search another ports even if bus_space_map() fails.

20 years agoInitialize iobase, bsh and bst.
Yoshihiro Takahashi [Tue, 23 Sep 2003 09:55:21 +0000 (09:55 +0000)]
Initialize iobase, bsh and bst.

20 years agoCompare base address instead of bus_handle.
Yoshihiro Takahashi [Tue, 23 Sep 2003 09:49:37 +0000 (09:49 +0000)]
Compare base address instead of bus_handle.

20 years ago- Keep the base address in struct uart_bas for sab82532 and z8530 modules.
Yoshihiro Takahashi [Tue, 23 Sep 2003 09:25:38 +0000 (09:25 +0000)]
- Keep the base address in struct uart_bas for sab82532 and z8530 modules.
- Remove buggy uart_cpu_busaddr() function.

20 years agoRemove unneeded includes.
Yoshihiro Takahashi [Tue, 23 Sep 2003 09:20:03 +0000 (09:20 +0000)]
Remove unneeded includes.

20 years agoUse bus_space_map() to initialize a bus_handle.
Yoshihiro Takahashi [Tue, 23 Sep 2003 08:38:49 +0000 (08:38 +0000)]
Use bus_space_map() to initialize a bus_handle.

20 years agoImplement the bus_space_map() function to allocate resources and initialize
Yoshihiro Takahashi [Tue, 23 Sep 2003 08:22:34 +0000 (08:22 +0000)]
Implement the bus_space_map() function to allocate resources and initialize
a bus_handle, but currently it does only initializing a bus_handle.

20 years agoBe more careful in dumpconf: softc may be NULL for departing devices.
Poul-Henning Kamp [Tue, 23 Sep 2003 07:53:59 +0000 (07:53 +0000)]
Be more careful in dumpconf: softc may be NULL for departing devices.

Allow drivers to initialize the d_devstat if they want magic params.

20 years agoGrrr...add the Skinny alias code forgotten in the last commit.
Joe Marcus Clarke [Tue, 23 Sep 2003 07:42:33 +0000 (07:42 +0000)]
Grrr...add the Skinny alias code forgotten in the last commit.

20 years agoAdd Cisco Skinny Station protocol support to libalias, natd, and ppp.
Joe Marcus Clarke [Tue, 23 Sep 2003 07:41:55 +0000 (07:41 +0000)]
Add Cisco Skinny Station protocol support to libalias, natd, and ppp.
Skinny is the protocol used by Cisco IP phones to talk to Cisco Call
Managers.  With this code, one can use a Cisco IP phone behind a FreeBSD
NAT gateway.

Currently, having the Call Manager behind the NAT gateway is not supported.
More information on enabling Skinny support in libalias, natd, and ppp
can be found in those applications' manpages.

PR: 55843
Reviewed by: ru
Approved by: ru
MFC after: 30 days

20 years agoChange the handling of the kernel and kmem objects in vm_map_delete(): In
Alan Cox [Tue, 23 Sep 2003 04:28:04 +0000 (04:28 +0000)]
Change the handling of the kernel and kmem objects in vm_map_delete():  In
order to use "unmanaged" pages in the kmem object, vm_map_delete() must
unconditionally perform pmap_remove().  Otherwise, sparc64 has problems.

Tested by: jake

20 years agoFree thread name memory if there is.
David Xu [Tue, 23 Sep 2003 04:02:23 +0000 (04:02 +0000)]
Free thread name memory if there is.

20 years agoOops. back out last commit. The data and stack limits are used by the
Peter Wemm [Tue, 23 Sep 2003 03:20:34 +0000 (03:20 +0000)]
Oops. back out last commit.  The data and stack limits are used by the
32 bit binary stuff.  32 bit binaries do not like it much when the kernel
tries hard to put things above the 8GB mark.

I have a work-in-progress to fix this properly, but I didn't want to burn
anybody with this yet.

20 years agoFix patch transcription typo. s/IDT_BPT/IDT_BP/
Peter Wemm [Tue, 23 Sep 2003 00:45:55 +0000 (00:45 +0000)]
Fix patch transcription typo. s/IDT_BPT/IDT_BP/

20 years agoFrom the Broadcom Eratta:
Paul Saab [Tue, 23 Sep 2003 00:37:07 +0000 (00:37 +0000)]
From the Broadcom Eratta:
Setting the No_CRC bit Can Cause Data Write Errors on BCM5701/03/04
The resolution is to not set the No_CRC bit in the Mode Control Register.

20 years agoSync with i386 version. The quality initialization was missing and some
Peter Wemm [Tue, 23 Sep 2003 00:18:45 +0000 (00:18 +0000)]
Sync with i386 version.  The quality initialization was missing and some
other junk.

20 years agoadd locking
Sam Leffler [Tue, 23 Sep 2003 00:18:25 +0000 (00:18 +0000)]
add locking

Reviewed by: Prafulla Deuskar <pdeuskar@FreeBSD.ORG>
Sponsored by: FreeBSD Foundation

20 years agoGC unused child variable
Peter Wemm [Tue, 23 Sep 2003 00:04:28 +0000 (00:04 +0000)]
GC unused child variable

20 years agoMFi386 pci_bus.c 1.102 legacyvar.h 1.4: rename nexus_pcib to legacy_pcib
Peter Wemm [Tue, 23 Sep 2003 00:03:44 +0000 (00:03 +0000)]
MFi386 pci_bus.c 1.102 legacyvar.h 1.4: rename nexus_pcib to legacy_pcib

However, leave legacy_pcib_route_interrupt() since there is no pcibios to
call.

20 years agoRestructure the time processing routines, mainly to fix up the
Garance A Drosehn [Tue, 23 Sep 2003 00:00:26 +0000 (00:00 +0000)]
Restructure the time processing routines, mainly to fix up the
"will trim at" message printed when the user requests '-v'.  The
previous code would often print the wrong time, such as:
On Sept 22, run:   newsyslog -nv /var/log/wtmp
        And see:   will trim at Mon Sep  1 05:00:00 2003
    correct msg:   will trim at Wed Oct  1 05:00:00 2003

MFC after: 20 days

20 years agoMove basemem variable into global scope so that the MP startup code can
Peter Wemm [Mon, 22 Sep 2003 23:33:29 +0000 (23:33 +0000)]
Move basemem variable into global scope so that the MP startup code can
refer to it for looking for tables.

20 years agoWhile cleaning out my tree, fix another strict alias warning that would
Peter Wemm [Mon, 22 Sep 2003 23:24:18 +0000 (23:24 +0000)]
While cleaning out my tree, fix another strict alias warning that would
be happening if we didn't stop compiling with -fno-strict-aliasing.

20 years agoIncrease the default data size limit from 512MB to 8GB. Increase default
Peter Wemm [Mon, 22 Sep 2003 23:21:39 +0000 (23:21 +0000)]
Increase the default data size limit from 512MB to 8GB.  Increase default
stack limit from 64MB to 512MB.

20 years agoMFi386 rev 1.51 by scottl: make dflt_lock() always panic.
Peter Wemm [Mon, 22 Sep 2003 23:11:42 +0000 (23:11 +0000)]
MFi386 rev 1.51 by scottl:  make dflt_lock() always panic.

20 years agoMFi386 rev 1.53 by scottl: Allocate the S/G list in the tag, not on
Peter Wemm [Mon, 22 Sep 2003 23:10:24 +0000 (23:10 +0000)]
MFi386 rev 1.53 by scottl:  Allocate the S/G list in the tag, not on
the stack.  This means that s/g lists can be arbitrarily long.

20 years agoMFi386 machdep.c rev 1.201, clock.c 1.201, clock.h 1.45 by phk: Dont
Peter Wemm [Mon, 22 Sep 2003 23:02:24 +0000 (23:02 +0000)]
MFi386 machdep.c rev 1.201, clock.c 1.201, clock.h 1.45 by phk:  Dont
initialize a TSC timecounter until we know if it is broke or not.

XXX I think there is a bug in the i386 code here.  init_TSC_tc() comes
after:
  if (statclock_disable)
    return;

ie: if you turn off the statclock interrupt, you dont get the TSC either.

20 years agoMFi386 rev 1.105 by jhb: fix comment typo
Peter Wemm [Mon, 22 Sep 2003 22:54:14 +0000 (22:54 +0000)]
MFi386 rev 1.105 by jhb: fix comment typo

20 years agoMFi386 rev 1.256 by jhb: remove redundant #include <sys/sysctl.h>
Peter Wemm [Mon, 22 Sep 2003 22:52:46 +0000 (22:52 +0000)]
MFi386 rev 1.256 by jhb:  remove redundant #include <sys/sysctl.h>

20 years agoMFi386 rev 1.25 by jhb: add new MSR's and some missing older ones and
Peter Wemm [Mon, 22 Sep 2003 22:51:46 +0000 (22:51 +0000)]
MFi386 rev 1.25 by jhb: add new MSR's and some missing older ones and
APICBASE MSR constants.

20 years agoMFi386 rev 1.55 by sam: remove unused #define BUS_DMAMAP_NSEGS
Peter Wemm [Mon, 22 Sep 2003 22:43:21 +0000 (22:43 +0000)]
MFi386 rev 1.55 by sam: remove unused #define BUS_DMAMAP_NSEGS

20 years agoMFi386 rev 1.37: constant-friendly bswap macros
Peter Wemm [Mon, 22 Sep 2003 22:37:49 +0000 (22:37 +0000)]
MFi386 rev 1.37: constant-friendly bswap macros

20 years agoMFi386: pci_cfgreg.h rev 1.10 by jhb/des/njl. Fix CONF1_ENABLE_MSK.
Peter Wemm [Mon, 22 Sep 2003 22:21:21 +0000 (22:21 +0000)]
MFi386: pci_cfgreg.h rev 1.10 by jhb/des/njl.  Fix CONF1_ENABLE_MSK.

20 years agoMFCi386: trap.c rev 1.257 by bde. Don't forget to reenable interrupts
Peter Wemm [Mon, 22 Sep 2003 22:19:59 +0000 (22:19 +0000)]
MFCi386: trap.c rev 1.257 by bde.  Don't forget to reenable interrupts
for breakpoint and trace traps from usermode.  Although all the setidt
entries are interrupt gates on amd64, all but the trace and bpt trap
entry handlers reenable interrupts after the swapgs instruction in order
to simulate the trap/interrupt gate distinction.  In other words, the
amd64 code behaves the same way that i386 does here.

20 years agoMFi386 by jhb: add acpi_SetDefaultIntrModel();
Peter Wemm [Mon, 22 Sep 2003 22:12:46 +0000 (22:12 +0000)]
MFi386 by jhb:  add acpi_SetDefaultIntrModel();

20 years agoMFi386 by jhb: use symbolic constants for the IDT entries.
Peter Wemm [Mon, 22 Sep 2003 22:09:02 +0000 (22:09 +0000)]
MFi386 by jhb: use symbolic constants for the IDT entries.

20 years agoMFi386: machdep.c:1.570 clock.c:1.204 by bde: Quick fix for calling DELAY
Peter Wemm [Mon, 22 Sep 2003 21:56:48 +0000 (21:56 +0000)]
MFi386: machdep.c:1.570 clock.c:1.204 by bde:  Quick fix for calling DELAY
for ddb input in some atkbd-based console drivers.  ddb must not use any
normal locks but DELAY() normally calls getit() which needs clock_lock.
This also removes the need for recursion on clock_lock.

20 years agoMicrooptimization to allow the compiler to evaluate ntohl() etc on
Peter Wemm [Mon, 22 Sep 2003 21:46:47 +0000 (21:46 +0000)]
Microoptimization to allow the compiler to evaluate ntohl() etc on
known constants at compile time rather than at run time.  We have a number
of nasty hacks around the place to cache ntohl() of constants (eg: nfs).
This change allows the compiler to compile-time evaluate ntohl(1) as
0x01000000 rather than having to emit assembler code to do it.  This
has other smaller flow-on effects because the compiler can see that
ntohl(constant) itself has a constant value now and can propagate the
compile time evaluation.

Obtained from:  Ideas from NetBSD and Linux, and some code from NetBSD

20 years agoSimplify the KOBJOPLOOKUP macro for the non-debug case so that gcc's
Peter Wemm [Mon, 22 Sep 2003 21:32:49 +0000 (21:32 +0000)]
Simplify the KOBJOPLOOKUP macro for the non-debug case so that gcc's
heuristics do not overestimate the code size quite so much.

20 years agoFix inverted BURN_BRIDGES and GONE_IN_5 #ifdefs.
Thomas Moestl [Mon, 22 Sep 2003 17:58:40 +0000 (17:58 +0000)]
Fix inverted BURN_BRIDGES and GONE_IN_5 #ifdefs.

20 years agoPrevious commit contained too-smart-for-its-own-good code that might
Dag-Erling Smørgrav [Mon, 22 Sep 2003 16:05:11 +0000 (16:05 +0000)]
Previous commit contained too-smart-for-its-own-good code that might
produce incorrect (though harmless) output on single-CPU systems.

20 years agoFake multi-cpu statistics for proc/stat by dividing the totals by the
Dag-Erling Smørgrav [Mon, 22 Sep 2003 15:52:32 +0000 (15:52 +0000)]
Fake multi-cpu statistics for proc/stat by dividing the totals by the
number of CPUs.

PR: kern/27522

20 years agoSave and restore timeout field for signal frame just like what we did
David Xu [Mon, 22 Sep 2003 14:40:36 +0000 (14:40 +0000)]
Save and restore timeout field for signal frame just like what we did
for interrupted field.
Also in _thr_sig_handler, retrieve current signal mask from kernel not
from ucp, the later is pre-unioned mask, not current signal mask.

20 years agoFix FPU state restoring bug by jumping to right position.
David Xu [Mon, 22 Sep 2003 14:34:02 +0000 (14:34 +0000)]
Fix FPU state restoring bug by jumping to right position.

20 years agoSoften assert in pmap_remove_all.
Peter Grehan [Mon, 22 Sep 2003 11:59:05 +0000 (11:59 +0000)]
Soften assert in pmap_remove_all.
Introduct pmap_extract_and_hold.

Stolen from: sparc64

20 years agoATAng requires <sys/taskqueue.h>
Peter Grehan [Mon, 22 Sep 2003 11:55:02 +0000 (11:55 +0000)]
ATAng requires <sys/taskqueue.h>

20 years agodocument Sony PEGA-WL110
Warner Losh [Mon, 22 Sep 2003 05:36:32 +0000 (05:36 +0000)]
document Sony PEGA-WL110

# I think this is prism 3 based, but I could be wrong

20 years agoSony PEGA-WL110 Wireless LAN
Warner Losh [Mon, 22 Sep 2003 05:33:22 +0000 (05:33 +0000)]
Sony PEGA-WL110 Wireless LAN

Obtained from: NetBSD (onoe-san)

20 years agosync to 1.72
Warner Losh [Mon, 22 Sep 2003 05:27:33 +0000 (05:27 +0000)]
sync to 1.72

20 years agoMerge from NetBSD:
Warner Losh [Mon, 22 Sep 2003 05:27:03 +0000 (05:27 +0000)]
Merge from NetBSD:
1.186: onoe; Sony's PEGA-WL110 CF WLAN (which strangely has fujitsu's
   vendor id)
1.185: ichiro; Quatech Inc, PCMCIA Enhanced Parallel Port Card

Also:
o update $NetBSD$
o minor tweaks to FUJITSU.  We've tried to keep the CIS only entries seprate
  from vendor id/product id.

20 years agoAdd an off_t cast to prevent overflow on media size. This should
Nate Lawson [Mon, 22 Sep 2003 04:59:07 +0000 (04:59 +0000)]
Add an off_t cast to prevent overflow on media size.  This should
fix issues with geometry not matching drive size.

Submitted by: Clive Lin <clive@tongi.org>

20 years ago - vm_hold_free_pages() should lock the kernel object. (The pages being
Alan Cox [Mon, 22 Sep 2003 04:58:09 +0000 (04:58 +0000)]
 - vm_hold_free_pages() should lock the kernel object.  (The pages being
   freed belong to the kernel object.)
 - Increase the granularity of the vm object locking in vm_hold_load_pages()
   in order to reduce the number of times that we acquire and release the
   same lock.

20 years agoFix the ACPI_DEBUG case.
Nate Lawson [Mon, 22 Sep 2003 04:50:29 +0000 (04:50 +0000)]
Fix the ACPI_DEBUG case.

Reported by: Larry Rosenman <ler@lerctr.org>
PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
MFC after:

20 years agoInitialize the page's pindex field even for VM_ALLOC_NOOBJ allocations.
Alan Cox [Mon, 22 Sep 2003 00:56:13 +0000 (00:56 +0000)]
Initialize the page's pindex field even for VM_ALLOC_NOOBJ allocations.
(This field is useful for implementing sanity checks even if the page does
not belong to an object.)

20 years agoPrint waitset correctly.
David Xu [Mon, 22 Sep 2003 00:40:23 +0000 (00:40 +0000)]
Print waitset correctly.

20 years agochange bridge mib usage to reflect new world order
Sam Leffler [Sun, 21 Sep 2003 23:16:02 +0000 (23:16 +0000)]
change bridge mib usage to reflect new world order

Prodded by: Ruslan Ermilov <ru@FreeBSD.org>

20 years agorevert to version 1.25 and use va_copy to obtain another copy of the
Paul Saab [Sun, 21 Sep 2003 22:14:49 +0000 (22:14 +0000)]
revert to version 1.25 and use va_copy to obtain another copy of the
variable arguments. version 1.26 incorrectly truncated the message if
the buffer was too long.

Requested by: bde

20 years agoAllocate the page table directory page(s) as "no object" pages. (This
Alan Cox [Sun, 21 Sep 2003 21:36:13 +0000 (21:36 +0000)]
Allocate the page table directory page(s) as "no object" pages.  (This
leaves one explicit use of the pte object.)

20 years agoPut x11-wm/sawfish2 and irc/xchat on CD 1 instead of sawfish and xchat.
Joe Marcus Clarke [Sun, 21 Sep 2003 19:07:23 +0000 (19:07 +0000)]
Put x11-wm/sawfish2 and irc/xchat on CD 1 instead of sawfish and xchat.
Sawfish is gone, and xchat2 is more widely used these days since it is the
current stable release.

Approved by: re (murray)

20 years agoDocument the -x and -y options.
Poul-Henning Kamp [Sun, 21 Sep 2003 19:05:35 +0000 (19:05 +0000)]
Document the -x and -y options.

20 years agoMake the clone handler BURN_BRIDGES but the actual 'a' and 'c' partition
Poul-Henning Kamp [Sun, 21 Sep 2003 18:57:12 +0000 (18:57 +0000)]
Make the clone handler BURN_BRIDGES but the actual 'a' and 'c' partition
check GONE_IN_5:  We need the clone handler for root filesystem case.

Once under GEOM, we can remove the clone handler as GEOM provides one.

20 years agoMake this compile.
Poul-Henning Kamp [Sun, 21 Sep 2003 18:54:52 +0000 (18:54 +0000)]
Make this compile.

20 years ago(atapi_cb): Reorganize error handling circuitry.
Thomas Quinot [Sun, 21 Sep 2003 16:49:53 +0000 (16:49 +0000)]
(atapi_cb): Reorganize error handling circuitry.
 Fix to the messages output under CAM_DEBUG_CCB: the summary sense
 information (error bits and sense key) is in the error field, not
 in the result field, of struct ata_request. No other functional change.

20 years ago(atapi_cb): Disable autosense for now as it causes a missed ATA interrupt.
Thomas Quinot [Sun, 21 Sep 2003 08:53:05 +0000 (08:53 +0000)]
(atapi_cb): Disable autosense for now as it causes a missed ATA interrupt.
Minor reformatting.

20 years ago(scsi_request_sense): Set allocation length in REQUEST_SENSE CCB.
Thomas Quinot [Sun, 21 Sep 2003 08:45:36 +0000 (08:45 +0000)]
(scsi_request_sense): Set allocation length in REQUEST_SENSE CCB.

Reviewed by: ken

20 years ago(camperiphdone): When the cam_periph layer performs sense recovery,
Thomas Quinot [Sun, 21 Sep 2003 08:42:32 +0000 (08:42 +0000)]
(camperiphdone): When the cam_periph layer performs sense recovery,
 completion of recovery is indicated by positioning the CAM_AUTOSNS_VALID
 bit in the status field of the CCB, not in the flags field.
This fixes an endless loop of sense recovery actions.

Reviewed by: ken

20 years agoThe ports freeze may take longer than anticipated. Instead of
Daniel Eischen [Sun, 21 Sep 2003 07:59:16 +0000 (07:59 +0000)]
The ports freeze may take longer than anticipated.  Instead of
waiting for it to be delayed, temporarily back out the -pthread
removal until the freeze is lifted.

Freeze possibly taking longer than necessary: will
Requested by: kris

20 years ago - Fix MD_SMALL_ALLOC on architectures that support it. Define a new alloc
Jeff Roberson [Sun, 21 Sep 2003 07:39:16 +0000 (07:39 +0000)]
 - Fix MD_SMALL_ALLOC on architectures that support it.  Define a new alloc
   function, startup_alloc(), that is used for single page allocations prior
   to the VM starting up.  If it is used after the VM startups up, it
   replaces the zone's allocf pointer with either page_alloc() or
   uma_small_alloc() where appropriate.

Pointy hat to: me
Tested by: phk/amd64, me/x86

20 years agoMake LOCAL_PATCHES accept multiple patch files, as its name suggests.
Ruslan Ermilov [Sun, 21 Sep 2003 06:33:14 +0000 (06:33 +0000)]
Make LOCAL_PATCHES accept multiple patch files, as its name suggests.

20 years agoOnly print an end '}' if the field was non-zero (i.e. there were some flags
Nate Lawson [Sun, 21 Sep 2003 03:51:48 +0000 (03:51 +0000)]
Only print an end '}' if the field was non-zero (i.e. there were some flags
to print).

20 years agoAdd support for fixed event buttons defined in the DSDT (HID "ACPI_FSB"
Nate Lawson [Sun, 21 Sep 2003 02:49:59 +0000 (02:49 +0000)]
Add support for fixed event buttons defined in the DSDT (HID "ACPI_FSB"
and "ACPI_FPB").

Pointed out by: Linux

20 years agoReimplement pmap_release() such that it uses the page table rather than the
Alan Cox [Sat, 20 Sep 2003 23:54:36 +0000 (23:54 +0000)]
Reimplement pmap_release() such that it uses the page table rather than the
pte object to locate the page table directory pages.  (This is another step
toward the elimination of the pte object.)

20 years agoFix improper use of varargs.
Paul Saab [Sat, 20 Sep 2003 23:35:37 +0000 (23:35 +0000)]
Fix improper use of varargs.

Reviewed by: peter

20 years agoBad Jeffr! No cookie!
Peter Wemm [Sat, 20 Sep 2003 23:35:33 +0000 (23:35 +0000)]
Bad Jeffr! No cookie!

Temporarily disable the UMA_MD_SMALL_ALLOC stuff since recent commits
break sparc64, amd64, ia64 and alpha.  It appears only i386 and maybe
powerpc were not broken.

20 years agoFix copyright (Wind River has no rights to this file).
Bill Paul [Sat, 20 Sep 2003 21:42:56 +0000 (21:42 +0000)]
Fix copyright (Wind River has no rights to this file).

Add Gigabyte 7N400 Pro2 motherboard integrated gigE to list of
supported devices.

20 years agoUpdate the copyright year.
Ruslan Ermilov [Sat, 20 Sep 2003 21:32:26 +0000 (21:32 +0000)]
Update the copyright year.

20 years agoKeep up with recent mdoc(7) changes.
Ruslan Ermilov [Sat, 20 Sep 2003 21:23:53 +0000 (21:23 +0000)]
Keep up with recent mdoc(7) changes.

20 years agoComment out and mark all non-translated library strings.
Ruslan Ermilov [Sat, 20 Sep 2003 21:22:19 +0000 (21:22 +0000)]
Comment out and mark all non-translated library strings.

20 years agoSync with FSF branch.
Ruslan Ermilov [Sat, 20 Sep 2003 21:20:01 +0000 (21:20 +0000)]
Sync with FSF branch.

20 years agoRemove the dual-address cycle stuff. DAC is used to allow a bus master
Bill Paul [Sat, 20 Sep 2003 21:18:27 +0000 (21:18 +0000)]
Remove the dual-address cycle stuff. DAC is used to allow a bus master
device to access 64-bit addresses from a 32-bit PCI bus. While the
RealTek manual says you can set this bit and the chip will perform
DAC only if you give it a DMA address with any of the upper 32
bits set, this appears not to be the case. If I turn on the DAC
bit, the chip sets the 'system error' bit in the status register
when I to do a DMA on my Athlon test box with 32-bit PCI bus (VIA
chipset) even though I only have 128MB of physical memory, and thus
can never give the chip a 64-bit address.

Obviously, I can't just set it and forget it, so until I figure
out the right rule for when it's safe/necessary to enable it, keep
it turned off.

20 years agoThis commit was generated by cvs2svn to compensate for changes in r120297,
Ruslan Ermilov [Sat, 20 Sep 2003 21:13:43 +0000 (21:13 +0000)]
This commit was generated by cvs2svn to compensate for changes in r120297,
which included commits to RCS files with non-trunk default branches.

20 years agoKeep up with recent mdoc(7) changes, that include:
Ruslan Ermilov [Sat, 20 Sep 2003 21:13:43 +0000 (21:13 +0000)]
Keep up with recent mdoc(7) changes, that include:

- If no .Os call is made, don't print the OS info at all.
- Allow for multiple .Lb calls in the LIBRARY section.
- Improved documentation on punctuation characters.

20 years agoFix the last remaining problem encountered by KSE: apparently it is
Marcel Moolenaar [Sat, 20 Sep 2003 20:34:58 +0000 (20:34 +0000)]
Fix the last remaining problem encountered by KSE: apparently it is
not guaranteed that the RSE writes the NaT collection immediately,
sort of atomically, to the backing store when it writes the register
immediately prior to the NaT collection point. This means that we
cannot assume that the low 9 bits of the backingstore pointer do not
point to the NaT collection. This is rather a surprise and I don't
know at this time if it's a bug in the Merced or that it's actually
a valid condition of the architecture. A quick scan over the sources
does not indicate that we depend on the false assumption elsewhere,
but it's something to keep in mind.

The fix is to write the saved contents of the ar.rnat register to
the backingstore prior to entering the loop that copies the dirty
registers from the kernel stack to the user stack.

20 years agoAdd vendor Samsung and device Samsung ML-6060.
Stefan Eßer [Sat, 20 Sep 2003 20:01:08 +0000 (20:01 +0000)]
Add vendor Samsung and device Samsung ML-6060.

20 years agoMove uma_small_alloc() and uma_small_free() to uma_machdep.c. These
Marcel Moolenaar [Sat, 20 Sep 2003 19:27:48 +0000 (19:27 +0000)]
Move uma_small_alloc() and uma_small_free() to uma_machdep.c. These
functions reference UMA internals from <vm/uma_int.h>, which makes
them highly unwanted in non-UMA specific files.

While here, prune the includes in pmap.c and use __FBSDID(). Move
the includes above the descriptive comment.

The copyright of uma_machdep.c is assigned to the project and can
be reassigned to the foundation if and when when such is preferrable.

20 years agoEXPsys PCMCIA Ethernet Combo
Warner Losh [Sat, 20 Sep 2003 18:03:07 +0000 (18:03 +0000)]
EXPsys PCMCIA Ethernet Combo

Submitted by: Ludwig Pummer

20 years agoupdate to 1.71
Warner Losh [Sat, 20 Sep 2003 18:01:51 +0000 (18:01 +0000)]
update to 1.71

20 years agoEXPsys PCMCIA Ethernet Combo
Warner Losh [Sat, 20 Sep 2003 17:54:30 +0000 (17:54 +0000)]
EXPsys PCMCIA Ethernet Combo

Submitted by: Ludwig Pummer

20 years agoRemove unused #defines.
Warner Losh [Sat, 20 Sep 2003 17:46:39 +0000 (17:46 +0000)]
Remove unused #defines.

20 years agoThe method link_preload_finish is not static.
Doug Rabson [Sat, 20 Sep 2003 17:39:32 +0000 (17:39 +0000)]
The method link_preload_finish is not static.

20 years agoRemove an invalid KASSERT. Apparently pmap_remove_all gets called on
Jake Burkholder [Sat, 20 Sep 2003 17:00:59 +0000 (17:00 +0000)]
Remove an invalid KASSERT.  Apparently pmap_remove_all gets called on
unmanaged pages.

20 years agoAdd missing file, it is sorely needed to make if_sk.c compile again.
Wilko Bulte [Sat, 20 Sep 2003 15:49:22 +0000 (15:49 +0000)]
Add missing file, it is sorely needed to make if_sk.c compile again.

20 years agoFix width of first column in FILES table to account for longer device name.
Stefan Eßer [Sat, 20 Sep 2003 15:16:56 +0000 (15:16 +0000)]
Fix width of first column in FILES table to account for longer device name.

20 years agoFix name of no-reset device (ulpn -> unlpt).
Stefan Eßer [Sat, 20 Sep 2003 15:13:35 +0000 (15:13 +0000)]
Fix name of no-reset device (ulpn -> unlpt).

20 years agoCorrect card type of Netgear WG311 and add WAG311 and WGT511T
Stefan Eßer [Sat, 20 Sep 2003 15:10:38 +0000 (15:10 +0000)]
Correct card type of Netgear WG311 and add WAG311 and WGT511T
which are based on the AR5212 and should just work (not verified).
Add Proxim Skyline 4032, the PCI version of th e4030.
Add revision suffix 'B' to D-Link DWL-G520/G650 entries, in order
to indicate that revision A1 cards are not supported by this driver
(both A1 and B1/B2 cards are sold in identical boxes).
Explicitly point out the existence of unsupported DWL-G520/G650
(rev. A1) cards in the CAVEATS section.
Approved by: sam

20 years agoNote added support for 3C940 and Marvell Semiconductor 88E1000* gigabit PHY
Wilko Bulte [Sat, 20 Sep 2003 11:10:51 +0000 (11:10 +0000)]
Note added support for 3C940 and Marvell Semiconductor 88E1000* gigabit PHY

Submitted by: Jung-uk Kim <jkim@niksun.com>
Based on: Nathan L. Binkert's OpenBSD patch for sk(4)

20 years agoAdd support for SK-9521 V2.0 and 3COM 3C940.
Wilko Bulte [Sat, 20 Sep 2003 10:53:08 +0000 (10:53 +0000)]
Add support for SK-9521 V2.0 and 3COM 3C940.

Tested at 100Mbit only, using Asus P4P800 onboard 3C940.
The -stable version of this patch I have in use for ~2 weeks now, and works
just fine for me.

Based on: Nathan L. Binkert's patch for OpenBSD
Patch submitted by and thanks to: Jung-uk Kim <jkim@niksun.com>
MFC after: 2 weeks