]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
15 years agoQuite mechanical ch_detach implementations for all atapci subdrivers.
mav [Thu, 19 Feb 2009 00:32:55 +0000 (00:32 +0000)]
Quite mechanical ch_detach implementations for all atapci subdrivers.
Some dmainit call fixes for previous commit.

15 years agoif_cx is currently disconnected from the build due to a dependence on
rwatson [Thu, 19 Feb 2009 00:06:01 +0000 (00:06 +0000)]
if_cx is currently disconnected from the build due to a dependence on
the old TTY implementation; however, take a cut at stripping its
optional Giant-protected code paths enabled using debug.cx.mpsafenet,
which will no longer work once IFF_NEEDSGIANT is removed.

15 years agoMark these variables as __used too. Fix a style of previous commit.
rdivacky [Wed, 18 Feb 2009 22:44:55 +0000 (22:44 +0000)]
Mark these variables as __used too.  Fix a style of previous commit.

Noticed by: Christoph Mallon
Approved by: kib (mentor)

15 years agoyppasswdd assumed that a struct x_master_passwd is type punable to a
imp [Wed, 18 Feb 2009 22:27:46 +0000 (22:27 +0000)]
yppasswdd assumed that a struct x_master_passwd is type punable to a
struct passwd.  This is not the case when sizeof(unsigned long) !=
sizeof(time_t).  Write a dinky function to do the assignment instead
of relying on the punning.  This does slow things down a little (1
extra function call, 11 pointer or int assignments), but is much safer
and machines have been fast enough since the mid 1990s that nobody
will notice the difference.

time_t is a 64-bits int on arm and mips.  Before this change, arm was
silently broken.  I guess there aren't that many ARM machines running
master YP domain servers. :)

The client side doesn't assume this type punning, so it doesn't need
to be fixed.

15 years agoAs soon as they called in only same one place (ata_pcichannel_attach()),
mav [Wed, 18 Feb 2009 22:17:48 +0000 (22:17 +0000)]
As soon as they called in only same one place (ata_pcichannel_attach()),
join allocate() and dmainit() atapci subdriver's channel initialization
methods into single ch_attach() method.

As opposite to ch_attach() add new ch_detach() method to deallocate/disable
channel.

15 years ago- Add a function (fill_kinfo_aggregate()) which aggregates relevant
attilio [Wed, 18 Feb 2009 21:52:13 +0000 (21:52 +0000)]
- Add a function (fill_kinfo_aggregate()) which aggregates relevant
  members for a kinfo entry on a process-wide system.
- Use the newly introduced function in order to fix cases like
  KERN_PROC_PROC where aggregating stats are broken because they just
  consider the first thread in the pool for each process.
  (Note, additively, that KERN_PROC_PROC is rather inaccurate on
  thread-wide informations like the 'state' of the process.  Such
  informations should maybe be invalidated and being forceably discarded
  by the consumers?).
- Simplify the logic of sysctl_out_proc() and adjust the
  fill_kinfo_thread() accordingly.
- Remove checks on the FIRST_THREAD_IN_PROC() being NULL but add
  assertives.

This patch should fix aggregate statistics for KERN_PROC_PROC.
This is one of the reasons why top doesn't use this option and now it
can be use it safely.
ps, when launched in order to display just processes, now should report
correct cpu utilization percentages and times (as opposed by the old
code).

Reviewed by: jhb, emaste
Sponsored by: Sandvine Incorporated

15 years agoMake ch->dma.free() called symmetrically to ch->dma.alloc().
mav [Wed, 18 Feb 2009 21:12:48 +0000 (21:12 +0000)]
Make ch->dma.free() called symmetrically to ch->dma.alloc().

15 years agoImplement proper attach/detach routines for ISA driver.
mav [Wed, 18 Feb 2009 20:42:42 +0000 (20:42 +0000)]
Implement proper attach/detach routines for ISA driver.

