]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
17 years agoRemove references to mount_devfs, mount_fdescfs, mount_linprocfs,
rodrigc [Wed, 22 Nov 2006 00:26:55 +0000 (00:26 +0000)]
Remove references to mount_devfs, mount_fdescfs, mount_linprocfs,
mount_procfs, and mount_std.

Reminded by: ru

17 years agoRemove references to mount_devfs, mount_fdescfs, mount_linprocfs, mount_procfs.
rodrigc [Wed, 22 Nov 2006 00:23:11 +0000 (00:23 +0000)]
Remove references to mount_devfs, mount_fdescfs, mount_linprocfs, mount_procfs.

Reminded by: ru

17 years agoAdd mechanism to track TSB misses in tsb miss handler
kmacy [Wed, 22 Nov 2006 00:18:22 +0000 (00:18 +0000)]
Add mechanism to track TSB misses in tsb miss handler
Remove unused debug code

17 years agoRemove reference to mount_procfs.
rodrigc [Wed, 22 Nov 2006 00:08:35 +0000 (00:08 +0000)]
Remove reference to mount_procfs.

Reminded by: ru

17 years agoChange mount_devfs reference to "mount -t devfs".
rodrigc [Tue, 21 Nov 2006 23:45:44 +0000 (23:45 +0000)]
Change mount_devfs reference to "mount -t devfs".

Reminded by: ru

17 years agoAcknowledge (dearly) departed files
dougb [Tue, 21 Nov 2006 22:29:06 +0000 (22:29 +0000)]
Acknowledge (dearly) departed files

17 years agoAdded MSI support.
gallatin [Tue, 21 Nov 2006 15:55:01 +0000 (15:55 +0000)]
Added MSI support.

Sponsored by: Myricom Inc.

17 years agoRemove the NO_CTF option. It would have been required to support
jb [Tue, 21 Nov 2006 08:25:28 +0000 (08:25 +0000)]
Remove the NO_CTF option. It would have been required to support
DTrace.

17 years agoRemove the KDTRACE option because I can't implement it the
jb [Tue, 21 Nov 2006 08:23:20 +0000 (08:23 +0000)]
Remove the KDTRACE option because I can't implement it the
way I intended due to licensing restrictions. I had intended
that it would be defaulted on, with opt-out possible for
companies that don't accept the CDDL. The FreeBSD GENERIC
kernel has to be entirely BSD licensed, so the only alternative
would have been to make KDTRACE an opt-in option. That isn't
a design I favour.

17 years agoo Sort Xrs.
maxim [Tue, 21 Nov 2006 06:52:55 +0000 (06:52 +0000)]
o Sort Xrs.

17 years agodon't mark the cksum as invalid here... off is incorrect when we get
jmg [Tue, 21 Nov 2006 05:46:09 +0000 (05:46 +0000)]
don't mark the cksum as invalid here...  off is incorrect when we get
here, it's either unset, or it's valid, so we don't need to do anything
different...

Reported by: Neterion (via rwatson)

17 years agoChange reference from mount(2) to nmount(2), since mount(8) uses
rodrigc [Tue, 21 Nov 2006 05:45:14 +0000 (05:45 +0000)]
Change reference from mount(2) to nmount(2), since mount(8) uses
nmount to mount an mqueufs filesystem.

17 years agoFix typo.
yongari [Tue, 21 Nov 2006 05:41:11 +0000 (05:41 +0000)]
Fix typo.

17 years agoChange reference from mount_devfs(8) to mount(8), and add an example.
rodrigc [Tue, 21 Nov 2006 04:56:50 +0000 (04:56 +0000)]
Change reference from mount_devfs(8) to mount(8), and add an example.
Remove reference to mount_fdescfs(8), since mount(8) calls nmount()
directly to mount an fdescfs filesystem, instead of forking an
external mount_fdescfs program.

17 years agoAdd TSO support.
yongari [Tue, 21 Nov 2006 04:40:30 +0000 (04:40 +0000)]
Add TSO support.

Tested by: wilko,  Pieter de Goeje < pieter AT degoeje DOT nl >

