]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
20 years agoAdd ISA attachement files for the aic7xxx driver.
gibbs [Tue, 17 Aug 2004 02:32:30 +0000 (02:32 +0000)]
Add ISA attachement files for the aic7xxx driver.

Approved by: re
Reminded by: obrien

20 years agoAdd an ISA attachement to the aic7xxx driver to handle 284X controllers.
gibbs [Tue, 17 Aug 2004 00:14:31 +0000 (00:14 +0000)]
Add an ISA attachement to the aic7xxx driver to handle 284X controllers.
The ISA probe uses an identify routine to probe all slot locations from
1 to 14 that do not conflict with other allocated resources.  This required
making aic7770.c part of the driver core when compiled as a module.

aic7xxx.c:
aic79xx.c:
aic_osm_lib.c:
Use aic_scb_timer_start() consistently to start the watchdog timer.
This removes a few places that verbatum copied the code in
aic_scb_timer_start().

During recovery processing, allow commands to still be queued to
the controller.  The only requirement we have is that our recovery
command be queued first - something the code already guaranteed.
The only other change required to make this work is to prevent
timers from being started for these newly queued commands.

Approved by: re

20 years ago- Sync whitespace and comments with i386 GENERIC.
marius [Mon, 16 Aug 2004 23:23:21 +0000 (23:23 +0000)]
- Sync whitespace and comments with i386 GENERIC.
- Add some commented out NICs from i386 GENERIC. Most of them look like they
  would work but I'm not sure if they are endian-clean and can't test. There
  was a report that sk(4) works on sparc64 but it doesn't look like it would
  because it doesn't use busdma.
- Improve some of the descriptions of sparc64 specific devices.

There's no functional change, i.e. no added or deleted uncommented devices or
options, in this commit.

20 years agoTry to catch up with reality:
marius [Mon, 16 Aug 2004 23:21:06 +0000 (23:21 +0000)]
Try to catch up with reality:
- Chase the split of pcm(4). This unbreaks LINT compiles.
- sc(4) basically works and a lot of its options should be supported.
- Add the creator and ofw_console drivers.
- vinum(4) should work, at least its module was turned on for sparc64 a while
  ago.
- Don't build sio(4). Its EBus front-end was removed a while ago and the ISA
  one hardly works. Use uart(4) instead, it's not perfect yet but works much
  better.

20 years agociss's interrupt handler was missing the INTR_ENTROPY flag.
peter [Mon, 16 Aug 2004 23:13:16 +0000 (23:13 +0000)]
ciss's interrupt handler was missing the INTR_ENTROPY flag.

20 years agoSync with i386 - Optimize intr_execute_handlers a bit etc.
peter [Mon, 16 Aug 2004 23:12:30 +0000 (23:12 +0000)]
Sync with i386 - Optimize intr_execute_handlers a bit etc.

20 years agoSync with i386 - remove unused includes
peter [Mon, 16 Aug 2004 23:10:46 +0000 (23:10 +0000)]
Sync with i386 - remove unused includes

20 years agoSync with i386 - get the softc via the devclass rather than caching the dev
peter [Mon, 16 Aug 2004 23:10:18 +0000 (23:10 +0000)]
Sync with i386 - get the softc via the devclass rather than caching the dev

20 years agoSync with i386 - add ADAPTIVE_GIANT, remove pcic
peter [Mon, 16 Aug 2004 22:59:24 +0000 (22:59 +0000)]
Sync with i386 - add ADAPTIVE_GIANT, remove pcic

20 years agoSync with i386 - add foot shooting protection for the DDB/KDB thing.
peter [Mon, 16 Aug 2004 22:57:47 +0000 (22:57 +0000)]
Sync with i386 - add foot shooting protection for the DDB/KDB thing.

20 years agoSync with i386 - set rbp reg to 0 for upcalls as a frame marker, not that
peter [Mon, 16 Aug 2004 22:57:13 +0000 (22:57 +0000)]
Sync with i386 - set rbp reg to 0 for upcalls as a frame marker, not that
it is guaranteed to be used in userland though.

