]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
20 years agoAdd support for the Promise command sequencer present on all modern Promise
Søren Schmidt [Tue, 13 Apr 2004 09:44:20 +0000 (09:44 +0000)]
Add support for the Promise command sequencer present on all modern Promise
controllers (PDC203** PDC206**).

This also adds preliminary support for the Promise SX4/SX4000 but *only*
as a "normal" Promise ATA controller (ATA RAID's are supported though
but only RAID0, RAID1 and RAID0+1).

This cuts off yet another 5-8% of the command overhead on promise controllers,
making them the fastest we have ever had support for.

Work is now continuing to add support for this in ATA RAID, to accellerate
ATA RAID quite a bit on these controllers, and especially the SX4/SX4000
series as they have quite a few tricks in there..

This commit also adds a few fixes to the SATA code needed for proper support.

20 years agoBump __FreeBSD_version on behalf of the new .warning directive in make(1).
Ruslan Ermilov [Tue, 13 Apr 2004 09:33:33 +0000 (09:33 +0000)]
Bump __FreeBSD_version on behalf of the new .warning directive in make(1).

Requested by: kris

20 years agoMake functions and variables static.
Luigi Rizzo [Tue, 13 Apr 2004 08:34:52 +0000 (08:34 +0000)]
Make functions and variables static.
Remove global variables in favour of local ones.
Fix indentation of a couple of switch statements.

Overall, this program badly need cleaning up, as it relies
on information passed around through global variables.

20 years agoAdded FreeBSD 5.2.1, just in case.
Ruslan Ermilov [Tue, 13 Apr 2004 07:12:17 +0000 (07:12 +0000)]
Added FreeBSD 5.2.1, just in case.

20 years agoAdded upcoming 4.10 and 5.3 releases.
Ruslan Ermilov [Tue, 13 Apr 2004 07:07:46 +0000 (07:07 +0000)]
Added upcoming 4.10 and 5.3 releases.

Reminded by: marcel

20 years agoAdd -P arguments for dump(8) and restore(8) which allow the user to
Brian Feldman [Tue, 13 Apr 2004 02:58:06 +0000 (02:58 +0000)]
Add -P arguments for dump(8) and restore(8) which allow the user to
use backup methods other than files and tapes.  The -P argument is
a normal sh(1) pipeline with either $DUMP_VOLUME or $RESTORE_VOLUME
defined in the environment, respectively.

For example, I can back up my home to three DVD+R[W]s as so:
Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/ad0s2e  40028550 10093140 26733126    27%    /home
green# dump -0 -L -C16 -B4589840 -P 'growisofs -Z /dev/cd0=/dev/fd/0' /home

20 years agoThe 3CXE589DT was spotted in the wild, and is presumed supported by
Warner Losh [Tue, 13 Apr 2004 01:26:03 +0000 (01:26 +0000)]
The 3CXE589DT was spotted in the wild, and is presumed supported by
this driver.

Also, add 3Com to a number of places.

20 years agoFix off by one error, twice.
Warner Losh [Mon, 12 Apr 2004 23:02:21 +0000 (23:02 +0000)]
Fix off by one error, twice.

Submitted by: Carlos Velasco (first one), jhb (second one)

20 years agoDo not drop Giant around the poll method yet, we're not ready for it.
Poul-Henning Kamp [Mon, 12 Apr 2004 21:52:52 +0000 (21:52 +0000)]
Do not drop Giant around the poll method yet, we're not ready for it.

20 years agoMFp4:
Warner Losh [Mon, 12 Apr 2004 21:04:54 +0000 (21:04 +0000)]
MFp4:
Alignment for pccards should also be treated in a similar way that
we tread it for cardbus cards.

Remove bogus debugs while I'm here.

# This is also necessary to make the CIS reading work.

Submitted by: Carlos Velasco

20 years agoImprove reading of CIS cards:
Warner Losh [Mon, 12 Apr 2004 20:56:34 +0000 (20:56 +0000)]
Improve reading of CIS cards:

(1) Align to 64k for the CIS.  Some cards don't like it when we aren't
    aligned to a 64k boundary.  I can't find anything in the standard
    that requires this, but I have 1/2 dozen cards that won't work at
    all unless I enable this.
(2) Sleep 1s before scanning the CIS.  This may be a nop, but has little
    harm.
(3) The CIS can be up to 4k in some weird, odd-ball edge cases.  Since we
    have limiters for when that's not the case, it does no harm to increase
    it to 4k.

#1 was submitted, in a different form, by Carlos Velasco.

20 years agoremove an almost-duplicate piece of code by setting the loop
Luigi Rizzo [Mon, 12 Apr 2004 20:26:01 +0000 (20:26 +0000)]
remove an almost-duplicate piece of code by setting the loop
limits appropriately.

20 years agoin rtinit(), remove one useless variable, and move a few others
Luigi Rizzo [Mon, 12 Apr 2004 20:24:30 +0000 (20:24 +0000)]
in rtinit(), remove one useless variable, and move a few others
within the block where they are used.

20 years agoImprove the warnings for dump -L and do not bother doing the snapshot if
Brian Feldman [Mon, 12 Apr 2004 20:19:32 +0000 (20:19 +0000)]
Improve the warnings for dump -L and do not bother doing the snapshot if
it is specified for read-only filesystems.

Submitted by:   Jason Young <jyoung8607@hotmail.com>
PR:     46672

20 years agoThe .DEFAULT target with no commands caused a null pointer dereference.
Ruslan Ermilov [Mon, 12 Apr 2004 20:05:11 +0000 (20:05 +0000)]
The .DEFAULT target with no commands caused a null pointer dereference.

PR: bin/63405
Obtained from: NetBSD

20 years agoCatch up with diskless split "diskless" is no longer provided.
Brooks Davis [Mon, 12 Apr 2004 18:11:00 +0000 (18:11 +0000)]
Catch up with diskless split "diskless" is no longer provided.

Suggested by: cperciva

20 years agoStyle fixes
Tim Kientzle [Mon, 12 Apr 2004 18:06:07 +0000 (18:06 +0000)]
Style fixes

Pointed out by: bde

20 years agoDocument the new .warning directive.
Ruslan Ermilov [Mon, 12 Apr 2004 18:00:54 +0000 (18:00 +0000)]
Document the new .warning directive.

20 years agoAdded the new .warning directive.
Ruslan Ermilov [Mon, 12 Apr 2004 17:57:51 +0000 (17:57 +0000)]
Added the new .warning directive.

Submitted by: Cyrille Lefevre

20 years agostop() no longer needs sched_lock held; in fact, holding sched_lock causes
Colin Percival [Mon, 12 Apr 2004 15:56:05 +0000 (15:56 +0000)]
stop() no longer needs sched_lock held; in fact, holding sched_lock causes
a LOR against sleepq.  Fix the comment, and fix ptracestop() to pick up
sched_lock after stop() rather than before.

Reported by: Scott Sipe <cscotts@mindspring.com>
Reviewed by: rwatson, jhb

20 years agoShow link-level multicast packet counters with the -a option.
Ruslan Ermilov [Mon, 12 Apr 2004 15:00:48 +0000 (15:00 +0000)]
Show link-level multicast packet counters with the -a option.

20 years agoCount outgoing link-level broadcast packets in if_omcasts.
Ruslan Ermilov [Mon, 12 Apr 2004 14:59:25 +0000 (14:59 +0000)]
Count outgoing link-level broadcast packets in if_omcasts.
I'm not sure this is completely correct but at least this
is consistent with the accounting of incoming broadcasts.

PR: kern/65273
Submitted by: David J Duchscher <daved@tamu.edu>

20 years agoSync list of FTP sites with current reality.
Ken Smith [Mon, 12 Apr 2004 13:21:46 +0000 (13:21 +0000)]
Sync list of FTP sites with current reality.