15 years agoAdd an extra (void *) cast. The struct if_msghdr has an 8 byte
imp [Wed, 18 Feb 2009 19:59:27 +0000 (19:59 +0000)]
Add an extra (void *) cast.  The struct if_msghdr has an 8 byte
alignment requirement, while rt_msghdr has a 4 byte alignment
requirement.  The root cause is that if_msghdr has an struct if_data
which has an 8-byte alignment requirement due to a time_t that's
embedded in it.  On MIPS, time_t is a 64-bit number, so must be 64-bit
aligned.

Since we don't access ifm_data.ifi_epoch, a simple cast is all that's
necessary here.  It is likely the case that ifi_epoch should *NOT* be
a time_t because it is an uptime (time delta) an not an absolute time
since 1970.  u_long is likely sufficient there since that gives an
uptime of 136 years will suffice for the foreseeable future.

15 years agoo Fix year in the previous commit.
maxim [Wed, 18 Feb 2009 19:05:27 +0000 (19:05 +0000)]
o Fix year in the previous commit.

Submitted by: Munehiro Matsuda

15 years agoEnhance debugging mode by storing the string "BB:TT:LL" once and use
sbruno [Wed, 18 Feb 2009 18:41:34 +0000 (18:41 +0000)]
Enhance debugging mode by storing the string "BB:TT:LL" once and use
it instead of overloading sbp_show_sdev_info().

replace calls to printf with calls to device_printf and cleanup debug
messages

Remove a bit of dead, commented out code.

Reviewed by: scottl(mentor)
MFC after: 2 weeks

15 years agoRemove unused variable.
mav [Wed, 18 Feb 2009 18:36:13 +0000 (18:36 +0000)]
Remove unused variable.

Submitted by: ganbold

15 years agoMark these variables as __used as those are used in the asm block.
rdivacky [Wed, 18 Feb 2009 18:25:16 +0000 (18:25 +0000)]
Mark these variables as __used as those are used in the asm block.

Approved by: kib (mentor)

15 years agoadd myself to committers tree
avg [Wed, 18 Feb 2009 17:36:44 +0000 (17:36 +0000)]
add myself to committers tree

Approved by: rpaulo (mentor)

15 years agoReindent a small bit of code that was not 8-space indented like the rest
jhb [Wed, 18 Feb 2009 16:34:13 +0000 (16:34 +0000)]
Reindent a small bit of code that was not 8-space indented like the rest
of the nfs_lookup() function.

15 years agoAdapt linux emulation to use cv for vfork wait.
kib [Wed, 18 Feb 2009 16:11:39 +0000 (16:11 +0000)]
Adapt linux emulation to use cv for vfork wait.

Submitted by: Takahiro Kurosawa <takahiro.kurosawa gmail com>
PR: kern/131506

15 years agoo DragonFly 2.2.0 added.
maxim [Wed, 18 Feb 2009 10:02:32 +0000 (10:02 +0000)]
o DragonFly 2.2.0 added.

15 years agoSwitch over to usbdevs.h generated at compile time.
thompsa [Wed, 18 Feb 2009 06:33:10 +0000 (06:33 +0000)]
Switch over to usbdevs.h generated at compile time.

15 years agoBump __FreeBSD_version to 800063 after GENERIC changed to USB2.
thompsa [Wed, 18 Feb 2009 06:17:13 +0000 (06:17 +0000)]
Bump __FreeBSD_version to 800063 after GENERIC changed to USB2.

15 years agouse mii instead of miibus so we don't drag in all phy support
sam [Wed, 18 Feb 2009 01:37:57 +0000 (01:37 +0000)]
use mii instead of miibus so we don't drag in all phy support
(we only need ukphy which is brought in by mii)

MFC after: 1 week

15 years agoUse outbound message register 0 instead of mailbox 7 in
emaste [Wed, 18 Feb 2009 01:36:20 +0000 (01:36 +0000)]
Use outbound message register 0 instead of mailbox 7 in
aac_{rx,rkt}_get_fwstatus, as done in Adaptec's vendor driver as well as
the Linux drivers.

Submitted by:   jkim, from Adaptec's driver