20 years agoSync with i386 - trace syscall entry/exit times, and a cosmetic fix.
peter [Mon, 16 Aug 2004 22:56:20 +0000 (22:56 +0000)]
Sync with i386 - trace syscall entry/exit times, and a cosmetic fix.

20 years agoExample configuration files for customize.sh.
thomas [Mon, 16 Aug 2004 22:55:51 +0000 (22:55 +0000)]
Example configuration files for customize.sh.

Approved by: re (scottl)

20 years agoSync with i386 - fix bounds check in lapic_create()
peter [Mon, 16 Aug 2004 22:55:32 +0000 (22:55 +0000)]
Sync with i386 - fix bounds check in lapic_create()

20 years agoSync with i386 - pass resource requests up to parent
peter [Mon, 16 Aug 2004 22:54:50 +0000 (22:54 +0000)]
Sync with i386 - pass resource requests up to parent

20 years agoSync with i386 - s/cpu_swtch/cpu_switch/
peter [Mon, 16 Aug 2004 22:53:29 +0000 (22:53 +0000)]
Sync with i386 - s/cpu_swtch/cpu_switch/

20 years agoSync with i386 - dont count needed bounce pages if loading a buffer that
peter [Mon, 16 Aug 2004 22:53:03 +0000 (22:53 +0000)]
Sync with i386 - dont count needed bounce pages if loading a buffer that
was created with bud_dmamem_alloc()

20 years agoAdd documentation of the newly-added user-configurable Makefile knobs.
thomas [Mon, 16 Aug 2004 22:52:40 +0000 (22:52 +0000)]
Add documentation of the newly-added user-configurable Makefile knobs.

Approved by: re (scottl)

20 years agoSync with i386 - cosmetic fixes
peter [Mon, 16 Aug 2004 22:52:02 +0000 (22:52 +0000)]
Sync with i386 - cosmetic fixes

20 years agoCatch up with i386 - remove lots of no longer used symbolic constants
peter [Mon, 16 Aug 2004 22:51:44 +0000 (22:51 +0000)]
Catch up with i386 - remove lots of no longer used symbolic constants

20 years agoSync with i386
peter [Mon, 16 Aug 2004 22:51:13 +0000 (22:51 +0000)]
Sync with i386

20 years agoAdd example customization script, to be used through CUSTOMIZE Makefile knob.
thomas [Mon, 16 Aug 2004 22:46:58 +0000 (22:46 +0000)]
Add example customization script, to be used through CUSTOMIZE Makefile knob.

Approved by: re (scottl)

20 years agoProperly identify the root filesystem to be used in /etc/fstab in each
thomas [Mon, 16 Aug 2004 22:41:58 +0000 (22:41 +0000)]
Properly identify the root filesystem to be used in /etc/fstab in each
slice of the flash card, ensuring that the loader will mount the root fs
from the booted slice by default.

Allow usage of FFS volume labels instead of hardcoded device names through
WITH_GEOM_VOL Makefile knob.

Approved by: re (scottl)

20 years agoMake 'client DNS forward update' working again which got broken in rev.
mbr [Mon, 16 Aug 2004 22:35:56 +0000 (22:35 +0000)]
Make 'client DNS forward update' working again which got broken in rev.
RC9 of dhclient 3.0.1. This fix will be part of dhclient 3.0.2. It is
also part of the official redhat package.

Submitted by: Jason Vas Dias <jvdias@redhat.com>
Discussed on: dhcp-hackers@isc.org

20 years agoThe existing code fails some corner cases. Replace it with
arun [Mon, 16 Aug 2004 22:09:58 +0000 (22:09 +0000)]
The existing code fails some corner cases. Replace it with
ia64_bsp_adjust() which has been tested to work in all cases for
arbitrary (bsp, nslots) combinations.

reviewed by: marcel@

20 years agoRemove outb to "prime" the EISA ID registers of each slot. This was
gibbs [Mon, 16 Aug 2004 22:05:53 +0000 (22:05 +0000)]
Remove outb to "prime" the EISA ID registers of each slot.  This was
only required to support probing of the Adaptec 284X VLB SCSI controller
which becomes visible in EISA space if you perform these writes.  284X
probing is moving to an ISA attachment.