17 years agoo Correctly set IFCAP_VLAN_HWCSUM as re(4) can do VLAN tagging/checksum
yongari [Tue, 21 Nov 2006 04:23:52 +0000 (04:23 +0000)]
o Correctly set IFCAP_VLAN_HWCSUM as re(4) can do VLAN tagging/checksum
  offloading in hardware.
o Correctly set media header length for VLAN.

17 years agoDon't set RL_CFG1_FULLDUPLEX bit. The RL_CFG1_FULLDUPLEX bit in
yongari [Tue, 21 Nov 2006 04:14:44 +0000 (04:14 +0000)]
Don't set RL_CFG1_FULLDUPLEX bit. The RL_CFG1_FULLDUPLEX bit in
config register 1 is only valid on 8129.

17 years agoUse #ifndef __NO_STRICT_ALIGNMENT rather than
yongari [Tue, 21 Nov 2006 04:11:31 +0000 (04:11 +0000)]
Use #ifndef __NO_STRICT_ALIGNMENT rather than
#if !defined(__i386__) && !defined(__amd64__) for architectures
with alignment constraints.

17 years agoIncrease WARNS to 3.
rodrigc [Tue, 21 Nov 2006 02:01:33 +0000 (02:01 +0000)]
Increase WARNS to 3.

17 years agoFix last element of nc_protos[] array to appease GCC.
rodrigc [Tue, 21 Nov 2006 02:00:48 +0000 (02:00 +0000)]
Fix last element of nc_protos[] array to appease GCC.

17 years agoConvert mount_nfs from old mount(2) API to new nmount(2) API.
rodrigc [Tue, 21 Nov 2006 01:53:18 +0000 (01:53 +0000)]
Convert mount_nfs from old mount(2) API to new nmount(2) API.

Reviewed by: mohans

17 years agoAdd suspend/resume support. Unlike many other NIC drivers,
jhb [Mon, 20 Nov 2006 23:30:07 +0000 (23:30 +0000)]
Add suspend/resume support.  Unlike many other NIC drivers,
bfe_init_locked() wasn't sufficient to bring the chip back to life, it also
required a call to bfe_chip_reset() during resume.

Tested by: Stepan Zastupov +redchrom at gmail+
MFC after: 1 week

17 years agoDocument that the data field for NOTE_EXIT holds the process exit status.
jhb [Mon, 20 Nov 2006 22:20:04 +0000 (22:20 +0000)]
Document that the data field for NOTE_EXIT holds the process exit status.

Submitted by: Jared Yanovich -phirerunner at comcast.net-
MFC after: 2 weeks

17 years agoSave exit status of an exiting process in kn_data in the knote.
jhb [Mon, 20 Nov 2006 22:17:50 +0000 (22:17 +0000)]
Save exit status of an exiting process in kn_data in the knote.

Submitted by: Jared Yanovich ^phirerunner at comcast.net^
MFC after: 2 weeks

17 years agoFix an integer overflow and allow access to files larger than 4GB on
le [Mon, 20 Nov 2006 19:28:36 +0000 (19:28 +0000)]
Fix an integer overflow and allow access to files larger than 4GB on
NTFS.

17 years agoOfficially rename archive_{read,write}_open_file() to
kientzle [Mon, 20 Nov 2006 16:48:04 +0000 (16:48 +0000)]
Officially rename archive_{read,write}_open_file() to
archive_{read,write}_open_filename():
   * Update Makefile to build the files using the new name.
   * Update docs to document the new names, mentioning the
old ones as "deprecated synonyms."
   * The old filenames will be reconnected to the build soon;
I'll soon recyce those files for a slightly different purpose.

17 years agoForced commit to note CVS repo-copy of archive_{read,write}_open_file.c
kientzle [Mon, 20 Nov 2006 16:45:39 +0000 (16:45 +0000)]
Forced commit to note CVS repo-copy of archive_{read,write}_open_file.c
to archive_{read,write}_open_filename.c.

This is part of a minor file shuffle/name clarification:

   * The archive_{read,write}_open_file() functions are officially