15 years agoRemove reference to phy_delay from fwcontrol. Thanks for the catch!
sbruno [Tue, 17 Feb 2009 23:56:16 +0000 (23:56 +0000)]
Remove reference to phy_delay from fwcontrol.  Thanks for the catch!

Submitted by: Giorgos Keramidas <keramida@ceid.upatras.gr>
MFC after: 2 weeks

15 years agofix whitespace
sam [Tue, 17 Feb 2009 23:43:17 +0000 (23:43 +0000)]
fix whitespace

15 years agoAdaptively increase control command timeout when drive is spun down.
mav [Tue, 17 Feb 2009 23:20:04 +0000 (23:20 +0000)]
Adaptively increase control command timeout when drive is spun down.
This should fix, for example, cache flush timeout error on shutdown, if
some drives are not mounted.

PR: kern/111023

15 years agoFix cut/paste error in previous commit and use the
gallatin [Tue, 17 Feb 2009 22:25:19 +0000 (22:25 +0000)]
Fix cut/paste error in previous commit and use the
correct value for SFP+ reserved media type.

MFC after:  1 week

15 years agoBetter support for recent Myricom 10GbE NICs
gallatin [Tue, 17 Feb 2009 22:15:58 +0000 (22:15 +0000)]
Better support for recent Myricom 10GbE NICs

- Update to firmware 1.4.39 for dual-chip NIC (10G-PCIE2-xxx)
  support, and SFP+ i2c support

- Identify newer "B" NICs (10G-PCIEx-8B-x) correctly, rather than
  mis-identifying them as "A" NICs (cosmetic only)

- Identify the IFM_10G_LRM ifmedia type, where applicable.

- Identify ifmedia types for SFP+ based NICs

- Update copyright

Sponsored by: Myricom
MFC after: 1 week

15 years agoRemove useless return, that left from previous commit.
mav [Tue, 17 Feb 2009 21:35:17 +0000 (21:35 +0000)]
Remove useless return, that left from previous commit.

15 years agoRemove obsolete prison_service declarations.
jamie [Tue, 17 Feb 2009 21:29:39 +0000 (21:29 +0000)]
Remove obsolete prison_service declarations.

Approved by: bz (mentor)

15 years agoata_interrupt() does not need to return anything. It is not it's business
mav [Tue, 17 Feb 2009 21:17:21 +0000 (21:17 +0000)]
ata_interrupt() does not need to return anything. It is not it's business
to report request completion, expecially when it is not reliable.

15 years agoCorrect the year.
pjd [Tue, 17 Feb 2009 20:35:11 +0000 (20:35 +0000)]
Correct the year.

Reported by: Florian Smeets <flo@kasimir.com>

15 years agoDocument kern.geom.journal.* sysctls.
pjd [Tue, 17 Feb 2009 20:30:17 +0000 (20:30 +0000)]
Document kern.geom.journal.* sysctls.

PR: docs/130548
Submitted by: Hywel Mallett <hywel@hmallett.co.uk>
MFC after: 1 week

15 years agoIntroduce 1394a-2000 extended PHY Self ID packets.
sbruno [Tue, 17 Feb 2009 19:37:04 +0000 (19:37 +0000)]
Introduce 1394a-2000 extended PHY Self ID packets.

Deprecate unused phy_delay Self ID field as it was removed
by 1394a-2000.

Attempt to parse extended Self ID PHY packets if they are detected

Reviewed by: scottl (mentor)
MFC after: 2 weeks

15 years agoAdd kernel dumping support. Works fine with sdhci controller driver.
mav [Tue, 17 Feb 2009 19:17:25 +0000 (19:17 +0000)]
Add kernel dumping support. Works fine with sdhci controller driver.

15 years agoAdd support for interruptless kernel dumping.
mav [Tue, 17 Feb 2009 19:12:15 +0000 (19:12 +0000)]
Add support for interruptless kernel dumping.