20 years agoModify the "legacy bus" to pass all resource allocations through to its
gibbs [Mon, 16 Aug 2004 21:55:29 +0000 (21:55 +0000)]
Modify the "legacy bus" to pass all resource allocations through to its
parent rather than track resources locally.  The original code
was incomplete in that it would only honor requests for resources
that already exist in its resource list.  This prevented many ISA
identify routines from allocating temporary resources.  Passing
the requests up to legacy's parent losing no functionality and
allows these requests to succeed.

Reviewed by: imp, jhb
Approved by: RE

20 years agoDocument local changes r1.41 and r1.42 of dhclient.c
mbr [Mon, 16 Aug 2004 21:31:34 +0000 (21:31 +0000)]
Document local changes r1.41 and r1.42 of dhclient.c

20 years agoRecommit removed Rev. 1.40. This fix does solve a FPE with negative lease
mbr [Mon, 16 Aug 2004 21:26:04 +0000 (21:26 +0000)]
Recommit removed Rev. 1.40. This fix does solve a FPE with negative lease
time as described in the PR below.

It seems that this patch should have been part of the vendor tree but got
accidently missed in the 3.0.1 final version. It will definitly be
part of 3.0.2 but until then it's a long way to go.

Submitted by:   ISC (Vendor)
PR:             bin/54517

20 years agoWe now handle SSDT tables. Remove a reference from the BUGS section
marcel [Mon, 16 Aug 2004 20:33:20 +0000 (20:33 +0000)]
We now handle SSDT tables. Remove a reference from the BUGS section
and explicitly mention SSDT when we talk about the DSDT so that people
don't have to guess whether it includes the SSDT.
While here, touch date.

Pointed out by: le@

20 years agoDon't initialize static variables to 0 (C should just take care of that).
philip [Mon, 16 Aug 2004 20:19:09 +0000 (20:19 +0000)]
Don't initialize static variables to 0 (C should just take care of that).

Spotted by: njl

20 years ago- Add my birthday. 24, yay.
pav [Mon, 16 Aug 2004 20:00:08 +0000 (20:00 +0000)]
- Add my birthday. 24, yay.

20 years agoI'm a dumbass: remember to initialize fh->nf_map to NULL in
wpaul [Mon, 16 Aug 2004 19:25:27 +0000 (19:25 +0000)]
I'm a dumbass: remember to initialize fh->nf_map to NULL in
ndis_open_file() in the module loading case.

20 years agoAs I said: the previous commit was untested... Remove an #endif which
marcel [Mon, 16 Aug 2004 19:05:08 +0000 (19:05 +0000)]
As I said: the previous commit was untested... Remove an #endif which
should have ceased to exist when its corresponding #if was removed.

20 years agoCatch up with the drive-by renaming of IA32 to COMPAT_IA32. It must
marcel [Mon, 16 Aug 2004 18:54:23 +0000 (18:54 +0000)]
Catch up with the drive-by renaming of IA32 to COMPAT_IA32. It must
have been rush hour...

While here, move COMPAT_IA32 from opt_global.h to opt_compat.h like on
amd64. Consequently, it's unsafe to use the option in pcb.h. We now
unconditionally have the ia32 specific registers in the PCB.

This commit is untested.

20 years agoThe Texas Instruments ACX111 driver wants srand(), so provide it.
wpaul [Mon, 16 Aug 2004 18:52:37 +0000 (18:52 +0000)]
The Texas Instruments ACX111 driver wants srand(), so provide it.

20 years agoMake the Texas Instruments 802.11g chipset work with the NDISulator.
wpaul [Mon, 16 Aug 2004 18:50:20 +0000 (18:50 +0000)]
Make the Texas Instruments 802.11g chipset work with the NDISulator.
This was tested with a Netgear WG311v2 802.11b/g PCI card. Things
that were fixed:

- This chip has two memory mapped regions, one at PCIR_BAR(0) and the
  other at PCIR_BAR(1). This is a little different from the other
  chips I've seen with two PCI shared memory regions, since they tend
  to have the second BAR ad PCIR_BAR(2). if_ndis_pci.c tests explicitly
  for PCIR_BAR(2). This has been changed to simply fill in ndis_res_mem
  first and ndis_res_altmem second, if a second shared memory range
  exists. Given that NDIS drivers seem to scan for BARs in ascending
  order, I think this should be ok.