renamed to archive_{read,write}_open_filename(), which more accurately
reflects their function (they open a data stream identified by a filename).

   * Preserve the file naming conventions by renaming the files as
well.

   * Keep the old function names (in the new files) as synonyms for
backwards compatibility.

   * Keep the old files around; they'll be recycled soon for the upcoming
archive_{read,write}_open_FILE() functions (which open a data stream
identified by a FILE * reference).

   * I'm also, of course, making a nod here to MacOS/Windows
case-insensitive filesystems that can't have both _open_file.c and
_open_FILE.c.  ;-)

17 years agoThe clean_map has been made local to vm_init.c long ago.
ru [Mon, 20 Nov 2006 16:23:34 +0000 (16:23 +0000)]
The clean_map has been made local to vm_init.c long ago.

17 years agowhitespace fix only
julian [Mon, 20 Nov 2006 16:13:02 +0000 (16:13 +0000)]
whitespace fix only

17 years ago- Fix types of "struct vmmeter" members so they are unsigned.
ru [Mon, 20 Nov 2006 16:04:41 +0000 (16:04 +0000)]
- Fix types of "struct vmmeter" members so they are unsigned.

- Fix overflow bugs in sysctl(8), systat(1), and vmstat(8)
  when printing values of "struct vmmeter" in kilobytes as
  they don't necessarily fit into 32 bits.  (Fix sysctl(8)
  reporting of a total virtual memory; it's in pages too.)

17 years agoMatch bus space unmap prototype.
kevlo [Mon, 20 Nov 2006 13:21:02 +0000 (13:21 +0000)]
Match bus space unmap prototype.

Approved by: cognet

17 years ago- Make rp(4) 64-bit- and endian-clean as well as work on strict alignment
marius [Mon, 20 Nov 2006 12:59:27 +0000 (12:59 +0000)]
- Make rp(4) 64-bit- and endian-clean as well as work on strict alignment
  archs. [1]
- Instead of bus_space_{read,write}*(rman_get_bustag(), rman_get_bushandle())
  use bus_{read,write}*() for efficiency.

Reported by: Peter Losher [1]
Tested on: i386, sparc64
MFC after: 2 weeks

17 years agoMFi386: revisions from 1.641 to 1.643.
nyan [Mon, 20 Nov 2006 12:32:04 +0000 (12:32 +0000)]
MFi386: revisions from 1.641 to 1.643.

17 years agoRemove a redundant pointer-type variable.
ru [Mon, 20 Nov 2006 08:33:55 +0000 (08:33 +0000)]
Remove a redundant pointer-type variable.

17 years agoProtect nfsm_srvpathsiz() call with the nfsd_mtx lock.
pjd [Mon, 20 Nov 2006 07:32:52 +0000 (07:32 +0000)]
Protect nfsm_srvpathsiz() call with the nfsd_mtx lock.

Reviewed by: mohans

17 years agoMFp4: Tweak descriptions in preparation for porting to other members of
imp [Mon, 20 Nov 2006 06:27:15 +0000 (06:27 +0000)]
MFp4: Tweak descriptions in preparation for porting to other members of
the AT91 arm9 family.

17 years agoUse scheduler API sched_user_prio() to adjust thread's userland priority,
davidxu [Mon, 20 Nov 2006 05:50:59 +0000 (05:50 +0000)]
Use scheduler API sched_user_prio() to adjust thread's userland priority,
use td_base_user_prio to get real userland priority since POSIX priority
mutex may adjust td_user_pri which is an effective priority.

17 years ago1) Fix up locking in nfs_up() and nfs_down.
mohans [Mon, 20 Nov 2006 04:14:23 +0000 (04:14 +0000)]
1) Fix up locking in nfs_up() and nfs_down.
2) Reduce the acquisitions of the Giant lock in the nfs_socket.c paths significantly.
- We don't need to acquire Giant before tsleeping on lbolt anymore,
  since jhb specialcased lbolt handling in msleep.
- nfs_up() needs to acquire Giant only if printing the "server up"
  message.
- nfs_timer() held Giant for the duration of the NFS timer processing,
  just because the printing of the message in nfs_down() needed it
  (and we acquire other locks in nfs_timer()). The acquisition of
  Giant is moved down into nfs_down() now, reducing the time Giant is
  held in that path.