15 years agoAdd a default implementation for pre-check. It should
marcel [Tue, 17 Feb 2009 18:24:58 +0000 (18:24 +0000)]
Add a default implementation for pre-check. It should
always succeed if not implemented.

Pointy hat: marcel

15 years agoSimplify some debugging messages and try to consolodate some of the more
sbruno [Tue, 17 Feb 2009 17:46:43 +0000 (17:46 +0000)]
Simplify some debugging messages and try to consolodate some of the more
interesting conditional printf's into single device_printf's

Change a couple of variable names so that I don't have to trace what they
acutally do anymore.

Enable the display of the Self ID PHY packet if firewire_debug > 0
Reviewed by: scottl(mentor)
MFC after: 2 weeks

15 years agoDon't try to auto-detect dynamic linking; it fails on mips. The Makefile
des [Tue, 17 Feb 2009 16:35:19 +0000 (16:35 +0000)]
Don't try to auto-detect dynamic linking; it fails on mips.  The Makefile
part of the patch is an ugly (and hopefully temporary) hack.

Discussed with: imp@

15 years agotsec(4) cosmetics.
raj [Tue, 17 Feb 2009 16:02:45 +0000 (16:02 +0000)]
tsec(4) cosmetics.

15 years agotsec(4): Always try to resume the receiver.
raj [Tue, 17 Feb 2009 15:59:27 +0000 (15:59 +0000)]
tsec(4): Always try to resume the receiver.

This helps recover from RX stall under heavy loads.

Submitted by: Piotr Ziecik kosmo ! semihalf dot com

15 years agotsec(4): do not clear interrupt events register before use.
raj [Tue, 17 Feb 2009 15:47:13 +0000 (15:47 +0000)]
tsec(4): do not clear interrupt events register before use.

Prior to this fix, IEVENT register was always cleared before calling
tsec_error_intr_locked(), which prevented error recovery actions from
happening with polling enabled (and could lead to serious problems, including
controller hang).

Submitted by: Marcin Ligenza marcinl ! pacomp dot com dot pl

15 years agoHandle mbuf exhaustion scenario in tsec(4).
raj [Tue, 17 Feb 2009 15:39:16 +0000 (15:39 +0000)]
Handle mbuf exhaustion scenario in tsec(4).

Without this fix the system would hang under heavy networking load.

Submitted by: Leon Theunissen leon ! parsec dot co dot za

15 years agotsec(4) style improvements and clean-up.
raj [Tue, 17 Feb 2009 14:59:47 +0000 (14:59 +0000)]
tsec(4) style improvements and clean-up.

15 years agoAdditional features for the tsec(4) Ethernet driver.
raj [Tue, 17 Feb 2009 14:57:05 +0000 (14:57 +0000)]
Additional features for the tsec(4) Ethernet driver.

  - interrupt coalescing
  - polling
  - jumbo frames
  - multicast
  - VLAN tagging

The enhanced version of the chip (eTSEC) can also take advantage of:

  - TCP/IP checksum calculation h/w offloading

Obtained from: Freescale, Semihalf

15 years agoRename the rc.conf(5) knob if_up_delay to defaultroute_delay to better
mtm [Tue, 17 Feb 2009 11:55:50 +0000 (11:55 +0000)]
Rename the rc.conf(5) knob if_up_delay to defaultroute_delay to better
reflect its purpose.

15 years agoo Trim EOL whitespaces.
maxim [Tue, 17 Feb 2009 10:50:18 +0000 (10:50 +0000)]
o Trim EOL whitespaces.

15 years agoo Teminate sentences by dot.
maxim [Tue, 17 Feb 2009 10:49:36 +0000 (10:49 +0000)]
o Teminate sentences by dot.

15 years agoRemove gpt_offset and related code. It was introduced for use
marcel [Tue, 17 Feb 2009 04:12:10 +0000 (04:12 +0000)]
Remove gpt_offset and related code. It was introduced for use
by the BSD scheme, ended up not to be needed. Remove to avoid
abuse and to keep the bloat to a minimum.