- Fixed the code that tries to process firmware images that have been
  loaded as .ko files. To save a step, I was setting up the address
  mapping in ndis_open_file(), but ndis_map_file() flags pre-existing
  mappings as an error (to avoid duplicate mappings). Changed this so
  that the mapping is now donw in ndis_map_file() as expected.

- Made the typedef for 'driver_entry' explicitly include __stdcall
  to silence gcc warning in ndis_load_driver().

NOTE: the Texas Instruments ACX111 driver needs firmware. With my
card, there were 3 .bin files shipped with the driver. You must
either put these files in /compat/ndis or convert them with
ndiscvt -f and kldload them so the driver can use them. Without
the firmware image, the NIC won't work.

20 years agoITC.{i,d} instructions use format M41 not M42.
arun [Mon, 16 Aug 2004 18:41:24 +0000 (18:41 +0000)]
ITC.{i,d} instructions use format M41 not M42.

reviewed by: marcel@

20 years agoWhite space cleanup for netinet before branch:
rwatson [Mon, 16 Aug 2004 18:32:07 +0000 (18:32 +0000)]
White space cleanup for netinet before branch:

- Trailing tab/space cleanup
- Remove spurious spaces between or before tabs

This change avoids touching files that Andre likely has in his working
set for PFIL hooks changes for IPFW/DUMMYNET.

Approved by: re (scottl)
Submitted by: Xin LI <delphij@frontfree.net>

20 years agosys/boot seems to compile fine on Alpha; unbreak ``make release''.
ru [Mon, 16 Aug 2004 18:17:14 +0000 (18:17 +0000)]
sys/boot seems to compile fine on Alpha; unbreak ``make release''.

Prodded by: re-alpha (wilko)

20 years agoComment out rev. 1.4 after problems w/ IPv6, a better solution must be
mlaier [Mon, 16 Aug 2004 17:58:12 +0000 (17:58 +0000)]
Comment out rev. 1.4 after problems w/ IPv6, a better solution must be
found.

20 years agoFix low level code for Tau-PCI/2E1 and Tau-PCI/4E1 that was broken by previous
rik [Mon, 16 Aug 2004 17:28:04 +0000 (17:28 +0000)]
Fix low level code for Tau-PCI/2E1 and Tau-PCI/4E1 that was broken by previous
commit.
Pointy hat: rik

20 years agoAllow i386 binaries to do amr ioctls such as LSI's megamgr on amd64 and
ambrisko [Mon, 16 Aug 2004 17:23:09 +0000 (17:23 +0000)]
Allow i386 binaries to do amr ioctls such as LSI's megamgr on amd64 and
ia64.

PR: 63155
Submitted by: Mikhail Teterin
Tested on: i386, amd64 (via 64bit Xeon system)

20 years agoCreate temporary files safely.
nectar [Mon, 16 Aug 2004 16:37:06 +0000 (16:37 +0000)]
Create temporary files safely.

Submitted by: Jon Passki <cykyc@yahoo.com>

20 years agoUpdate support for Synaptics Touchpads (Volume V)
philip [Mon, 16 Aug 2004 16:28:27 +0000 (16:28 +0000)]
Update support for Synaptics Touchpads (Volume V)

 o Add (long awaited) support for guest devices

Submitted by: Arne Schwabe <arne@rfc2549.org>
Approved by: njl (in a former revision)

20 years agoIt could happen that the renew/rebind times in the leasefile were
mbr [Mon, 16 Aug 2004 16:09:50 +0000 (16:09 +0000)]
It could happen that the renew/rebind times in the leasefile were
expired but the expire time itself was still valid and in the future.
If this happened we ended up using the state S_RENEW with an
INADDR_BROADCAST address set in the request and dhclient never got
any answer back. The only workaround was to delete the lease file.

Fix this case with a check for the S_RENEW and a fallback to the
S_INIT state.

PR: bin/69361
Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>

20 years agoagp_amd64.c is not needed on pc98.
nyan [Mon, 16 Aug 2004 16:01:40 +0000 (16:01 +0000)]
agp_amd64.c is not needed on pc98.