Reported by: Kris Kennaway

17 years agoWhen counting vm totals, skip unreferenced objects, including
ru [Mon, 20 Nov 2006 00:16:00 +0000 (00:16 +0000)]
When counting vm totals, skip unreferenced objects, including
vnodes representing mounted file systems.

Reviewed by: alc
MFC after: 3 days

17 years agoconfig for Gateworks Avila board booting with NFS-mounted root on npe0
sam [Sun, 19 Nov 2006 23:58:12 +0000 (23:58 +0000)]
config for Gateworks Avila board booting with NFS-mounted root on npe0

Reviewed by: cognet, imp
MFC after: 1 month

17 years agoadd CPU_XSCALE_IXP425
sam [Sun, 19 Nov 2006 23:56:44 +0000 (23:56 +0000)]
add CPU_XSCALE_IXP425

Reviewed by: cognet, imp
MFC after: 1 month

17 years agoGateworks Avila board support:
sam [Sun, 19 Nov 2006 23:55:23 +0000 (23:55 +0000)]
Gateworks Avila board support:
o ixp425 support
o NPE network driver (requires Intel microcode)
o h/w qmgr support
o True IDE compact flash over expansion bus
o pci (ath and hifn795x parts tested)
o xscale watchdog timer
o ds1672 RTC on i2c bus
o ad7418 voltage + temp monitoring on i2c bus
o uart

Work done together with cognet, kevlo, and jmg.  Parts of
the ixp425 support obtaine/derived from netbsd.

Reviewed by: cognet, imp
MFC after: 1 month

17 years agochange bus space unmap protoype
sam [Sun, 19 Nov 2006 23:47:51 +0000 (23:47 +0000)]
change bus space unmap protoype

Reviewed by: cognet, imp
MFC After: 1 month

17 years agocorrect bus space unmap prototype
sam [Sun, 19 Nov 2006 23:46:50 +0000 (23:46 +0000)]
correct bus space unmap prototype

Reviewed by: cognet, imp
MFC after: 1 month

17 years agoelaborate on stepping names; add intel terminology to help
sam [Sun, 19 Nov 2006 23:45:33 +0000 (23:45 +0000)]
elaborate on stepping names; add intel terminology to help
people cross-referencing intel docs

Reviewed by: imp, cognet
MFC after: 1 month

17 years agohookup ad7418 and ds1672 drivers
sam [Sun, 19 Nov 2006 23:43:29 +0000 (23:43 +0000)]
hookup ad7418 and ds1672 drivers

MFC after: 1 month

17 years agoo define transfer method
sam [Sun, 19 Nov 2006 23:42:32 +0000 (23:42 +0000)]
o define transfer method
o attach ds1672 and ad7418, to be cleaned up

MFC after: 1 month

17 years agoi2c and clock driver for Dallas Semiconductor DS1672 RTC
sam [Sun, 19 Nov 2006 23:40:58 +0000 (23:40 +0000)]
i2c and clock driver for Dallas Semiconductor DS1672 RTC

MFC after: 1 month

17 years agoi2c driver for Analog Devices AD7418
sam [Sun, 19 Nov 2006 23:39:54 +0000 (23:39 +0000)]
i2c driver for Analog Devices AD7418

MFC after: 1 month

17 years agoAdd vm map and object locking to each_writable_segment().
alc [Sun, 19 Nov 2006 23:38:59 +0000 (23:38 +0000)]
Add vm map and object locking to each_writable_segment().

Noticed by: jhb@
MFC after: 3 weeks

17 years agoPointy hat handed to me by Andrew: had msi_enable on as a default.
mjacob [Sun, 19 Nov 2006 23:24:52 +0000 (23:24 +0000)]
Pointy hat handed to me by Andrew: had msi_enable on as a default.

17 years agoPlay it safe and make MSI and MSI-X an option you have to turn on for MPT.
mjacob [Sun, 19 Nov 2006 23:15:42 +0000 (23:15 +0000)]
Play it safe and make MSI and MSI-X an option you have to turn on for MPT.

