| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Remove bintime_cmp() function, unused since r200086.
Notes:
svn path=/stable/8/; revision=211803
|
| |
|
|
|
|
|
| |
Add missed dependency.
Notes:
svn path=/stable/8/; revision=211624
|
| |
|
|
|
|
|
|
| |
Fix the interaction between 'ICMP fragmentation needed' MTU updates,
path MTU discovery and the tcp_minmss limiter for very small MTU's.
Notes:
svn path=/stable/8/; revision=211602
|
| |
|
|
|
|
|
|
|
| |
Add more logging points for failures in syncache_socket() to
report when a new socket couldn't be created because one of
in_pcbinshash(), in6_pcbconnect() or in_pcbconnect() failed.
Notes:
svn path=/stable/8/; revision=211600
|
| |
|
|
|
|
|
|
|
|
| |
This is a direct commit.
Reported by: many
Pointyhat to: avg
Notes:
svn path=/stable/8/; revision=211599
|
| |
|
|
|
|
|
|
|
|
| |
Unify ABI-related bits of the Book-E and AIM machdep routines
(exec_setregs, etc.) in order to simplify the addition of 64-bit support,
and possible future extension of the Book-E code to handle hard floating
point and Altivec.
Notes:
svn path=/stable/8/; revision=211595
|
| |
|
|
|
|
|
|
|
| |
Replace the existing PowerPC busdma implementation with the one from
amd64 (with slight modifications). This provides support for bounce
buffers, which are required on systems with RAM above 4 GB.
Notes:
svn path=/stable/8/; revision=211593
|
| |
|
|
|
|
|
|
| |
Add a missing architecture declaration to the machine specification
for sun4v.
Notes:
svn path=/stable/8/; revision=211591
|
| |
|
|
|
|
|
| |
object type (amd64)
Notes:
svn path=/stable/8/; revision=211585
|
| |
|
|
| |
Notes:
svn path=/stable/8/; revision=211581
|
| |
|
|
|
|
|
| |
requests
Notes:
svn path=/stable/8/; revision=211578
|
| |
|
|
| |
Notes:
svn path=/stable/8/; revision=211574
|
| |
|
|
|
|
|
|
| |
Reset the internal tso flag in tcp_output() on every iteration
of sendalot.
Notes:
svn path=/stable/8/; revision=211548
|
| |
|
|
|
|
|
|
| |
Change the messages of the ICMP bad port bandwidth limiter from
a kernel printf to a log output with the priority of LOG_NOTICE.
Notes:
svn path=/stable/8/; revision=211542
|
| |
|
|
|
|
|
| |
Disable TCP inflight limiter by default.
Notes:
svn path=/stable/8/; revision=211538
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
MFp4 CH180235:
Add proto spacers to inet6sw like we have for legacy IP. This allows us
to dynamically pf_proto_register() for INET6 from modules, needed by
upcoming CARP changes and SeND.
MC and SCTP could make use of it as well in theory in the future after
upcoming VIMAGE vnet teardown work.
Discussed with: will, anchie
Notes:
svn path=/stable/8/; revision=211527
|
| |
|
|
|
|
|
|
|
| |
Add a new function devfs_parent_dirent() for resolving devfs parent
directory entry. Use the new function in devfs_fqpn(), devfs_lookupx()
and devfs_vptocnp() instead of manually resolving the parent entry.
Notes:
svn path=/stable/8/; revision=211507
|
| |
|
|
|
|
|
| |
Add compat32 shims for opencrypto(4).
Notes:
svn path=/stable/8/; revision=211494
|
| |
|
|
|
|
|
|
|
|
| |
Add support for the Corega CG-USBRS232R to uplcom(4)
PR: usb/129173
Submitted by: SHIMAOKA Shunsuke <shimaoka.shunsuke gmail.com>
Notes:
svn path=/stable/8/; revision=211472
|
| |
|
|
|
|
|
|
|
|
| |
Support the Pyramid KBS USB LCD under uftdi(4)
PR: usb/129758
Submitted by: joao lima <jlima visionware.pt>
Notes:
svn path=/stable/8/; revision=211471
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Support two devices made by West Mountain Radio in uslcom(4) [1]
- Remove duplicate SILABS CP2102 define from usbdevs
Merge r211022 from head:
Sync the list of devices supported by uslcom(4) with NetBSD, Linux, OpenBSD
and BeOS. The devices supported by uslcom(4) are now in sync with:
NetBSD src/sys/dev/usb/uslsa.c 1.11
OpenBSD src/sys/dev/usb/uslcom.c 1.20
Linux source/drivers/usb/serial/cp210x.c from kernel 2.6.35
BeOS usb_serial/driver.c 1.32
Two vendor/product IDs from Linux have not been added to uslcom(4):
SILABS SAEL - This device has special code in u3g to support it
SILABS GSM2228 - I suspect this should also be covered by u3g(4).
PR: usb/131912 [1]
Submitted by: Jack Twilley <mathuin gmail.com> [1]
Notes:
svn path=/stable/8/; revision=211470
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Do not free sc if attach failed, as it was allocated by the bus
infrastructure, not us. This appears to be a leftover from an older
version of the driver.
Submitted by: avg
Tested by: Anton Shterenlikht <mexas bristol.ac.uk>
Notes:
svn path=/stable/8/; revision=211466
|
| |
|
|
|
|
|
|
|
|
| |
Plug memory leak to silent Coverity. Error is still not really handled.
Found with: Coverity Prevent(tm)
CID: 4137
Notes:
svn path=/stable/8/; revision=211461
|
| |
|
|
|
|
|
|
|
|
| |
Plug memory leak to silent Coverity. Error is still not really handled.
Found with: Coverity Prevent(tm)
CID: 4196
Notes:
svn path=/stable/8/; revision=211460
|
| |
|
|
|
|
|
|
|
|
| |
Fix attach errors handling.
Found with: Coverity Prevent(tm)
CID: 3477
Notes:
svn path=/stable/8/; revision=211459
|
| |
|
|
|
|
|
|
| |
Disable NCQ and PMP support for VIA VT8251 AHCI. It was reported to be
unreliable under load. Linux does the same.
Notes:
svn path=/stable/8/; revision=211458
|
| |
|
|
|
|
|
|
|
|
| |
Plug memory leak to silent Coverity. Error is still not really handled.
Found with: Coverity Prevent(tm)
CID: 4130
Notes:
svn path=/stable/8/; revision=211457
|
| |
|
|
|
|
|
|
|
|
| |
Fix attach errors handling.
Found with: Coverity Prevent(tm)
CID: 3424
Notes:
svn path=/stable/8/; revision=211456
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
In rip6_input(), in case of multicast, we might skip the normal processing
and go to the next iteration early if multicast filtering would decide that
this socket shall not receive the data.
Unlock the pcb in that case or we leak the read lock and next time trying
to get a write lock, would hang forever.
PR: kern/149608
Submitted by: Chris Luke (chrisy flirble.org)
Notes:
svn path=/stable/8/; revision=211411
|
| |
|
|
|
|
|
|
|
|
| |
Forward ioctl requests to original geom.
PR: 148540
Approved by: kib (mentor)
Notes:
svn path=/stable/8/; revision=211391
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Release access for consumers that are opened, but will be destroyed
indirectly by orphan method.
PR: 148688
MFC r210792:
Check that table is not NULL before access, it can be NULL
for some cases.
Approved by: kib (mentor)
Notes:
svn path=/stable/8/; revision=211390
|
| |
|
|
|
|
|
|
| |
Specify BCE_RX_BUF_ALIGN alignment for RX buffers. All bce(4)
controllers require RX buffers aligned on BCE_RX_BUF_ALIGN bytes.
Notes:
svn path=/stable/8/; revision=211387
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
r210263:
Do not report current link state if interface is not UP.
r210267:
Add KASSERT to check number of returned DMA segments.
r210269:
Use bus_get_dma_tag() to get parent tag. Also use
BUS_SPACE_MAXSIZE_32BIT to specify sum of all segment lengths.
Previously it used MAXBSIZE which was wrong.
r210270:
Specify BUS_DMA_ZERO flag to bus_dmamem_alloc(9) and remove bzero()
calls. Also add BUS_DMA_COHERENT flag to bus_dmamem_alloc(9) to
take advantage of efficient synchronization for architectures that
support that feature.
Notes:
svn path=/stable/8/; revision=211385
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
r210257:
When we didn't find a matching flash device, do not touch flash
config data. While I'm here, use return code of bce_init_nvram()
to set error instead of directly setting ENODEV.
r210259:
Have bce_init_ctx() return error code and make caller check the
return code. If context was not setup correctly give up
initialization. While I'm here move variable declarations to the
beginning of the function.
r210260:
Don't change current media in bce_stop(). There is no need to do
this here.
r210261:
Correctly check the result of media selection. Previously it always
returned success.
Notes:
svn path=/stable/8/; revision=211383
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Enable flow control.
- Print device details only when verbose boot is enabled.
- Add debug output for shared memory access.
- Add debug statistics (checksum offload & VLAN frame counters).
- Modify TX path to update consumer index for each frame completed
rather than updating the consumer index only once for a group of
frames to improve small packet performance.
- Print driver/firmware pulse messages only when verbose boot
is enabled.
- Add debug sysctl to clear statistics.
- Fix more style(9) violations.
Notes:
svn path=/stable/8/; revision=211381
|
| |
|
|
|
|
|
| |
- Pass flow control settings back to bce(4).
Notes:
svn path=/stable/8/; revision=211379
|
| |
|
|
|
|
|
|
|
| |
Implement WOL. WOL is supported on RTL8139B or newer controllers.
PR: kern/148013
Notes:
svn path=/stable/8/; revision=211377
|
| |
|
|
|
|
|
|
| |
Use pci_get_max_read_req() and pci_set_max_read_req() to set maximim
read request size.
Notes:
svn path=/stable/8/; revision=211375
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
r210083:
Remove enabling Data FIFO protection with indirect memory access.
r165114 added that code and that change ignored the same logic
committed in r135772. In addition, data FIFO protection should be
selectively enabled instead of applying to all PCIe devices.
While I'm here add BCM5785 to devices that do not require this
fix.
r210152:
Use Miscellaneous Configuration Register bit definition instead of
magic number.
Notes:
svn path=/stable/8/; revision=211373
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
r210011:
Make bge_stop_fw() static.
While I'm here use ANSI function definitions.
r210013:
style.
r210014:
Fix error message for jumbo buffer allocation failure.
r210015:
Prefer PCIR_BAR macro over BGE_PCI_BAR0.
Notes:
svn path=/stable/8/; revision=211371
|
| |
|
|
|
|
|
| |
Zero entire status block and add missing bus_dmamap_sync(9).
Notes:
svn path=/stable/8/; revision=211369
|
| |
|
|
|
|
|
|
|
|
|
|
| |
It seems read DMA mode register requires both IPv4 TSO and IPv6 TSO
configuration to get IPv4 TSO work on BCM57780. While I'm here
apply the same fix to BCM5785 which shares similar hardware feature
of BCM57780. This change makes TSO work on BCM57780.
Tested by: Tong Liu <nemoliu <> gmail dot com>
Notes:
svn path=/stable/8/; revision=211367
|
| |
|
|
|
|
|
| |
Remove unused macros.
Notes:
svn path=/stable/8/; revision=211365
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Remove enabling RX checksum offloading in RX filter setup. RX
checksum is enabled in sge_init_locked().
While I'm here do not set RX checksum bits in RX descriptor
initialization. It is controller's job to set these bits.
Tested by: xclin <xclin <> cs dot nctu dot edu dot tw >
Notes:
svn path=/stable/8/; revision=211361
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some revision of Yukon controller generates corrupted frame when TX
checksum offloading is enabled. The frame has a valid checksum
value so payload might be modified during TX checksum calculation.
Disable TX checksum offloading but give users chance to enable it
when they know their controller works without problems with TX
checksum offloading.
Reported by: Andrzej Tobola <ato <> iem dot pw dot edu dot pl>
Notes:
svn path=/stable/8/; revision=211359
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It seems some old Sundace(now IC Plus Corp.) controllers do not
like memory mapped register access. Typical problem from the issue
was MII access returned unreliable values. I'm not sure this comes
from lack of register flushing in MII access after accessing
STE_PHYCTL register though.
To address the issue, read hints data that controls which type of
memory mapping should be used in driver. ste(4) still prefers
memory mapping to io mapping but honor hints entered by user except
for controllers that have problems with memory mapping.
The hint to use iomapping could be given by adding the following
line to /boot/device.hints file.
hint.ste.0.prefer_iomap="1"
PR: kern/149285
Notes:
svn path=/stable/8/; revision=211357
|
| |
|
|
| |
Notes:
svn path=/stable/8/; revision=211324
|
| |
|
|
| |
Notes:
svn path=/stable/8/; revision=211323
|
| |
|
|
|
|
|
|
|
|
| |
Fix a bug in syncache where the initial CWND for new incoming connections
was limited to one segment under the faulty assumption of a retransmit.
Due to this the opportunity to initialize the increased congestion window
according to RFC3390 was missed.
Notes:
svn path=/stable/8/; revision=211312
|
| |
|
|
| |
Notes:
svn path=/stable/8/; revision=211310
|