20 years agoSome cards don't have the info entries in the CIS, so vendorstr and/or
imp [Mon, 16 Aug 2004 15:57:18 +0000 (15:57 +0000)]
Some cards don't have the info entries in the CIS, so vendorstr and/or
prodstr may be NULL when fetched.  For the default device description,
guard against this and return the numeric IDs instead when this
happens.  For the matching routines, and consider NULL to not match
those entries that aren't NULL w/o calling strcmp.

Early patches by: Anders Hanssen

20 years agoSync a reverted part of dhclient.c with the vendor source. It seems
mbr [Mon, 16 Aug 2004 15:48:02 +0000 (15:48 +0000)]
Sync a reverted part of dhclient.c with the vendor source. It seems
that a buxfix from rc14 got backed out again. We do the same.

20 years agoInstead of "OpenFirmware", "openfirmware", etc. use the official spelling
marius [Mon, 16 Aug 2004 15:45:27 +0000 (15:45 +0000)]
Instead of "OpenFirmware", "openfirmware", etc. use the official spelling
"Open Firmware" from IEEE 1275 and OpenFirmware.org (no pun intended).

Ok'ed by: tmm

20 years agoAnd isa_if.h
imp [Mon, 16 Aug 2004 15:24:03 +0000 (15:24 +0000)]
And isa_if.h

20 years agoAdd pccbb_isa.c and pccbb_pci.c
imp [Mon, 16 Aug 2004 15:23:10 +0000 (15:23 +0000)]
Add pccbb_isa.c and pccbb_pci.c

20 years agoUpgrading a lock does not play well together with acquiring an exclusive lock
kan [Mon, 16 Aug 2004 15:01:22 +0000 (15:01 +0000)]
Upgrading a lock does not play well together with acquiring an exclusive lock
and can lead to two threads being granted exclusive access. Check that no one
has the same lock in exclusive  mode before proceeding to acquire it.

The LK_WANT_EXCL and LK_WANT_UPGRADE bits act as mini-locks and can block
other threads.  Normally this is not a problem since the mini locks are
upgraded to full locks and the release of the locks will unblock the other
threads.  However if a thread reset the bits without obtaining a full lock
other threads are not awoken. Add missing wakeups for these cases.

PR: kern/69964
Submitted by: Stephan Uphoff <ups at tree dot com>
Very good catch by: Stephan Uphoff <ups at tree dot com>

20 years agoStore a pointer to "null" in struct ndblock's defn member instead of a
tjr [Mon, 16 Aug 2004 14:18:22 +0000 (14:18 +0000)]
Store a pointer to "null" in struct ndblock's defn member instead of a
duplicate allocated on the heap; the address defn points to is significant,
and is checked against the address of "null" in certain conditionals.

PR: 59883
MFC after: 1 week

20 years agoFix compile, s/tp_dtv/tp_tdv/g.
davidxu [Mon, 16 Aug 2004 14:07:38 +0000 (14:07 +0000)]
Fix compile, s/tp_dtv/tp_tdv/g.

20 years agoAdd MP_WATCHDOG option information to pc98, as it uses the i386
rwatson [Mon, 16 Aug 2004 13:59:01 +0000 (13:59 +0000)]
Add MP_WATCHDOG option information to pc98, as it uses the i386
mp_machdep.c, which relies on the option's include file and
defines.

Constancy of: tinderbox

20 years agoAdd /dev/mem and /dev/kmem to powerpc.
ssouhlal [Mon, 16 Aug 2004 13:07:40 +0000 (13:07 +0000)]
Add /dev/mem and /dev/kmem to powerpc.

Approved by: grehan (mentor)

20 years agoComplete 'IA32' -> 'COMPAT_IA32' change for the Linuxulator32.
obrien [Mon, 16 Aug 2004 12:51:33 +0000 (12:51 +0000)]
Complete 'IA32' -> 'COMPAT_IA32' change for the Linuxulator32.

20 years agoUn-comment LINPROCFS.
tjr [Mon, 16 Aug 2004 12:39:27 +0000 (12:39 +0000)]
Un-comment LINPROCFS.