MFC after: 1 day
Approved by: rwatson (mentor)

20 years agoPerform some basic validation of multibyte conversion state objects.
Tim J. Robbins [Mon, 12 Apr 2004 13:09:18 +0000 (13:09 +0000)]
Perform some basic validation of multibyte conversion state objects.

20 years agoDon't send the available space as is in the FSSTAT call. Under
Maxime Henrion [Mon, 12 Apr 2004 13:02:21 +0000 (13:02 +0000)]
Don't send the available space as is in the FSSTAT call.  Under
FreeBSD, we can have a negative available space value, but the
corresponding fields in the NFS protocol are unsigned.  So
trnucate the value to 0 if it's negative, so that the client
doesn't receive absurdly high values.

Tested by: cognet

20 years agoRemove a nonsensical remark about byte order markers in UTF-8 streams.
Tim J. Robbins [Mon, 12 Apr 2004 12:58:41 +0000 (12:58 +0000)]
Remove a nonsensical remark about byte order markers in UTF-8 streams.

20 years agoFixed alignment of multicast addresses when printing that got
Ruslan Ermilov [Mon, 12 Apr 2004 09:44:42 +0000 (09:44 +0000)]
Fixed alignment of multicast addresses when printing that got
broken in previous revision.

20 years agoFix "sleeping without a mutex" panic.
Mark Murray [Mon, 12 Apr 2004 09:13:24 +0000 (09:13 +0000)]
Fix "sleeping without a mutex" panic.

20 years agoRemove a check for the return value added in rev 1.41. It's not an error
Nate Lawson [Mon, 12 Apr 2004 05:04:47 +0000 (05:04 +0000)]
Remove a check for the return value added in rev 1.41.  It's not an error
to fail to turn off a fan, since the case is that it's usually already off.

20 years agoMove sx to i386/NOTES for the moment. I missed the
Warner Losh [Mon, 12 Apr 2004 02:36:51 +0000 (02:36 +0000)]
Move sx to i386/NOTES for the moment.  I missed the
enable/disable_intr() in the code.

20 years agoMore work on ACLs: fix error in archive_entry's ACL parsing code,
Tim Kientzle [Mon, 12 Apr 2004 01:16:16 +0000 (01:16 +0000)]
More work on ACLs: fix error in archive_entry's ACL parsing code,
  try to set ACLs even if fflag restore fails, first cut at reading
  Solaris tar ACLs

Code improvement: merge gnu tar read support into main tar reader;
  this eliminates a lot of duplicate code and generalizes the tar
  reader to handle formats with GNU-like extensions.

Style: Makefile cleanup, eliminate 'dmalloc' references, remove 'tartype'
  from archive_entry (this makes archive_entry more format-agnostic)

Thanks to: David Magda for providing Solaris tar test files

20 years agoAdd DPADD to Makefile (thanks to Andrey for pointing this out).
Tim Kientzle [Mon, 12 Apr 2004 00:13:23 +0000 (00:13 +0000)]
Add DPADD to Makefile (thanks to Andrey for pointing this out).

Generally clean up Makefile, remove dmalloc references from source
(there are better ways to do this than pollute the FreeBSD src tree).

20 years agoFix some minor grammar nits. Translators can probably ignore this.
Bruce A. Mah [Sun, 11 Apr 2004 23:49:16 +0000 (23:49 +0000)]
Fix some minor grammar nits.  Translators can probably ignore this.

20 years agoBump __FreeBSD_version for getgrent(3) removal. I doubt anything
Maxime Henrion [Sun, 11 Apr 2004 21:57:07 +0000 (21:57 +0000)]
Bump __FreeBSD_version for getgrent(3) removal.  I doubt anything
outside of the tree uses it, but it doesn't cost anything.

20 years agoBelatedly remove the getvfsent(3) API. All the consumers have been
Maxime Henrion [Sun, 11 Apr 2004 21:36:31 +0000 (21:36 +0000)]
Belatedly remove the getvfsent(3) API.  All the consumers have been
updated to use getvfsbyname(3) or the vfs.conflist sysctl since a
long time, except mount_smbfs(8) which has just been fixed.