15 years agoSynopsis:
sbruno [Tue, 17 Feb 2009 04:08:08 +0000 (04:08 +0000)]
Synopsis:
If speed of link between two devices is slower than the reported max
speed of both endpoints, the current driver will fail and be unable to
negotiate.

Summary:
Test negotiated speed by reading the CSRROM into a dummy variable.
If that read fails, decrement our speed and retry.  If all else fails,
go to lowest speed possible(0).

Report speed to the user.
Add display of the Bus Info Block when debug.firewire_debug > 1
Support the Bus Info Block(1394a-2000) method of speed detection.

I also should note that I am moving "hold_count" to 0 for future
releases.

This variable determines how many bus resets to "hold" a removed
firewire device before deletion.  I don't feel this is useful and will
probably drop support for this sysctl in the future.

Reviewed by:    scottl(mentor)
MFC after:      2 weeks

15 years agoHold off root mounting until we've gone through the loop of our thread
imp [Tue, 17 Feb 2009 02:14:04 +0000 (02:14 +0000)]
Hold off root mounting until we've gone through the loop of our thread
almost once.  After we've configured the devices that were present the
first time through, then we know that we're done.  If the device has
other devices that are deferred, then it must do a similar dance.
This catches both PC Cards and CardBus cards.

15 years agoMake core dumping to ad not to freeze even if interrupts, not disabled
mav [Mon, 16 Feb 2009 22:25:39 +0000 (22:25 +0000)]
Make core dumping to ad not to freeze even if interrupts, not disabled
for some reason, stealing our events.

15 years agoCorrectly scrub telnetd's environment.
cperciva [Mon, 16 Feb 2009 21:56:17 +0000 (21:56 +0000)]
Correctly scrub telnetd's environment.

Approved by: so (cperciva)
Security: FreeBSD-SA-09:05.telnetd

15 years agoInclude Marvell EHCI HC driver for USB2.
marcel [Mon, 16 Feb 2009 21:42:41 +0000 (21:42 +0000)]
Include Marvell EHCI HC driver for USB2.

15 years agoThe streams ptm code is pretty awful and likely incorrect. I don't know
ed [Mon, 16 Feb 2009 20:12:28 +0000 (20:12 +0000)]
The streams ptm code is pretty awful and likely incorrect. I don't know
anything about streams, so I'm not going to fix it. Just a small comment
to redirect folks to posix_openpt().

15 years agoGive atapci knowledge about set of implemented AHCI ports. It is possible
mav [Mon, 16 Feb 2009 19:10:07 +0000 (19:10 +0000)]
Give atapci knowledge about set of implemented AHCI ports. It is possible
to not allocate them after the recent ata channels enumeration changes.
It allows to save some resources, not bother user with unexisting hardware
and not check unimplemented ports status on every interrupt.

15 years agoAdd an entry for xorg+hal+USB2 not detecting input devices.
thompsa [Mon, 16 Feb 2009 18:59:18 +0000 (18:59 +0000)]
Add an entry for xorg+hal+USB2 not detecting input devices.

15 years ago- Add myself to the list of ports committers.
beat [Mon, 16 Feb 2009 18:51:34 +0000 (18:51 +0000)]
- Add myself to the list of ports committers.

Approved by: miwi (mentor)

15 years agoGCC attacks!
scottl [Mon, 16 Feb 2009 18:02:32 +0000 (18:02 +0000)]
GCC attacks!

15 years agoMFp4 //depot/projects/usb@157783
thompsa [Mon, 16 Feb 2009 15:32:12 +0000 (15:32 +0000)]
MFp4 //depot/projects/usb@157783

libusb20: Make return value compatible with libusb0.12.x in case of a USB
transfer timeout.

Submitted by: Hans Petter Selasky

15 years agoFix a logic bug that caused the pfs_attr method to be called only for
des [Mon, 16 Feb 2009 15:17:26 +0000 (15:17 +0000)]
Fix a logic bug that caused the pfs_attr method to be called only for
PFS_PROCDEP nodes.