20 years agoAMD64 on-CPU GART support.
obrien [Mon, 16 Aug 2004 12:25:48 +0000 (12:25 +0000)]
AMD64 on-CPU GART support.
This also applies to AMD64 HW running 'i386' OS.

Submitted by: Jung-uk Kim <jkim@niksun.com>
Integration by: obrien

20 years agostyle.9.
obrien [Mon, 16 Aug 2004 12:23:53 +0000 (12:23 +0000)]
style.9.

20 years agoFix the 'DEBUG' argument code to unbreak the amd64 LINT build.
obrien [Mon, 16 Aug 2004 12:15:07 +0000 (12:15 +0000)]
Fix the 'DEBUG' argument code to unbreak the amd64 LINT build.

20 years agoPut the 'antispoof' opcode in the proper place in the opcode list such
obrien [Mon, 16 Aug 2004 12:05:19 +0000 (12:05 +0000)]
Put the 'antispoof' opcode in the proper place in the opcode list such
that it doesn't break the ipfw2 ABI.

20 years agoUpdate low level code for Cronyx Tau-PCI:
rik [Mon, 16 Aug 2004 12:00:07 +0000 (12:00 +0000)]
Update low level code for Cronyx Tau-PCI:
1. Add support for Cronyx Tau-PCI/E3 rev.B.
2. Improve model identification and firmware load procedure.

20 years agoAdd 3653/tcp and 3653/udp, since they were specifically requested.
cperciva [Mon, 16 Aug 2004 11:52:22 +0000 (11:52 +0000)]
Add 3653/tcp and 3653/udp, since they were specifically requested.

PR: conf/63907
Submitted by: Marc Blanchet
MFC after: 3 days

20 years agoI missed an 'IA32' in the documentation.
obrien [Mon, 16 Aug 2004 11:15:46 +0000 (11:15 +0000)]
I missed an 'IA32' in the documentation.

20 years agoFix the 'DEBUG' argument code to unbreak the amd64 LINT build.
obrien [Mon, 16 Aug 2004 11:12:57 +0000 (11:12 +0000)]
Fix the 'DEBUG' argument code to unbreak the amd64 LINT build.

20 years agoI'm not sure what tjr envisioned for turning on FreeBSD/i386 rt support,
obrien [Mon, 16 Aug 2004 11:09:59 +0000 (11:09 +0000)]
I'm not sure what tjr envisioned for turning on FreeBSD/i386 rt support,
but make it COMPAT_IA32 for now.
Fix the 'DEBUG' argument code to unbreak the amd64 LINT build.

20 years agoFix the 'DEBUG' argument code to unbreak the amd64 LINT build.
obrien [Mon, 16 Aug 2004 10:54:25 +0000 (10:54 +0000)]
Fix the 'DEBUG' argument code to unbreak the amd64 LINT build.

20 years agoRemove Wiretek UBRJ4 from the list of supported devices. While it is
simon [Mon, 16 Aug 2004 10:49:45 +0000 (10:49 +0000)]
Remove Wiretek UBRJ4 from the list of supported devices.  While it is
detected by the driver, it doesn't really work as soon as it really used
for network traffic.  Perhaps it can be re-added later when the issues
are resolved.

Reported by: Soeren Vrist <seet@seet.dk>

20 years agoAdd myself as geom_raid3 maintainer.
pjd [Mon, 16 Aug 2004 10:43:41 +0000 (10:43 +0000)]
Add myself as geom_raid3 maintainer.

20 years agoFix the 'DEBUG' argument code to unbreak the LINT build.
obrien [Mon, 16 Aug 2004 10:36:12 +0000 (10:36 +0000)]
Fix the 'DEBUG' argument code to unbreak the LINT build.

20 years agoMinor style.9 cleanup.
obrien [Mon, 16 Aug 2004 10:33:35 +0000 (10:33 +0000)]
Minor style.9 cleanup.

20 years agoBring back 'NO_FLOPPIES', but as a user external knob.
obrien [Mon, 16 Aug 2004 10:25:43 +0000 (10:25 +0000)]
Bring back 'NO_FLOPPIES', but as a user external knob.
The internal logic knob remains MAKE_FLOPPIES.

Suggested by: ru