20 years agoPut struct ovfsconf inside BURN_BRIDGES as well.
Maxime Henrion [Sun, 11 Apr 2004 21:26:07 +0000 (21:26 +0000)]
Put struct ovfsconf inside BURN_BRIDGES as well.

20 years agoPut deprecated sysctl code inside BURN_BRIDGES.
Maxime Henrion [Sun, 11 Apr 2004 21:09:22 +0000 (21:09 +0000)]
Put deprecated sysctl code inside BURN_BRIDGES.

20 years agoSync with other mount_*fs(8) utilities; we don't need to try to
Maxime Henrion [Sun, 11 Apr 2004 21:07:26 +0000 (21:07 +0000)]
Sync with other mount_*fs(8) utilities; we don't need to try to
load the smbfs module because the mount(2) syscall will do it
if it's needed.

20 years agoImplemented per-interface polling(4) control.
Ruslan Ermilov [Sun, 11 Apr 2004 21:01:12 +0000 (21:01 +0000)]
Implemented per-interface polling(4) control.

20 years agoImplemented per-interface polling(4) control.
Ruslan Ermilov [Sun, 11 Apr 2004 20:34:08 +0000 (20:34 +0000)]
Implemented per-interface polling(4) control.

20 years agoAdd sx driver, since it looks like it should work on all
Warner Losh [Sun, 11 Apr 2004 20:17:34 +0000 (20:17 +0000)]
Add sx driver, since it looks like it should work on all
architectures.

20 years agoUpdate to recent driver api changes.
Warner Losh [Sun, 11 Apr 2004 20:15:15 +0000 (20:15 +0000)]
Update to recent driver api changes.

20 years agoAdd glue for new sx driver.
Warner Losh [Sun, 11 Apr 2004 20:01:18 +0000 (20:01 +0000)]
Add glue for new sx driver.

20 years agoUse vm_page_hold() rather than vm_page_wire() for short-duration page
Alan Cox [Sun, 11 Apr 2004 19:57:11 +0000 (19:57 +0000)]
Use vm_page_hold() rather than vm_page_wire() for short-duration page
wiring.  The reason being that vm_page_hold() is cheaper.

20 years agoFrank Mayhar's <frank@exit.com> sx driver for older Specialix
Warner Losh [Sun, 11 Apr 2004 19:32:20 +0000 (19:32 +0000)]
Frank Mayhar's <frank@exit.com> sx driver for older Specialix
I/O8+ and I/O4+ intelligent serial controllers.  si is for
completely different hardware, also made by Specialix.

20 years agoImplemented per-interface polling(4) control.
Ruslan Ermilov [Sun, 11 Apr 2004 19:25:56 +0000 (19:25 +0000)]
Implemented per-interface polling(4) control.

20 years agoAdd note about why we're ignoring the below 1MB bit.
Warner Losh [Sun, 11 Apr 2004 19:22:25 +0000 (19:22 +0000)]
Add note about why we're ignoring the below 1MB bit.

20 years agoFixed resetting of the watchdog timer and queue full flag.
Ruslan Ermilov [Sun, 11 Apr 2004 18:28:14 +0000 (18:28 +0000)]
Fixed resetting of the watchdog timer and queue full flag.

20 years agoCommit import of OpenBSD-stable fix:
Max Laier [Sun, 11 Apr 2004 17:35:40 +0000 (17:35 +0000)]
Commit import of OpenBSD-stable fix:

 Fix by dhartmei@ and mcbride@
 1.433
 Properly m_copyback() modified TCP sequence number after demodulation
 1.432
 Fix icmp checksum when sequence number modlation is being used.
 Also fix a daddr vs saddr cut-n-paste error in ICMP error handling.

 Fixes PR 3724

Obtained from: OpenBSD
Reviewed by: dhartmei
Approved by: rwatson