Submitted by: Andrew Brampton <brampton@gmail.com>
MFC after: 2 weeks

15 years agocorrect some #include
luigi [Mon, 16 Feb 2009 15:10:51 +0000 (15:10 +0000)]
correct some #include

15 years agowe need if_var.h not if.h
luigi [Mon, 16 Feb 2009 15:10:03 +0000 (15:10 +0000)]
we need if_var.h not if.h

15 years agoremove unnecessary forward declaration
luigi [Mon, 16 Feb 2009 15:09:37 +0000 (15:09 +0000)]
remove unnecessary forward declaration

15 years agoremove dependency on eventhandler.h, we only need a forward declaration
luigi [Mon, 16 Feb 2009 15:08:41 +0000 (15:08 +0000)]
remove dependency on eventhandler.h, we only need a forward declaration

15 years agoremove dependency on net/if.h of this header
luigi [Mon, 16 Feb 2009 15:07:40 +0000 (15:07 +0000)]
remove dependency on net/if.h of this header

15 years agoFix parallel SCSI negotiation in the CAM_NEW_TRAN_CODE world order.
scottl [Mon, 16 Feb 2009 14:57:15 +0000 (14:57 +0000)]
Fix parallel SCSI negotiation in the CAM_NEW_TRAN_CODE world order.
Overzealous sanity checks were locking the sync_rate and offset values to
zero, thanks to a twisty maze of recursive code.

15 years agoInstrument the probe state machine so that things like DV can be tracked.
scottl [Mon, 16 Feb 2009 14:38:52 +0000 (14:38 +0000)]
Instrument the probe state machine so that things like DV can be tracked.

15 years agouse a const format string in the log message so we can check the
luigi [Mon, 16 Feb 2009 12:09:52 +0000 (12:09 +0000)]
use a const format string in the log message so we can check the
arguments (if/when we enable those checks)

15 years agoIFF_NEEDSGIANT will no longer be supported, so remove compatibility code
rwatson [Mon, 16 Feb 2009 10:29:03 +0000 (10:29 +0000)]
IFF_NEEDSGIANT will no longer be supported, so remove compatibility code
from if_sppp framework for interfaces requiring Giant.

15 years agoAdd support to add, delete and modify logical partitions, as well
marcel [Mon, 16 Feb 2009 03:54:28 +0000 (03:54 +0000)]
Add support to add, delete and modify logical partitions, as well
as to create and destroy the extended partitioning scheme. In
other words: full support.

15 years agoAdd a helper function for loading geli keys from the loader.
thompsa [Mon, 16 Feb 2009 02:42:17 +0000 (02:42 +0000)]
Add a helper function for loading geli keys from the loader.

15 years agoAdd uslcom to the build too.
thompsa [Sun, 15 Feb 2009 23:40:29 +0000 (23:40 +0000)]
Add uslcom to the build too.

Reminded by: Michael Butler

15 years agoMake uslcom compile, cut'n'paste errors from uplcom.
thompsa [Sun, 15 Feb 2009 23:38:58 +0000 (23:38 +0000)]
Make uslcom compile, cut'n'paste errors from uplcom.

15 years agoRemove debug.ce.mpsafenet: we no longer support running the network
rwatson [Sun, 15 Feb 2009 23:29:13 +0000 (23:29 +0000)]
Remove debug.ce.mpsafenet: we no longer support running the network
stack with conditional Giant acquisition, and IFF_NEEDSGIANT will
be removed in the near future.

15 years agoRemove debug.ctau.mpsafenet: we no longer support running the network
rwatson [Sun, 15 Feb 2009 23:21:52 +0000 (23:21 +0000)]
Remove debug.ctau.mpsafenet: we no longer support running the network
stack with conditional Giant acquisition, and IFF_NEEDSGIANT will
be removed in the near future.

15 years agoRemove debug.cp.mpsafenet: we no longer support running the network
rwatson [Sun, 15 Feb 2009 23:18:29 +0000 (23:18 +0000)]
Remove debug.cp.mpsafenet: we no longer support running the network
stack with conditional Giant acquisition, and IFF_NEEDSGIANT will
be removed in the near future.