20 years agoWhen looking for some extra data to include in the hash, use the
dwmalone [Mon, 16 Aug 2004 10:00:44 +0000 (10:00 +0000)]
When looking for some extra data to include in the hash, use the
address of the dirhash, rather than the first sizeof(struct dirhash
*) bytes of the structure (which, thankfully, seem to be constant).

Submitted by: Ted Unangst <tedu@zeitbombe.org>
MFC after: 2 weeks

20 years agoImprove MIME handling. This patch is based on Eugene's patch, but
dwmalone [Mon, 16 Aug 2004 09:38:34 +0000 (09:38 +0000)]
Improve MIME handling. This patch is based on Eugene's patch, but
with the following changes:

1) Don't make a mime_types.h 'cos we should avoid creating variables
   in header files,
2) Use strrchr to find the extension, rather than strchr,
3) Slightly simplify the mime-type matching loop.

any goof are likely to be mine. Note that there are links to more
improvements by Eugene in the PR.

PR: 29725
Submitted by: Eugene Grosbein <eugen@kuzbass.ru>

20 years agoRemove some debug cruft from the Makefiles and make them ${.OBJDIR}
dfr [Mon, 16 Aug 2004 09:35:49 +0000 (09:35 +0000)]
Remove some debug cruft from the Makefiles and make them ${.OBJDIR}
friendly.

20 years agoImprove (hopefully) on the workaround code for devices that doesn't
sos [Mon, 16 Aug 2004 09:32:35 +0000 (09:32 +0000)]
Improve (hopefully) on the workaround code for devices that doesn't
interrupt when command is done, ie some ATAPI CD drives with no
media loaded.

20 years agoAdd Hungarian calendar entries.
dwmalone [Mon, 16 Aug 2004 09:31:09 +0000 (09:31 +0000)]
Add Hungarian calendar entries.

PR: 42725
Submitted by: Janos Mohacsi <janos.mohacsi@bsd.hu>

20 years agoFix Promise sx4/sx4000 support that broke on the latest race fixes.
sos [Mon, 16 Aug 2004 09:29:46 +0000 (09:29 +0000)]
Fix Promise sx4/sx4000 support that broke on the latest race fixes.

20 years agoAdd regression tests for GEOM_RAID3.
pjd [Mon, 16 Aug 2004 09:09:23 +0000 (09:09 +0000)]
Add regression tests for GEOM_RAID3.

20 years agoAccept the fact that floppies either aren't applicable or relevant on most
obrien [Mon, 16 Aug 2004 08:58:04 +0000 (08:58 +0000)]
Accept the fact that floppies either aren't applicable or relevant on most
platforms.  So follow 'MAKE_ISOS''s style and s/NO_FLOPPIES/MAKE_FLOPPIES/g.

20 years agoFollow 'MAKE_ISOS' in naming and s/FLOPPIES/MAKE_FLOPPIES/g
obrien [Mon, 16 Aug 2004 08:56:50 +0000 (08:56 +0000)]
Follow 'MAKE_ISOS' in naming and s/FLOPPIES/MAKE_FLOPPIES/g

Submitted by: ru

20 years agoIncrease the scaling of VM_KMEM_SIZE_MAX.
obrien [Mon, 16 Aug 2004 08:35:22 +0000 (08:35 +0000)]
Increase the scaling of VM_KMEM_SIZE_MAX.

Submitted by: alc

20 years agos/MAX_SAFE_MAXVNODES/MAXVNODES_MAX/g
obrien [Mon, 16 Aug 2004 08:33:37 +0000 (08:33 +0000)]
s/MAX_SAFE_MAXVNODES/MAXVNODES_MAX/g

20 years agoDecrease debug level to 0.
pjd [Mon, 16 Aug 2004 08:33:04 +0000 (08:33 +0000)]
Decrease debug level to 0.

20 years agoAccept the fact that floppies either aren't applicable or relevant on most
obrien [Mon, 16 Aug 2004 08:28:58 +0000 (08:28 +0000)]
Accept the fact that floppies either aren't applicable or relevant on most
platforms.  So make the floppy logic easier to read.

20 years agoFix warning.
pjd [Mon, 16 Aug 2004 08:21:31 +0000 (08:21 +0000)]
Fix warning.

