Marius Strobl
b323b1d886
Remove some more remnants of !ATA_CAM.
2013-04-06 13:54:00 +00:00
Alexander Motin
9a95a7ca85
Document legacy ATA stack removal.
2013-04-06 13:47:44 +00:00
Jaakko Heinonen
67e09bb94c
Correct the path.
...
PR: 176256
Submitted by: jhs
2013-04-06 13:42:37 +00:00
Marius Strobl
2e1eb33217
Unbreak ATA_NO_48BIT_DMA with ATA_CAM by treating 48-bit DMA as an
...
optional property with PATA transport.
Reviewed by: mav
MFC after: 3 days
2013-04-06 13:39:02 +00:00
Martin Matuska
367437755d
Provide a fix for kernel panic if receiving recursive deduplicated streams.
...
Problem reported to vendor.
Illumos ZFS issues:
3692 Panic on zfs receive of a recursive deduplicated stream
MFC after: 2 weeks
2013-04-06 11:54:41 +00:00
Martin Matuska
f1b5c26470
MFV r248217:
...
Merge change from vendor to reduce diff only.
ZFS dtrace probes are not supported on FreeBSD yet.
Illumos ZFS issues:
3598 want to dtrace when errors are generated in zfs
MFC after: 3 weeks
2013-04-06 10:39:38 +00:00
Edward Tomasz Napierala
d2a0972d46
Make SYNCHRONIZE CACHE work with LUNs backed by device files (as opposed
...
to regular files, which already worked fine). With this change, it's no
longer neccessary to use "ctladm realsync off" workaround.
2013-04-06 10:34:02 +00:00
Edward Tomasz Napierala
16fac6c92a
Make it possible to submit FLUSH bios through geom_dev strategy. This
...
is required for CTL to work with device-backed LUNs.
Reviewed by: mav
2013-04-06 10:32:06 +00:00
Gleb Smirnoff
f7d97ffdc0
Move CRITICAL_ASSERT() macro to systm.h, where the critical(9)
...
functions are declared.
2013-04-06 08:23:38 +00:00
Martin Matuska
bae7bccf39
MFV r242816:
...
Import vendor change to reduce diff, no effect on FreeBSD.
Illumos ZFS issues:
3517 importing pool with autoreplace=on and "hole" vdevs crashes syseventd
2013-04-06 08:21:37 +00:00
Martin Matuska
85ac19dadc
Update vendor/illumos/dist to illumos-gate 14004:dd91fed709a7
...
Illumos DTrace issues:
3675 DTrace print() should try to resolve function pointers
3676 dt_print_enum hardcodes a value of zero
2013-04-06 08:06:25 +00:00
Martin Matuska
fb097b6165
Update vendor-sys/illumos/dist to illumos-gate 13992:313c3db67359
...
Illumos ZFS issues:
3639 zpool.cache should skip over readonly pools
3640 want automatic devid updates
2013-04-06 08:02:10 +00:00
Martin Matuska
817f65dcb7
Update vendor/illumos/dist to illumos-gate 13991:53e4f9da98a1
...
Illumos ZFS issues:
3641 want a histogram of compressed block sizes
2013-04-06 07:43:50 +00:00
Alan Cox
72abda6466
Simplify vm_radix_insert().
...
Reviewed by: attilio
Tested by: pho
Sponsored by: EMC / Isilon Storage Division
2013-04-06 06:02:55 +00:00
Oleksandr Tymoshenko
08dab5832b
Properly clean "spurious interrupt" state
...
Suggested by: Ian Lepore
2013-04-06 03:31:28 +00:00
Andrew Turner
64277b97f9
Hide non-assembler bits behind #ifndef __ASSEMBLER__
2013-04-06 00:47:33 +00:00
Adrian Chadd
fb522624d3
Extend ath3kfw to include overridable device / vendor IDs.
...
This is required for ar3k series bluetooth devices who need firmware
but have a different vendor ID than normal.
Reviewed by: maksim
2013-04-05 23:42:22 +00:00
Adrian Chadd
c36c780d87
Add blacklist entries for Atheros bluetooth device IDs that are known to
...
need firmware before they will re-attach as correctly functioning bluetooth
devices.
Reviewed by: maksim
Obtained from: Linux ath3k device driver
2013-04-05 23:41:38 +00:00
Jung-uk Kim
068f3d2f84
Fix declaration vs. definition inconsistency. No functional change.
2013-04-05 23:41:34 +00:00
Andrew Turner
c46c2523c2
Add the hw.floatingpoint sysctl to ARM to tell us if we have vfp support
...
in the kernel and the hardware includes a vfp unit.
2013-04-05 23:35:23 +00:00
Peter Grehan
6c2cb80e64
Remove dangling ISA uart stubs.
...
Obtained from: NetApp
2013-04-05 22:19:02 +00:00
Peter Grehan
117e8f378e
Don't panic when a valid divisor of 1 has been requested.
...
Obtained from: NetApp
2013-04-05 22:16:31 +00:00
Peter Grehan
f82d0672c7
config checksum is over the entire fixed portion, not just the
...
config header. FreeBSD doesn't check this but other o/s's do.
Obtained from: NetApp
2013-04-05 22:14:07 +00:00
Rene Ladan
b9a7b69edb
Fix a typo in the burncd line.
...
Approved by: cognet
2013-04-05 21:18:01 +00:00
Antoine Brodin
b5a099c64f
Add myself as a ports committer
...
Approved by: eadler (mentor)
2013-04-05 21:17:37 +00:00
Sean Bruno
9d29c47198
Notify CAM on state* change to a logical volume not status. This resolves
...
the issues reported regarding camcontrol devlist not showing the rebuild
states of volumes unless an explicit camcontrol rescan was executed.
PR: kern/171650
Reviewed by: scottl@freebsd.org
Obtained from: Yahoo! Inc.
MFC after: 2 weeks
2013-04-05 21:13:39 +00:00
Gleb Smirnoff
b9ce4f67ae
Fix memory leak in coredump().
...
Reviewed by: kib
2013-04-05 20:24:51 +00:00
George V. Neville-Neil
599c412493
Correct the returned message lengths for timeval and bintime control
...
messages (SO_BINTIME, SO_TIMEVAL).
Obtained from: phk
2013-04-05 18:09:43 +00:00
Konstantin Belousov
b887a1555c
If filter of the interrupt event is not null, print it, in addition to
...
the handler address. Add a mark to distinguish between filter and
handler.
Note that the arguments for both filter and handler are same.
Sponsored by: The FreeBSD Foundation
Reviewed by: jhb
MFC after: 1 week
2013-04-05 14:30:51 +00:00
Alexander Motin
0fb832fdf0
Following r241022, replace iteration over the provider list on media events
...
by taking first one and asserting that there is no others.
MFC after: 1 week
2013-04-05 13:11:28 +00:00
Joel Dahl
791a7de998
mdoc: remove superfluous paragraph macro.
2013-04-05 11:42:28 +00:00
Dag-Erling Smørgrav
8ed2b5240c
Upgrade to 1.4.20.
2013-04-05 09:51:31 +00:00
Dag-Erling Smørgrav
b7579f77d1
Minimal subset of the unbound sources.
2013-04-05 09:43:20 +00:00
Andriy Gapon
a77cf1025c
strncmp for boot code: fix an off by one error
...
Before this change strncmp would access and _compare_ n+1 characters
in the case where the first n characters match.
MFC after: 5 days
2013-04-05 09:14:30 +00:00
Adrian Chadd
7598a108ff
Add a new TX power field - it's inteded to be used where low TX power
...
is configured for higher rates (lower than max) but higher TX power
is configured for the lower rates, above the configured cap, to improve
long distance behaviour.
2013-04-05 09:06:39 +00:00
Dag-Erling Smørgrav
697291b66c
Import unbound 1.4.20
2013-04-05 09:06:26 +00:00
Adrian Chadd
9580780191
HAL additions to enable MCI Bluetooth coexistence in the AR9300 HAL.
...
* Add the rest of the missing GPIO output mux types;
* Add in a new debug category;
* And a new MCI btcoex configuration option in ath_hal.ah_config
Obtained from: Qualcomm Atheros
2013-04-05 07:41:47 +00:00
Justin Hibbits
d3d5100b03
Print out DSISR in a fatal DSI trap.
...
Sponsored by:
2013-04-05 04:53:43 +00:00
Adrian Chadd
f98a5a9e9c
Add the basic GPIO pin mapping to the hints file.
...
Tested:
* AP121 board, tested USB/jumpstart LEDs
2013-04-05 02:15:10 +00:00
Adrian Chadd
57735bb975
Implement USB device reset and poweron.
...
Tested:
* Atheros AP131, AR9331 SoC
2013-04-05 02:02:37 +00:00
Adrian Chadd
31e738eea3
Fix AR933x USB support - this needs the same controller initialisation
...
as the AR7242.
Tested:
* Atheros AP121, AR9331
* ZyDas wifi device, and 64MB (yes, ew) USB flash storage
2013-04-05 02:01:05 +00:00
Adrian Chadd
0d788ee602
Add AP121 ethernet / switch PHY support.
...
* arge0 is MII
* arge1 is GMII
* the MDIO bus is on arge1, not arge0
* the default switch config is to have ports 0-3 as the switch group,
with port 4 being an external PHY dedicated to arge0 (ie, 'cpu' port.)
Whilst I'm here, remove unused bits and pieces from the config.
Tested:
* AP121, ping on both arge0 and arge1
* Tested switch port detection using etherswitchcfg
2013-04-05 01:38:13 +00:00
Adrian Chadd
a4c9f7fdbd
Implement the AR933x ethernet support.
...
Obtained from: OpenWRT
2013-04-05 01:35:59 +00:00
Adrian Chadd
345d8465a5
Now that interrupt driven uart IO is working, flip this back on.
2013-04-05 00:26:29 +00:00
Adrian Chadd
5ccb3bf6af
Implement the AR933x interrupt driven UART code.
...
* Enable RX and host interrupts during bus probe/attach
* Disable all interrupts (+ host ISR) during bus detach
* Enable TX DONE interrupt only when we start transmitting; clear it when
we're done.
* The RX/TX FIFO depth is still conjecture on my part. I'll fix this
shortly.
* The TX FIFO interrupt isn't an "empty" interrupt, it's an "almost empty"
interrupt. Sigh. So..
* .. in ar933x_bus_transmit(), wait for the FIFO to drain before
continuing.
I dislike having to wait for the FIFO to drain, alas.
Tested:
* Atheros AP121 board, AR9331 SoC.
TODO:
* RX/TX overflow, RX error, BREAK support, etc.
* Figure out the true RX/TX FIFO depth.
2013-04-05 00:26:06 +00:00
Adrian Chadd
0580abc578
AR9330/AR9331 also needs to ACK the APB interrupt register, same as
...
AR724x.
This fixes 'stuck interrupt' problems I was having when writing the
uart interrupt code.
2013-04-05 00:22:53 +00:00
Adrian Chadd
9db1d995c5
* Add AR9330/AR9331 to the soc identifier enum;
...
* Set it when probing the CPU type.
2013-04-05 00:22:17 +00:00
Adrian Chadd
573a9a7743
Use geom_uncompress here; we need this to fit in a 4MB flash part.
2013-04-05 00:21:17 +00:00
Steven Hartland
1146874aec
Adds security options to camcontrol this includes the ability to secure erase
...
disks such as SSD's
Adds the ability to run ATA commands via the SCSI ATA Pass-Through(16) comand
Reviewed by: mav
Approved by: pjd (mentor)
MFC after: 2 weeks
2013-04-04 23:19:51 +00:00
William Grzybowski
6678108f37
Add myself as a ports committer and my mentor relationship.
...
While in the repository, add myself to calendar.freebsd.
Approved by: jpaetzel (mentor)
2013-04-04 23:11:56 +00:00