15 years agoSwitch over GENERIC kernels to USB2 by default.
thompsa [Sun, 15 Feb 2009 22:33:44 +0000 (22:33 +0000)]
Switch over GENERIC kernels to USB2 by default.

Tested by: make universe

15 years agoAdd method precheck to the g_part interface. The precheck
marcel [Sun, 15 Feb 2009 22:18:16 +0000 (22:18 +0000)]
Add method precheck to the g_part interface. The precheck
method allows schemes to reject the ctl request, pre-check
the parameters and/or modify/set parameters. There are 2
use cases that triggered the addition:
1.  When implementing a R/O scheme, deletes will still
    happen to the in-memory representation. The scheme is
    not involved in that operation. The pre-check method
    can be used to fail the delete up-front. Without this
    the write to disk will typically fail, but at that
    time the delete already happened.
2.  The EBR scheme uses a linked list to record slices.
    There's no index. The EBR scheme defines the index
    as a function of the start LBA of the partition. The
    add verb picks an index for the range and then invokes
    the add method of the scheme to fill in the blanks. It
    is too late for the add method to change the index.
    The pre-check is used to set the index up-front. This
    also (silently) overrides/nullifies any (pointless)
    user-specified index value.

15 years agoRemove unneeded AND operation. We have already checked that bit is set.
mav [Sun, 15 Feb 2009 21:54:16 +0000 (21:54 +0000)]
Remove unneeded AND operation. We have already checked that bit is set.

15 years agoEnable MSI support by default. Still can be disabled using device.hints.
mav [Sun, 15 Feb 2009 21:17:21 +0000 (21:17 +0000)]
Enable MSI support by default. Still can be disabled using device.hints.

15 years agoAdd initial single-vector MSI support into atapci driver.
mav [Sun, 15 Feb 2009 20:37:55 +0000 (20:37 +0000)]
Add initial single-vector MSI support into atapci driver.
Works fine with AHCI and theoretically other MSI capable devices.

At this moment support disabled by default. To enable it, set
"hint.atapci.X.msi=1" device hint.

15 years agoPull in kbd.c with usb2_input_kbd, just like ukbd.
thompsa [Sun, 15 Feb 2009 20:24:21 +0000 (20:24 +0000)]
Pull in kbd.c with usb2_input_kbd, just like ukbd.

15 years agoIt appears that none of the contents of this file are necessary, so
imp [Sun, 15 Feb 2009 20:05:13 +0000 (20:05 +0000)]
It appears that none of the contents of this file are necessary, so
replace the amd64-ish version with a blank version.

15 years agoAdd the pccard header files to ObsoleteFiles.inc.
ed [Sun, 15 Feb 2009 18:30:44 +0000 (18:30 +0000)]
Add the pccard header files to ObsoleteFiles.inc.

Reviewed by: imp

15 years agoRemoval pccard directory requires removing it from the list of things
imp [Sun, 15 Feb 2009 18:19:24 +0000 (18:19 +0000)]
Removal pccard directory requires removing it from the list of things
that get installed too.  <blush>

Submitted by: Olivier Smedts (identical patches to what I came up
with before checking email)

15 years agoMake dumper_t definition conform more closely to stlye(9). This also
imp [Sun, 15 Feb 2009 17:56:16 +0000 (17:56 +0000)]
Make dumper_t definition conform more closely to stlye(9).  This also
avoid keywords in other languages that may have been present before.

Submitted by: Andriy Gapon, jkoshy@

15 years agoNow that ifmcstat(8) does not suck, retire host-mode netstat -g.
bms [Sun, 15 Feb 2009 16:16:38 +0000 (16:16 +0000)]
Now that ifmcstat(8) does not suck, retire host-mode netstat -g.
This change will not be back-ported.