17 years agoIf a TMF request fails to start, make sure that we pull it off the
mjacob [Sun, 19 Nov 2006 23:13:12 +0000 (23:13 +0000)]
If a TMF request fails to start, make sure that we pull it off the
pending list and set the state back to free prior to calling mpt_reset
so we don't panic at a later point.

17 years agoDo not call bstp_stop() internally as it clears the running flag which causes
thompsa [Sun, 19 Nov 2006 23:08:35 +0000 (23:08 +0000)]
Do not call bstp_stop() internally as it clears the running flag which causes
the timer to never be restarted.

Reported by: bz

17 years agoThe global variable avail_end is redundant and only used once. Eliminate
alc [Sun, 19 Nov 2006 20:54:58 +0000 (20:54 +0000)]
The global variable avail_end is redundant and only used once.  Eliminate
it.  Make avail_start static to the pmap on amd64.  (It no longer exists
on other architectures.)

17 years agoRemove LDR_LOG2_PGSZ, ia64_pgtbl and ia64_pgtblsz. They are part of
marcel [Sun, 19 Nov 2006 20:04:11 +0000 (20:04 +0000)]
Remove LDR_LOG2_PGSZ, ia64_pgtbl and ia64_pgtblsz. They are part of
a WIP and not used yet.

17 years agoTry harder to not leak src/ build stuff into ports/ environment
ru [Sun, 19 Nov 2006 16:28:52 +0000 (16:28 +0000)]
Try harder to not leak src/ build stuff into ports/ environment
by not exposing the MK_* variables that were designed for src/.

Requested by: many

17 years agoBring in a SNMP module to support monitoring if_bridge(4) interfaces
syrinx [Sun, 19 Nov 2006 15:42:48 +0000 (15:42 +0000)]
Bring in a SNMP module to support monitoring if_bridge(4) interfaces
via bsnmpd(1). The module implements IETF BRIDGE-MIB as defined in
RFC4188 and a private BEGEMOT-BRIDGE-MIB.

Sponsored by:  Google Summer of Code 2006
Reviewed by:   bz
Approved by:   bz (mentor)

17 years agoAdd .Xr to p_cansee.9, remove .Xr to intro.2.
ceri [Sun, 19 Nov 2006 13:36:04 +0000 (13:36 +0000)]
Add .Xr to p_cansee.9, remove .Xr to intro.2.

Reviewed by: ru
Approved by: ru

17 years agoAdd manuals for cr_cansee(9) and p_cansee(9).
ceri [Sun, 19 Nov 2006 13:35:03 +0000 (13:35 +0000)]
Add manuals for cr_cansee(9) and p_cansee(9).
Thanks to Ruslan for the time he spent reviewing these.

Reviewed by: ru
Approved by: ru

17 years agoMove the check for which disc volume we have/want to after we install
kensmith [Sun, 19 Nov 2006 08:12:54 +0000 (08:12 +0000)]
Move the check for which disc volume we have/want to after we install
the package dependencies.  Installation of the dependencies may leave
us on the wrong disc volume.

MFC after: 3 days

17 years agoFix typo in comment
csjp [Sat, 18 Nov 2006 23:38:31 +0000 (23:38 +0000)]
Fix typo in comment

Pointed out by: ru

17 years agoImplement new ETHER_BPF_MTAP macro. Roll back the various changes
csjp [Sat, 18 Nov 2006 23:18:43 +0000 (23:18 +0000)]
Implement new ETHER_BPF_MTAP macro. Roll back the various changes
made to accommodate the chip being in promiscuous mode while
offloading VLAN tag processing to the hardware.  We can now
properly handle the absence of VLAN tags from hardware stripping.

Reviewed by: rwatson, andre
MFC after: 1 month

17 years agoCurrently, drivers that support hardware offload of VLAN tag
csjp [Sat, 18 Nov 2006 23:17:22 +0000 (23:17 +0000)]
Currently, drivers that support hardware offload of VLAN tag
processing are forced to toggle this functionality when the card
is put in and out of promiscuous mode.  The main reason for this
is because the hardware strips the VLAN tag, making it impossible
for the tag information to show up in network diagnostic tools like
tcpdump(1).