20 years agoUnbreak build: s/TAILQ_ISEMPTY/TAILQ_EMPTY/g
Marcel Moolenaar [Sun, 11 Apr 2004 17:15:36 +0000 (17:15 +0000)]
Unbreak build: s/TAILQ_ISEMPTY/TAILQ_EMPTY/g

20 years agoIn 4.x, if_ipending is used to track network interrupt state. In 5.x,
Robert Watson [Sun, 11 Apr 2004 16:35:53 +0000 (16:35 +0000)]
In 4.x, if_ipending is used to track network interrupt state.  In 5.x,
it is no longer used, so GC the ifnet.if_ipending field.

20 years agoStop xe claiming ownership of every card passed to xe_pccard_match.
Scott Mitchell [Sun, 11 Apr 2004 16:34:29 +0000 (16:34 +0000)]
Stop xe claiming ownership of every card passed to xe_pccard_match.

Found by: Pete Carss <itinerant at mac dot com>
Reviewed by: imp (mentor)
Pointy hat to: rsm

20 years agoCompare IFF_POLLING flag with ifp->if_flags rather than ifp->if_ipending,
Robert Watson [Sun, 11 Apr 2004 16:26:39 +0000 (16:26 +0000)]
Compare IFF_POLLING flag with ifp->if_flags rather than ifp->if_ipending,
which was almost certainly a bug since polling support was introduced
in this driver.

Found during discussion with: mlaier

20 years agoImplemented per-interface polling(4) control.
Ruslan Ermilov [Sun, 11 Apr 2004 16:23:16 +0000 (16:23 +0000)]
Implemented per-interface polling(4) control.

20 years agoInclude nehemiah.c only on i386, as is done for the non-modules
Marcel Moolenaar [Sun, 11 Apr 2004 15:40:18 +0000 (15:40 +0000)]
Include nehemiah.c only on i386, as is done for the non-modules
build.

20 years agoImplemented per-interface polling(4) control.
Ruslan Ermilov [Sun, 11 Apr 2004 15:35:49 +0000 (15:35 +0000)]
Implemented per-interface polling(4) control.

20 years agoImplemented per-interface polling(4) control.
Ruslan Ermilov [Sun, 11 Apr 2004 15:18:09 +0000 (15:18 +0000)]
Implemented per-interface polling(4) control.

20 years agoImplemented per-interface polling(4) control.
Ruslan Ermilov [Sun, 11 Apr 2004 14:42:25 +0000 (14:42 +0000)]
Implemented per-interface polling(4) control.

20 years agoNew release note:
Hiroki Sato [Sun, 11 Apr 2004 14:19:36 +0000 (14:19 +0000)]
New release note:
04:06.ipv6.

20 years agoFirst driver with user-configurable polling(4).
Ruslan Ermilov [Sun, 11 Apr 2004 13:47:15 +0000 (13:47 +0000)]
First driver with user-configurable polling(4).

20 years agoDocument that -m also causes the capability list to be displayed.
Ruslan Ermilov [Sun, 11 Apr 2004 13:44:57 +0000 (13:44 +0000)]
Document that -m also causes the capability list to be displayed.

20 years agoAdded the new interface capability option for drivers that implement
Ruslan Ermilov [Sun, 11 Apr 2004 13:36:52 +0000 (13:36 +0000)]
Added the new interface capability option for drivers that implement
user-configurable polling(4) support.  Make ifconfig(8) aware of it.

Suggested by: luigi

20 years agoDon't let the NFS server module be unloaded as long as there are
Peter Edwards [Sun, 11 Apr 2004 13:33:34 +0000 (13:33 +0000)]
Don't let the NFS server module be unloaded as long as there are
nfsd processes running

Reviewed By: iedowse
PR: 16299

20 years agoClean up properly when unloading NFS client module.
Peter Edwards [Sun, 11 Apr 2004 13:30:20 +0000 (13:30 +0000)]
Clean up properly when unloading NFS client module.