20 years agoAdd support for 32-bit Linux binary emulation on amd64:
tjr [Mon, 16 Aug 2004 08:19:18 +0000 (08:19 +0000)]
Add support for 32-bit Linux binary emulation on amd64:
- include <machine/../linux32/linux.h> instead of <machine/../linux/linux.h>
  if building with the COMPAT_LINUX32 option.
- make minimal changes to the i386 linprocfs_docpuinfo() function to support
  amd64. We return a fake CPU family of 6 for now.

20 years agoFix alpha build and add __FBSDID.
dfr [Mon, 16 Aug 2004 08:12:29 +0000 (08:12 +0000)]
Fix alpha build and add __FBSDID.

PR: 70518

20 years agoRegen.
tjr [Mon, 16 Aug 2004 08:07:06 +0000 (08:07 +0000)]
Regen.

20 years agoAdd preliminary support for running 32-bit Linux binaries on amd64, enabled
tjr [Mon, 16 Aug 2004 07:55:06 +0000 (07:55 +0000)]
Add preliminary support for running 32-bit Linux binaries on amd64, enabled
with the COMPAT_LINUX32 option. This is largely based on the i386 MD Linux
emulations bits, but also builds on the 32-bit FreeBSD and generic IA-32
binary emulation work.

Some of this is still a little rough around the edges, and will need to be
revisited before 32-bit and 64-bit Linux emulation support can coexist in
the same kernel.

20 years agoUpdate the date.
pjd [Mon, 16 Aug 2004 07:53:43 +0000 (07:53 +0000)]
Update the date.

Reminded by: ru

20 years agoThis patch merges the sort fields for both pages, so you can (for
alfred [Mon, 16 Aug 2004 07:51:22 +0000 (07:51 +0000)]
This patch merges the sort fields for both pages, so you can (for
example) view io stats while sorting by process size.  Also adds
voluntary and involuntary context-switch stats to the io page because
there was lots of room.

Submitted by: Dan Nelson dnelson at allantgroup.com

20 years agoChanges to MI Linux emulation code necessary to run 32-bit Linux binaries
tjr [Mon, 16 Aug 2004 07:28:16 +0000 (07:28 +0000)]
Changes to MI Linux emulation code necessary to run 32-bit Linux binaries
on AMD64, and the general case where the emulated platform has different
size pointers than we use natively:
- declare certain structure members as l_uintptr_t and use the new PTRIN
  and PTROUT macros to convert to and from native pointers.
- declare some structures __packed on amd64 when the layout would differ
  from that used on i386.
- include <machine/../linux32/linux.h> instead of <machine/../linux/linux.h>
  if compiling with COMPAT_LINUX32. This will need to be revisited before
  32-bit and 64-bit Linux emulation support can coexist in the same kernel.
- other small scattered changes.

This should be a no-op on i386 and Alpha.

20 years agoAdd a new type, l_uintptr_t, which is an unsigned integer type with the
tjr [Mon, 16 Aug 2004 07:05:44 +0000 (07:05 +0000)]
Add a new type, l_uintptr_t, which is an unsigned integer type with the
same width as a pointer under Linux. Add two new macros, PTRIN and PTROUT,
which convert between l_uintptr_t and native pointers.

20 years agoUse a local "compress" symbol corresponding to a variable in BSS,
ru [Mon, 16 Aug 2004 07:02:14 +0000 (07:02 +0000)]
Use a local "compress" symbol corresponding to a variable in BSS,
rather than the one from libz, corresponding to a function, when
linking statically.

PR: bin/70392

20 years agoInform hier(7) about /usr/include/geom/raid3/ directory.
pjd [Mon, 16 Aug 2004 06:39:10 +0000 (06:39 +0000)]
Inform hier(7) about /usr/include/geom/raid3/ directory.

20 years agoConnect RAID3 GEOM class to the build.
pjd [Mon, 16 Aug 2004 06:36:21 +0000 (06:36 +0000)]
Connect RAID3 GEOM class to the build.

20 years agoDon't need to declare cbb module. don't know why I never saw
imp [Mon, 16 Aug 2004 06:33:58 +0000 (06:33 +0000)]
Don't need to declare cbb module.  don't know why I never saw
duplicate messages..