This change introduces ether_vlan_mtap(), which is called if the
mbuf has M_VLANTAG set.  VLAN information is extracted from the
mbuf and inserted into a stack allocated ether vlan header which
is then inserted through the bpf machinery via bpf_mtap2(). The
original mbuf's data pointer and lengths are temporarily adjusted
to eliminate the original Ethernet header for the duration of the
tap operation. This should have no long term effects on the mbuf.

Also, define a new macro, ETHER_BPF_MTAP which should be used
by drivers which support hardware offload of VLAN tag processing.

The fixes for the relevant drivers will follow shortly.

Discussed with: rwatson, andre, jhb (and others)
Much feedback from: sam, ru
MFC after: 1 month [1]

[1] The version that is eventually MFCed will be somewhat
    different then this, as there has been significant work
    done to the VLAN code in HEAD.

17 years agoSince printf also has at least one critical section, we need to
marcel [Sat, 18 Nov 2006 23:15:25 +0000 (23:15 +0000)]
Since printf also has at least one critical section, we need to
initialize pc_curthread. While here, rename early_pcpu to pcpu0
to be conistent (compare thread0 and proc0).

17 years agoIgnore SIGPIPE, instead of terminating process.
rodrigc [Sat, 18 Nov 2006 22:43:20 +0000 (22:43 +0000)]
Ignore SIGPIPE, instead of terminating process.

PR: 81230
Submitted by: Dmitrij Tejblum <tejblum yandex-team ru>
MFC after: 1 month

17 years agoNow that printf() needs the PCPU, set it up before we call printf().
marcel [Sat, 18 Nov 2006 21:52:26 +0000 (21:52 +0000)]
Now that printf() needs the PCPU, set it up before we call printf().
Change the pc_pcb field from a pointer to struct pcb to struct pcb
so that sizeof(struct pcb) includes the PCB we use for IPI_STOP.
Statically declare early_pcb so that we don't have to allocate the
PCB for thread0. This way we can setup the PCPU before cninit()
and thus before we use printf().

17 years agoRevert previous commit. PC_CONS_BUFR is not used nor needed by
marcel [Sat, 18 Nov 2006 21:48:13 +0000 (21:48 +0000)]
Revert previous commit. PC_CONS_BUFR is not used nor needed by
assembly.

17 years agoremove unused fields
kmacy [Sat, 18 Nov 2006 19:23:37 +0000 (19:23 +0000)]
remove unused fields

Approved by: scottl (standing in for mentor rwatson)

17 years agoPreviously, the mount_ext2fs binary listed the acceptable mount
rodrigc [Sat, 18 Nov 2006 18:22:11 +0000 (18:22 +0000)]
Previously, the mount_ext2fs binary listed the acceptable mount
options for ext2fs.  Now that we use nmount() directly from the mount
binary to access ext2fs filesystems, add the list of acceptable mount
options to ext2_ops, so that vfs_filteropts() will accept
options like "noatime" for ext2fs.

PR: 105483
Noticed by: Dr. Markus Waldeck <waldeck gmx de>
MFC after: 1 month

17 years agoHave the synopsis compile.
ceri [Sat, 18 Nov 2006 17:56:59 +0000 (17:56 +0000)]
Have the synopsis compile.

Pointed out by: ru

17 years agoAdd missed ")". Fix the build.
kib [Sat, 18 Nov 2006 17:27:39 +0000 (17:27 +0000)]
Add missed ")". Fix the build.

Pointy hat to: kib

17 years agoeeprom has been removed from sun4v - remove from NOTES
kmacy [Sat, 18 Nov 2006 17:16:02 +0000 (17:16 +0000)]
eeprom has been removed from sun4v - remove from NOTES

17 years agomark struct ether_header packed so gcc honors alignment
sam [Sat, 18 Nov 2006 15:50:24 +0000 (15:50 +0000)]
mark struct ether_header packed so gcc honors alignment
constratins on arm; this fixes bridging when packets are
rx'd so ip headers are 32-bit aligned