15 years agoAdd workaround for some ATI chips, failing to soft-reset
mav [Sun, 15 Feb 2009 16:05:48 +0000 (16:05 +0000)]
Add workaround for some ATI chips, failing to soft-reset
when port multiplicator supported, but absent.

15 years agonits
bms [Sun, 15 Feb 2009 15:26:42 +0000 (15:26 +0000)]
nits

15 years agoBlow away KAME MLDv2 hooks.
bms [Sun, 15 Feb 2009 15:21:34 +0000 (15:21 +0000)]
Blow away KAME MLDv2 hooks.
This code can be gotten from change history here and it's
more than likely our implementation will differ significantly
because of VIMAGE and SMPng.

15 years agoImprove ifmcstat(8) and fix a few bugs while we're at it:
bms [Sun, 15 Feb 2009 15:19:34 +0000 (15:19 +0000)]
Improve ifmcstat(8) and fix a few bugs while we're at it:
 * Retire the old 'ifmcstat <kernel>' usage.
 * Print AF_LINK records even if run against KVM.
   This makes the KVM backend consistent with the sysctl backend.
 * Suppress printing of link-layer group records by default.
 * Add a -v switch to allow link-layer groups to be printed.
 * If compiled without INET6 support, actually work.
 * If compiled with INET6 support, print the scope ID of
   all IPv6 addresses in both backends.
 * Update man page.
 * Update copyrights.

With this change, it is now reasonable to retire netstat -g.
Most of the SSM related gunk in this file will require later refactoring.

MFC after: 2 weeks

15 years ago- Do not free the pattern lists immediately after use, as they might be needed
lulf [Sun, 15 Feb 2009 13:22:21 +0000 (13:22 +0000)]
- Do not free the pattern lists immediately after use, as they might be needed
  again in case the connection is interrupted and csup have to reconnect. The
  lists will be freed after the collection has been completely processed.

PR: bin/131477
Tested by: dchagin

15 years agoFix a typo which caused ifmcstat's sysctl path
bms [Sun, 15 Feb 2009 12:10:05 +0000 (12:10 +0000)]
Fix a typo which caused ifmcstat's sysctl path
to print the network-layer endpoint address of the
group membership, rather than its link-layer mapping
as intended.
The KVM path is not affected.

MFC after: 1 week

15 years agosys/pccard is gone.
nyan [Sun, 15 Feb 2009 11:05:50 +0000 (11:05 +0000)]
sys/pccard is gone.

15 years agoTune output to remove trailing space.
mav [Sun, 15 Feb 2009 10:41:42 +0000 (10:41 +0000)]
Tune output to remove trailing space.

Submitted by: Christoph Mallon

15 years agoAdd SATA and PCI Advanced Features capabilities reporting.
mav [Sun, 15 Feb 2009 09:56:47 +0000 (09:56 +0000)]
Add SATA and PCI Advanced Features capabilities reporting.

15 years agoAdd SATA and PCI Advanced Features capabilities constants.
mav [Sun, 15 Feb 2009 09:49:21 +0000 (09:49 +0000)]
Add SATA and PCI Advanced Features capabilities constants.

15 years ago- fix formatting
kmacy [Sun, 15 Feb 2009 06:36:02 +0000 (06:36 +0000)]
- fix formatting
- fix types in ticks_to_system_time

15 years agoActually include geom_part_ebr.c when options GEOM_PART_EBR is
marcel [Sun, 15 Feb 2009 03:50:27 +0000 (03:50 +0000)]
Actually include geom_part_ebr.c when options GEOM_PART_EBR is
present.

Pointy hat: marcel

15 years agoDon't remove gdbserver on ARM. It's not obsolete. In fact,
marcel [Sun, 15 Feb 2009 03:42:14 +0000 (03:42 +0000)]
Don't remove gdbserver on ARM. It's not obsolete. In fact,
it's quite nouveau...

15 years agoThis directory is no logner needed after copy to usr.sbin/dumpcis.
imp [Sun, 15 Feb 2009 03:22:15 +0000 (03:22 +0000)]
This directory is no logner needed after copy to usr.sbin/dumpcis.