This includes a modified form of some code from Thomas Moestl (tmm@)
to properly clean up the UMA zone and the "nfsnodehashtbl" hash
table.

Reviewed By: iedowse
PR: 16299

20 years agoFix pc98 build.
Yoshihiro Takahashi [Sun, 11 Apr 2004 09:13:42 +0000 (09:13 +0000)]
Fix pc98 build.

20 years agoMove en_CA from US_LINKS to GB_LINKS.
Joe Marcus Clarke [Sun, 11 Apr 2004 08:07:22 +0000 (08:07 +0000)]
Move en_CA from US_LINKS to GB_LINKS.

Submitted by: adamw
Approved by: ache
Committed by: me since adamw should be studying for exams

20 years agoAdd system tunable to turn off power state changes. Default to off until
Warner Losh [Sun, 11 Apr 2004 07:02:49 +0000 (07:02 +0000)]
Add system tunable to turn off power state changes.  Default to off until
we get the resource allocation stuff hammered out.

Fix and off by one error that caused unnecessary filtering of valid
BARs for only 4 bytes than ICH3 and other PCI IDE controllers have.
Andrew Gallatin submitted this, although it doesn't solve the problems
ICH3 controllers have with the new code, it does restore the former
resource list on the probe line.

20 years agoMove advise from DEVICE_PROBE.9 about where to probe children.
Warner Losh [Sun, 11 Apr 2004 06:37:50 +0000 (06:37 +0000)]
Move advise from DEVICE_PROBE.9 about where to probe children.

20 years agoRemove a comment that refers to avail_start and avail_end as these
Alan Cox [Sun, 11 Apr 2004 06:37:36 +0000 (06:37 +0000)]
Remove a comment that refers to avail_start and avail_end as these
variables no longer exist.

20 years agoDocument more clearly that a probe routine:
Warner Losh [Sun, 11 Apr 2004 06:37:21 +0000 (06:37 +0000)]
Document more clearly that a probe routine:
Should have no side effects
Must not hold resources when it returns
May be called multiple times if it returns < 0.

Remove the bad advise that the probe routine should look for children
for devices that implement busses.  This is more properly reserved for
the attach routine.

20 years agoRemove avail_end. It is not used.
Alan Cox [Sun, 11 Apr 2004 06:02:24 +0000 (06:02 +0000)]
Remove avail_end.  It is not used.

20 years agoDocument the meaning of the zero return value.
Tim J. Robbins [Sun, 11 Apr 2004 05:19:19 +0000 (05:19 +0000)]
Document the meaning of the zero return value.

20 years agoRemove avail_end. It is not used.
Alan Cox [Sun, 11 Apr 2004 05:08:26 +0000 (05:08 +0000)]
Remove avail_end.  It is not used.

20 years ago - is_physical_memory()'s parameter, which is a physical address, should be
Alan Cox [Sun, 11 Apr 2004 04:26:58 +0000 (04:26 +0000)]
 - is_physical_memory()'s parameter, which is a physical address, should be
   a vm_paddr_t not a vm_offset_t.

20 years agoFix kernel build instructions to be correct for 5.X.
Ken Smith [Sun, 11 Apr 2004 03:30:09 +0000 (03:30 +0000)]
Fix kernel build instructions to be correct for 5.X.

PR: docs/65397
Submitted by: Russell Francis <rf358197 (at) ohio.edu>

20 years ago - pmap_kenter_temporary()'s first parameter, which is a physical address,
Alan Cox [Sat, 10 Apr 2004 23:28:49 +0000 (23:28 +0000)]
 - pmap_kenter_temporary()'s first parameter, which is a physical address,
   should be declared as vm_paddr_t not vm_offset_t.

20 years ago - pmap_kenter_temporary() is unused by machine-independent code. Therefore,
Alan Cox [Sat, 10 Apr 2004 22:41:46 +0000 (22:41 +0000)]
 - pmap_kenter_temporary() is unused by machine-independent code.  Therefore,
   move its declaration to the machine-dependent header file on those
   machines that use it.  In principle, only i386 should have it.
   Alpha and AMD64 should use their direct virtual-to-physical mapping.
 - Remove pmap_kenter_temporary() from ia64.  It is unused.  Approved
   by: marcel@