Reviewed by: imp (and discussed elsewhere)
MFC after: 2 weeks

17 years agoSync struct sysinfo with real one from linux.
kib [Sat, 18 Nov 2006 14:37:54 +0000 (14:37 +0000)]
Sync struct sysinfo with real one from linux.

Submitted by: rdivacky

17 years agoUse standard debugging facilities in linux_getcwd().
kib [Sat, 18 Nov 2006 13:31:03 +0000 (13:31 +0000)]
Use standard debugging facilities in linux_getcwd().

Submitted by: rdivacky

17 years agoAdd debuging printfs to syscalls that do not contain it yet. In
kib [Sat, 18 Nov 2006 13:00:59 +0000 (13:00 +0000)]
Add debuging printfs to syscalls that do not contain it yet. In
sethostname do not print the hostname because it would require to copyin
the string. Sethostname is not very frequently used.

Submitted by: rdivacky

17 years agoRemove unecessary locking of process in linux_getpid.
kib [Sat, 18 Nov 2006 10:12:43 +0000 (10:12 +0000)]
Remove unecessary locking of process in linux_getpid.

Suggested by: jhb
Submitted by: rdivacky

17 years ago- Use a standard section 4 SYNOPSIS
brueffer [Sat, 18 Nov 2006 08:07:43 +0000 (08:07 +0000)]
- Use a standard section 4 SYNOPSIS
- Xref uark(4)

MFC after: 3 days

17 years agoChange the internal API for polled commands. Calling mfi_polled_command
scottl [Sat, 18 Nov 2006 07:33:53 +0000 (07:33 +0000)]
Change the internal API for polled commands.  Calling mfi_polled_command
after calling mfi_mapcmd is no longer needed, so long as the MFI_CMD_POLLED
flag is set.  This change eliminates the possibility of a polled command
getting posted twice to the driver.  This is turn fixes panics on shutdown
when INVARIANTS is set.

Sponsored by: Ironport

17 years agoRemove two completely unused files
kmacy [Sat, 18 Nov 2006 07:28:47 +0000 (07:28 +0000)]
Remove two completely unused files

Reviewed by: jb (mentor rwatson)

17 years agoRemove two more duplicated files
kmacy [Sat, 18 Nov 2006 07:24:56 +0000 (07:24 +0000)]
Remove two more duplicated files

Reviewed by: jb (mentor is rwatson)

17 years agoremove 13 (largely) redundant files and switch to the sparc64/sparc64 version
kmacy [Sat, 18 Nov 2006 07:10:52 +0000 (07:10 +0000)]
remove 13 (largely) redundant files and switch to the sparc64/sparc64 version

Reviewed by: jb (mentor rwatson)

17 years ago Make the SAN login/logout stuff more common between different chipsets
mjacob [Sat, 18 Nov 2006 03:53:16 +0000 (03:53 +0000)]
 Make the SAN login/logout stuff more common between different chipsets
and provied an isp_control entry point so that the outer layers can
do PLOGI/LOGO explicitly. Add MS IOCB support. This completes the cycle
for base support for SMI-S.

17 years agoFix msgsnd(3)/msgrcv(3) deadlock under heavy resource pressure by timing out
jkim [Fri, 17 Nov 2006 20:43:01 +0000 (20:43 +0000)]
Fix msgsnd(3)/msgrcv(3) deadlock under heavy resource pressure by timing out
msgsnd and rechecking resources.  This problem was found while I was running
Linux Test Project test suite (test cases: msgctl08, msgctl09).
Change `msgwait' to `msgsnd' and `msgrcv' to distinguish its sleeping
conditions.  Few cosmetic changes to debugging messages.

17 years agoAdd support for 8 byte hardware watches in long mode. Kernel hardware
jhb [Fri, 17 Nov 2006 20:27:01 +0000 (20:27 +0000)]
Add support for 8 byte hardware watches in long mode.  Kernel hardware
watches support 8 byte watches.  For userland, we disallow 8 byte watches
for 32-bit tasks.