20 years agoDocument devfs_set_rulesets a little.
Brian Feldman [Sat, 10 Apr 2004 22:13:27 +0000 (22:13 +0000)]
Document devfs_set_rulesets a little.

20 years agoNew release note:
Hiroki Sato [Sat, 10 Apr 2004 20:44:11 +0000 (20:44 +0000)]
New release note:
VIA C3 Nehemiah's hardware RNG support,
nge(4) VLAN support bugfix,
rl(4) polling support bugfix,
ste(4) and vr(4) polling support,
twa driver,
bsdlabel(8) -f option,
bthidcontrol and bthidd for Bluetooth HID,
doscmd removed,
fdcontrol(8), fdformat(1), and fdread(1) now work on FreeBSD/pc98,
find(1) -acl option,
UTF-8 versions of the supported system locales,
netstat(1) now displays the multicast group memberships,
pgrep(1) and pkill(1),
ps(1) supports more POSIX/SUSv3 compatible options,
Heimdal Kerberos 0.6 -> 0.6.1,
libpcap 0.7.1 -> 0.8.3,
OpenSSL 0.9.7c -> 0.9.7d, and
tcpdump 3.7.1 -> 3.8.3.

Update release note:
Sort ctau(4) entry in the alphabetical order.

20 years agoUnbreak alpha kernel build and unbreak any non-i386 runtime brokenness.
Marcel Moolenaar [Sat, 10 Apr 2004 19:43:15 +0000 (19:43 +0000)]
Unbreak alpha kernel build and unbreak any non-i386 runtime brokenness.
The VIA Nehemias is so obviously specific to i386 that it should not
be compiled on non-i386 platforms. The obviousness is in the fact that
all functions in nehemias.c are purely i386 inline assembly, guarded
by #ifdef __i386__

20 years agoFix module build during buildworld with MODULES_WITH_WORLD defined.
Alexander Kabaev [Sat, 10 Apr 2004 19:41:15 +0000 (19:41 +0000)]
Fix module build during buildworld with MODULES_WITH_WORLD defined.

20 years agoCall trm_Interrupt() in trm_poll(). This fixes the lock at reboot time some
Olivier Houchard [Sat, 10 Apr 2004 15:38:49 +0000 (15:38 +0000)]
Call trm_Interrupt() in trm_poll(). This fixes the lock at reboot time some
people reported.

PR: kern/62864
Tested by: Putinas Piliponis <putinas.piliponis at icnspot.net>

20 years agoFix a typo. I was locked out for two days from my machine.
David Xu [Sat, 10 Apr 2004 14:36:57 +0000 (14:36 +0000)]
Fix a typo. I was locked out for two days from my machine.

20 years agoRemove a comment that complains about the lack of %qd, to justify
Maxime Henrion [Sat, 10 Apr 2004 11:08:16 +0000 (11:08 +0000)]
Remove a comment that complains about the lack of %qd, to justify
truncating a rlim_t to a long.  We have %qd since some time now.
However, the correct format to use here is %jd and a cast to
intmax_t, so do this.

20 years agoChanged comments following changes to not bundle firmware by default.
Vinod Kashyap [Sat, 10 Apr 2004 02:41:22 +0000 (02:41 +0000)]
Changed comments following changes to not bundle firmware by default.

Approved by: re

20 years agoFixed unformatting of copyright clause 4 in previous commit.
Bruce Evans [Sat, 10 Apr 2004 02:22:35 +0000 (02:22 +0000)]
Fixed unformatting of copyright clause 4 in previous commit.

20 years agoDon't include the firmware image by default as it adds 500k (uncompressed) to
Scott Long [Sat, 10 Apr 2004 02:00:47 +0000 (02:00 +0000)]
Don't include the firmware image by default as it adds 500k (uncompressed) to
the module.

Reviewed by: vinod

20 years agoDon't cast away const qualifiers.
Tim J. Robbins [Sat, 10 Apr 2004 00:27:52 +0000 (00:27 +0000)]
Don't cast away const qualifiers.

Spotted by: bde

20 years agoStart committing Bluetooth HID (Human Interface Device) support.
Maksim Yevmenkin [Sat, 10 Apr 2004 00:18:00 +0000 (00:18 +0000)]
Start committing Bluetooth HID (Human Interface Device) support.
Note: bthidd(8) is still not complete. Need to commit kernel
support (a-la Linux /dev/input) to feed HID events into kernel.
Also need to write bthidd(8) and bthidd.conf(5) man pages.

20 years agoUse uint instead of u_int
Maksim Yevmenkin [Fri, 9 Apr 2004 23:58:53 +0000 (23:58 +0000)]
Use uint instead of u_int

20 years agoUse uint instead of u_int
Maksim Yevmenkin [Fri, 9 Apr 2004 23:26:16 +0000 (23:26 +0000)]
Use uint instead of u_int

20 years agoMake sure Bluetooth stuff can be compiled on amd64
Maksim Yevmenkin [Fri, 9 Apr 2004 23:01:42 +0000 (23:01 +0000)]
Make sure Bluetooth stuff can be compiled on amd64

Submitted by: ps

20 years agoOnly print state change message for real state changes. When we set a
Warner Losh [Fri, 9 Apr 2004 20:41:18 +0000 (20:41 +0000)]
Only print state change message for real state changes.  When we set a
device in D0 to D0, that's a no-op, however the messages seem to be
confusing some people.  Eventually, these messages will be parked
behind a if (bootverbose).

# I don't think this will fix any real bugs...

20 years agoThe previous clause 3 commit was also
Mark Murray [Fri, 9 Apr 2004 20:34:51 +0000 (20:34 +0000)]
The previous clause 3 commit was also

Approved by: scottl
Thanks to: scottl

20 years agoRemove advertising clause from University of California Regent's license,
Mark Murray [Fri, 9 Apr 2004 19:58:40 +0000 (19:58 +0000)]
Remove advertising clause from University of California Regent's license,
per letter dated July 22, 1999.

Approved by: core, imp

20 years agoAdd MODULE_DEPEND entries so some of these drivers can eventually be
Nate Lawson [Fri, 9 Apr 2004 18:14:32 +0000 (18:14 +0000)]
Add MODULE_DEPEND entries so some of these drivers can eventually be
loaded separately from ACPI (i.e., embedded use).

20 years agoBand-aid fix to extract MAC address from some CEM2/CEM28 cards with broken
Scott Mitchell [Fri, 9 Apr 2004 17:34:54 +0000 (17:34 +0000)]
Band-aid fix to extract MAC address from some CEM2/CEM28 cards with broken
CIS.  Really needs a better interface to the CIS in pccard driver.

Reviewed by: imp (mentor)

20 years agoBackout previous commit. It seems this comment applied to something
Maxime Henrion [Fri, 9 Apr 2004 17:30:26 +0000 (17:30 +0000)]
Backout previous commit.  It seems this comment applied to something
else than I thought, and thus really needs to go away.

Noticed by: ru

20 years agoFix probe routine to use card IDs from pccarddevs for NEWCARD and OLDCARD.
Scott Mitchell [Fri, 9 Apr 2004 17:27:36 +0000 (17:27 +0000)]
Fix probe routine to use card IDs from pccarddevs for NEWCARD and OLDCARD.
Should now correctly probe and attach all supported cards in either mode.

Reviewed by: imp (mentor)

20 years agoo Fix an incorrect parsing of 0.0.0.0/0 expression.
Maxim Konovalov [Fri, 9 Apr 2004 17:26:01 +0000 (17:26 +0000)]
o Fix an incorrect parsing of 0.0.0.0/0 expression.

PR: kern/64778
MFC after: 6 weeks