17 years agoModified release note: Mention move of GNOME-related ports from
bmah [Fri, 17 Nov 2006 20:15:26 +0000 (20:15 +0000)]
Modified release note:  Mention move of GNOME-related ports from
/usr/X11R6 to /usr/local.

Suggested by: kensmith

17 years agoadd wpa_passphrase utility to the build
sam [Fri, 17 Nov 2006 19:38:51 +0000 (19:38 +0000)]
add wpa_passphrase utility to the build

PR: bin/104457
Submitted by: Henrik Brix Andersen
MFC after: 1 week

17 years ago- Add macro constants for the various fields in %dr7 and use them in place
jhb [Fri, 17 Nov 2006 19:20:32 +0000 (19:20 +0000)]
- Add macro constants for the various fields in %dr7 and use them in place
  of various scattered magic values.
- Pretty print the address of hardware watchpoints in 'show watch' rather
  than just displaying hex.
- Expand address field width on amd64 for 64-bit pointers.

17 years agoDisable code to set max read byte count on the 2400.
mjacob [Fri, 17 Nov 2006 17:32:45 +0000 (17:32 +0000)]
Disable code to set max read byte count on the 2400.

It caused a panic in writing the config register on a system. Turn
it off until we take the time to understand it.

Reported by and Testing by: Anton

17 years agoMissed two nits in rev 1.7.
obrien [Fri, 17 Nov 2006 16:49:40 +0000 (16:49 +0000)]
Missed two nits in rev 1.7.

17 years agoFix the output format of MI ddb watches in 'show watch' on 64-bit
jhb [Fri, 17 Nov 2006 16:41:56 +0000 (16:41 +0000)]
Fix the output format of MI ddb watches in 'show watch' on 64-bit
platforms.

17 years agoTrim some noise from bootverbose:
jhb [Fri, 17 Nov 2006 16:41:03 +0000 (16:41 +0000)]
Trim some noise from bootverbose:
- Drop the printf in intr_machdep.c when we assign an interrupt souce to
  a CPU.  Each source already has a more detailed printf.
- Don't output a line for each ioapic pin showing its initial state, this
  has outlived its usefulness.
- When an APIC enumerator sets the bus, polarity, or trigger mode of an
  ioapic pin, just return success without printing anything if the new
  value matches the current one.

MFC after: 2 weeks

17 years agoA few more style fixes.
jhb [Fri, 17 Nov 2006 16:37:35 +0000 (16:37 +0000)]
A few more style fixes.

17 years agoWake up PIOCWAIT handler on the process exit in addition to the stop
kib [Fri, 17 Nov 2006 14:52:38 +0000 (14:52 +0000)]
Wake up PIOCWAIT handler on the process exit in addition to the stop
events. &p->p_stype is explicitely woken up on process exit for us.

Now, truss /nonexistent exits with error instead of waiting until killed
by signal.

Reported by: Nikos Vassiliadis nvass at teledomenet gr
Reviewed by: jhb
MFC after: 1 week

17 years agoErm we really want to mask all interrupts in the range, just not the first
cognet [Fri, 17 Nov 2006 11:56:56 +0000 (11:56 +0000)]
Erm we really want to mask all interrupts in the range, just not the first
one.

Submitted by: ru

17 years agoDeal more generically with the byteswap needed on !littleendian HW.
sos [Fri, 17 Nov 2006 11:13:47 +0000 (11:13 +0000)]
Deal more generically with the byteswap needed on !littleendian HW.
Account for the odd layout on ARM bigendian HW.

17 years agoShift to vim-lite package because vim package doesn't build at the moment.
kensmith [Fri, 17 Nov 2006 05:10:41 +0000 (05:10 +0000)]
Shift to vim-lite package because vim package doesn't build at the moment.

MFC after: 3 days

17 years agoAlpha no longer supported.
kensmith [Fri, 17 Nov 2006 04:24:33 +0000 (04:24 +0000)]
Alpha no longer supported.

Noticed by: ru@

17 years agoCompile -- remove an unused global variable avail_end.
kevlo [Fri, 17 Nov 2006 00:53:39 +0000 (00:53 +0000)]
Compile -- remove an unused global variable avail_end.

Approved by: cognet