mrg
387c0717d0
move some variables inside their #ifdef use.
2013-11-06 06:20:12 +00:00
christos
eccd15917a
mark variables __diagused
2013-11-04 16:54:56 +00:00
christos
3b9ca5acee
mark a variable __diagused
2013-11-04 16:54:36 +00:00
christos
558707015c
remove unused code
2013-11-04 16:54:12 +00:00
christos
640f6a744a
use __USE for debug variable
2013-11-04 16:53:52 +00:00
christos
c67ff701e3
use __USE
2013-11-04 16:53:35 +00:00
christos
188063a297
add __USE() for unused volatile variables, so that we generate the same code.
2013-11-04 16:53:09 +00:00
jdc
1f29035404
Add missing braces.
...
Fix logic error - check the data read from the chip against 0xff.
2013-11-04 15:06:26 +00:00
skrll
aee6f54b76
PR/48366 Always zero the allocated memory in xhci_alloc, not just in
...
DIAGNOSTIC.
2013-11-04 08:08:58 +00:00
gson
549d91253b
Turn the "esiop_intr: I shouldn't be there !" panic into a printf
...
followed by a return from the interrupt handler. The condition is
triggered on some KVM virtual hosts, apparently harmlessly, and not
panicing makes it possible to boot a NetBSD GENERIC kernel on those
hosts. Also make the same change to siop to minimize divergence
between siop and esiop. Fixes PR kern/48277.
2013-11-02 13:59:14 +00:00
christos
ad1d4a6684
sprinke __diagused
2013-11-02 00:37:12 +00:00
christos
467dcff180
fix type in comparison
2013-11-01 17:09:00 +00:00
skrll
c76543cbe5
Style.
2013-11-01 15:33:48 +00:00
skrll
41d476cc49
DOTG is dead. Long live DWC2.
2013-11-01 14:32:54 +00:00
skrll
7091ca2edf
Clean up (mostly remove unneeded) #includes
2013-11-01 14:24:03 +00:00
msaitoh
263db65164
Add 40bit DMA bug workaround(BGEF_40BIT_BUG) from FreeBSD (part of r199670).
...
This workaround is for 5714/5715 controllers and is not actually a MAC
controller bug but an issue with the embedded PCIe to PCI-X bridge in the
device.
This change uses bus_dmatag_subregion(), so this workaround won't work on some
archs which doesn't support bus_dmatag_subregion().
2013-10-31 06:01:39 +00:00
msaitoh
0c2f7a3b5c
Cleanup flag setting. No functional change.
...
- Split flags into bge_flags and bge_phy_flags.
- Rename flags. PHY related flags are prefixed with BGEPHYF_*.
Other flags are prefixed with BGEF_*.
2013-10-31 04:26:40 +00:00
drochner
7ab7c82097
play the addref/delref game on suspend, prevents crash if the disk/CF Card
...
is eg. in a PCMCIA adapter and not mounted
2013-10-30 15:41:14 +00:00
drochner
958a129dbd
-recognize CF cards by the magic value in inquiry data
...
-kill CFG_ATAPI_MASK, didn't see anything in the specs supporting
that it exists
2013-10-30 15:37:49 +00:00
gson
69b89ed80e
Fix incorrect function names in panic message strings.
2013-10-30 08:40:32 +00:00
joerg
7f2bf59542
Remove bogus cast. The LHS type is smaller, so let the compiler decide
...
on the correct (unsigned type).
2013-10-29 16:10:49 +00:00
matt
9956a67591
Add support for scratchpad buffers (required for some XHCI devices).
...
Fix an endian issue.
2013-10-28 17:49:33 +00:00
matt
227e504480
Add an explicit initialization of .new_device = NULL
2013-10-28 17:40:43 +00:00
rkujawa
94950b3125
Fix name of sysctl setup function.
2013-10-28 11:24:08 +00:00
msaitoh
66aec3e6de
Set maximum read byte count to 2048 for PCI-X BCM5703/5704 devices.
...
For PCI-X BCM5704, set maximum outstanding split transactions to 0.
Same as Linux tg3 and FreeBSD (part of FreeBSD r204978).
2013-10-28 05:37:24 +00:00
rmind
81bbd836c9
regen usbdevs
2013-10-27 17:12:28 +00:00
rmind
122667cde7
usbdevs: add an entry for external WD disk.
2013-10-27 16:59:46 +00:00
jdc
9297225925
A fan reading of 0xff is also invalid (observed on AlphaServer DS20L).
2013-10-26 18:28:15 +00:00
rkujawa
61e65effad
Add support for M25P16, tested on Raspberry PI with Digilent PmodSF.
2013-10-26 15:18:21 +00:00
nonaka
87abaea977
Add driver for ASIX AX88178a and AX88179 Ethernet interface.
...
Ported from OpenBSD.
2013-10-26 09:16:19 +00:00
martin
6baf7d3b60
Remove unused stuff
2013-10-25 21:29:28 +00:00
martin
1e0cbe687d
Consistently ifdef a variable and all uses
2013-10-25 20:55:24 +00:00
martin
b083a17f72
Mark a diagnostic-only variable
2013-10-25 16:01:56 +00:00
martin
8dbedcfe3b
Eliminate unused variables
2013-10-25 16:00:35 +00:00
martin
fdb336ca74
Fix dmamap cleanup in an error path
2013-10-25 15:42:50 +00:00
martin
a436874e64
Eliminate unused variable
2013-10-25 15:11:32 +00:00
jdc
71885a597a
Add "i2c-at34c02" AT34C02 EEPROM. This is compatible with the AT24C02
...
EEPROM, apart from software write protection (not supported in our driver).
2013-10-25 14:32:10 +00:00
jdc
2b2120bf58
Allow the EEPROM size to be specified in the kernel configuration by
...
using flags.
Add the flags values, and configuration examples to the manual page.
2013-10-25 14:23:15 +00:00
martin
6a2419fedf
Turn a few __unused into __diagused
2013-10-25 11:35:55 +00:00
martin
f8504bab3a
Fix a few copy&pastos in an error path
2013-10-24 13:15:12 +00:00
macallan
e38d75e128
fix copyright year
2013-10-23 13:15:47 +00:00
macallan
76ebfeb64c
minor cleanup:
...
- don't map more PCI space than we have video memory
- clarify some comments
2013-10-23 09:28:06 +00:00
skrll
c85bd522c9
Add athn(4)
2013-10-23 08:38:12 +00:00
skrll
5abc6aa5b7
Avoid "declaration of 'delay' shadows a global declaration" by renaming
...
the local variable.
2013-10-22 13:04:25 +00:00
htodd
570be5cd9c
Fix build for missing chip.
2013-10-22 01:01:27 +00:00
mbalmer
8265a3f32b
chip unused variable; let the system build again
2013-10-21 17:47:28 +00:00
christos
f91ccc401b
remove DIAGNOSTIC ifdef in preparation of a KASSERT that consumes its
...
arguments
2013-10-21 15:13:09 +00:00
christos
0d211931ed
fix unused variable warnings
2013-10-20 21:13:15 +00:00
christos
d78c7d418c
2 splbios in a row does not make sense. make the second one splx.
2013-10-20 21:11:15 +00:00
christos
c6228f4c9e
move debugging code inside ifdef debug
2013-10-20 21:06:09 +00:00
christos
e5cfe5de85
remove unused
2013-10-20 17:13:18 +00:00
mlelstv
d1d75e65f1
add Ricoh MMC reader
2013-10-19 22:45:12 +00:00
mrg
923e17fd1b
use __USE() where appropriate.
2013-10-19 21:01:39 +00:00
mrg
41e6463624
- remove set but unused variable.
...
- put variables only inside #ifdef inside that same #ifdef.
use __USE() where appropriate.
2013-10-19 21:00:32 +00:00
martin
4fc0fb89a3
Mark a potentially unused variable
2013-10-19 19:10:12 +00:00
christos
0fbaa47180
remove unused variables
2013-10-18 19:56:30 +00:00
christos
12ef409576
move compat var in compat code.
2013-10-18 19:54:56 +00:00
jdc
2d66d2af12
Remove extraneous printf().
2013-10-18 15:16:08 +00:00
apb
61a24e509e
Wrap several unused static inline functions with #if 0.
...
I didn't delete them because I suspect that they might be needed later.
2013-10-18 08:39:22 +00:00
skrll
f4f9bf4df7
Wrap some long lines.
2013-10-18 08:35:24 +00:00
apb
f07170b2ba
Don't refer to uninitialised variable 'v'
...
in case C(UR_GET_DESCRIPTOR, UT_READ_CLASS_DEVICE)
in xhci_root_ctrl_start().
This code was apparently pasted from the ehci driver.
OK nick.
2013-10-18 08:25:49 +00:00
apb
5fbd295117
Delete unused function
...
static inline void egprintstat(u_char);
2013-10-18 08:09:37 +00:00
christos
b787afbfb6
- remove unused variables
...
- move variables inside ifdef sections
- ifdef notdef unused code
- use __USE for debugging variables
2013-10-17 21:24:24 +00:00
christos
1f73a688da
remove unused variable
2013-10-17 21:23:05 +00:00
christos
f14031c90e
move notyet variable into notyet section
2013-10-17 21:22:28 +00:00
christos
abf8e02e90
add __USE for debugging variables
2013-10-17 21:22:01 +00:00
christos
3abacce2d8
- remove unused variables
...
- moved debugging variable into debugging ifdef
2013-10-17 21:20:10 +00:00
christos
e794833e32
remove unused variables
2013-10-17 21:19:40 +00:00
christos
6888745cca
remove unused variable
2013-10-17 21:18:43 +00:00
christos
cafe8b9a3c
remove unused variables and __USE a debugging variable
2013-10-17 21:16:12 +00:00
christos
415c6c7ed0
- remove unused variables
...
- move ifdef variables inside ifdef sections
2013-10-17 21:07:37 +00:00
christos
c26593e016
remove unused variable
2013-10-17 21:06:47 +00:00
christos
d64c5a360b
- remove unused variables
...
- move debugging code inside debugging sections
2013-10-17 21:06:15 +00:00
christos
dc3a4b222f
__USE a debugging var
2013-10-17 21:05:41 +00:00
christos
079ec927b9
use __USE()
2013-10-16 19:32:30 +00:00
christos
6c759efc9f
fix incorrect variable use.
...
remove unused variable
2013-10-16 18:55:31 +00:00
christos
02d585e944
remove unused variable
2013-10-16 18:23:39 +00:00
christos
f4ea80ed27
remove unused variables.
2013-10-16 18:20:16 +00:00
christos
389569be36
use variables that are only used in debugging.
2013-10-16 18:18:54 +00:00
christos
23c9dab085
move debugging code inside debugging ifdef.
2013-10-16 18:13:00 +00:00
christos
2f6d5191bb
move all the unused stuff to ifdef notyet
2013-10-16 17:43:33 +00:00
christos
5db9fd6992
add missing ifdefs
2013-10-16 17:40:55 +00:00
christos
62d51ff27c
- use proper types (uint16_t instead of uint32_t)
...
- don't index past the end of arrays
- use __arraycount() consistently instead of manual cruft.
- remove useless cast
2013-10-16 17:39:09 +00:00
christos
83c3d19b88
print a warning if we failed.
2013-10-16 17:31:28 +00:00
christos
5d72dee0e3
remove unused variable
2013-10-16 17:30:42 +00:00
skrll
7339e2581d
Apply patch from PR/48310 - kue(4) cannot receive multicast packets.
2013-10-16 07:34:20 +00:00
jdc
255c74a79f
Add lmenv to the configuration framework.
2013-10-15 19:13:32 +00:00
jdc
98357f913f
Add a driver for the LM81, LM87, and compatible iic hardware monitors
...
(lmenv). Ported from OpenBSD's lm87.c, revision 1.20.
2013-10-15 19:12:41 +00:00
skrll
550cac20b5
Remove dotg(4) as it's been replaced by dwctwo(4).
2013-10-15 15:13:17 +00:00
rkujawa
2bfecaf3cd
Add forgotten register definitions for previous commit.
2013-10-15 13:43:51 +00:00
rkujawa
2c5d1a916c
Add sysctl knobs to set temperature limit and hysteresis. Reaching the limit
...
causes alert line of the chip to be asserted. These limits could be tied to
critical limit set in envsys, but it's more versatile to keep it as separate
value.
2013-10-15 13:42:52 +00:00
rkujawa
f89444f722
Simplify sysctl handling.
2013-10-15 10:27:55 +00:00
rkujawa
3915797645
Clean up register read and write functions, add functions for 8-bit read and
...
write (needed to access config register). Add sysctl knob to set resolution
from user space.
2013-10-15 10:18:49 +00:00
skrll
1de4b24980
Handle an error from uhidev_get_report in ucycom_get_cfg
2013-10-14 18:15:12 +00:00
riz
6ec333eb37
Catch up to recent changes in config_pending_{incr,decr}().
2013-10-13 06:55:34 +00:00
christos
977d05954e
make the driver able to send scsi commands; now the disks are found.
...
it was converted incorrectly to device_t.
2013-10-13 04:24:21 +00:00
christos
fcf88edc55
adjust for recent deferred changes.
2013-10-12 21:11:42 +00:00
christos
6b629de220
- add 64 bit fifo support
...
- handle fibrilation better
2013-10-12 16:52:21 +00:00
christos
11beb626a3
Pass the device name in, so we can debug what deferred drivers did not work.
2013-10-12 16:49:00 +00:00
macallan
da28d6ec38
support WSDISPLAYIO_GET_FBINFO
2013-10-09 17:18:23 +00:00
macallan
ddf795fb36
some cleanup:
...
- use macros to shorten a while lot of bus_space_write_4() lines
- update some comments
- remove debug goop and cargo culted leftovers
2013-10-09 12:03:29 +00:00
macallan
433c97e823
add hardware acceleration
...
For now this supports only GeForce2 MX cards but most NV1x chips should work
once their PCI iDs are added to gffb_match()
Tested only on macppc.
2013-10-09 01:28:33 +00:00
jakllsch
042369cda8
Drop trailing whitespace.
2013-10-07 19:53:05 +00:00
jakllsch
e32de526f8
Use the universal pciide_detach() for detach function of all remaining
...
pciide-core drivers, except pciide at pnpbios which isn't actually PCI.
2013-10-07 19:51:55 +00:00
jakllsch
fb7ab073c5
Remove unused structure.
2013-10-07 19:37:24 +00:00
jnemeth
de9c4809eb
regen
2013-10-05 22:01:12 +00:00
jnemeth
b412ddd3f1
add Keyspan USA-19H serial adapter
2013-10-05 22:00:28 +00:00
skrll
33e736ad8f
Trailing whitespace.
2013-10-05 07:05:01 +00:00
joerg
6542340a9b
Move an assert to the point where the referenced variable is initialized.
2013-10-04 21:10:18 +00:00
skrll
b2beb0e096
Small KNF
2013-10-04 12:47:04 +00:00
skrll
b670389add
Update a comment. Thanks mrg@
2013-10-03 19:04:00 +00:00
kiyohara
b1b7c6a2ff
Revirt 'Move the Marvell extension to com_mv.c' at Sun Sep 1 04:51:24 UTC 2013.
...
build test only.
2013-10-03 13:23:03 +00:00
skrll
7ca9d70d59
Remove incorrect KASSERT.
2013-10-03 13:19:24 +00:00
skrll
649604f70f
Simply the code now that all (real) HCDs provide a get_lock method.
2013-10-03 07:35:37 +00:00
skrll
388c8fd109
LOCKDEBUG doesn't imply DIAGNOSTIC. duh.
2013-10-02 23:27:50 +00:00
skrll
1b2c36c1be
Fix a KASSERT - how did that sneak in?
2013-10-02 23:24:58 +00:00
skrll
d048cc6a61
Remove harmless paste error.
2013-10-02 23:09:39 +00:00
skrll
08afd97c38
Modernise slhci. Many thanks to rkujawa@ for testing.
2013-10-02 22:55:04 +00:00
macallan
50c2794d8e
one step closer to graphics acceleration:
...
- probe and report actual amount of video memory
- add DMA machinery to feed commands to the graphics processor
- adapt a whole bunch of magic number initialization from xf86-video-nv, now
the chip actually reads commands from a buffer in video memory
2013-10-02 16:35:38 +00:00
macallan
1cdb87f75a
add a bunch more constants from xf86-video-nv
2013-10-02 16:32:40 +00:00
skrll
de40f7e3ac
Really dump all by calling uhci_dump_qhs and not uhci_dump_qh
2013-09-29 07:28:20 +00:00
skrll
ab3caea167
PR/48251: usmsc cannot change link address
...
Use CLLADDR appropriately.
2013-09-29 07:25:53 +00:00
skrll
36b20552e1
Remove unnecessary initialisation of error
2013-09-28 09:01:36 +00:00
skrll
0591a04731
Don't return EPASSTHROUGH when succeeding in ODIOCGDINFO or ODIOCGDEFLABEL
2013-09-28 09:00:26 +00:00
kiyohara
19eccf3fb5
Change address/size of CESA Registers.
2013-09-28 05:46:51 +00:00
kiyohara
b1438b0a3a
Add ARMADAXP IDs.
2013-09-28 05:39:06 +00:00
kiyohara
5c651e5b37
Add ARMADAXP MV78{13,16,23,26}0.
2013-09-28 05:37:31 +00:00
skrll
a0e66c725f
Don't call mutex_spin_exit on already released lock.
2013-09-27 13:34:48 +00:00
kiyohara
e7fba601e4
Reset variable error to 0 before handle each ioctl cmd. Or returns EPASSTHROUGH
...
when some cmds. (e.g. ODIOCGDINFO)
2013-09-26 16:00:54 +00:00
skrll
dd95bb72ed
Remove the usbd_do_request_async_cb prototype. This was missed from the
...
previous commit.
2013-09-26 10:31:02 +00:00
skrll
9b7b8d7c22
Remove usbd_do_request_async. It's callback was calling usbd_free_xfer
...
from softint context.
Adjust callers appropriately
- usbd_clear_endpoint_stall_async is already triggered via a
usb_task, so simply call usbd_do_request.
- uhidev_set_report_async had one caller in ukbd_set_leds.
Convert this usage to use usb_task as well.
Discussed with mrg@
2013-09-26 07:25:31 +00:00
martin
f72123316b
Avoid using unmaped PCI registers. From Wolfgang Stukenbrock in
...
PR kern/48236.
2013-09-25 18:54:48 +00:00
riastradh
db4eba3c26
Fix spurious kassert on interrupted blocking read from /dev/random.
...
Return EINTR in this case instead. While here, clarify comment.
Fixes PR kern/48119, simpler than the patch attached there, per
discussion with tls@, who had this right in the earlier version
of rndpseudo.c before I broke it (oops!).
2013-09-25 03:14:55 +00:00
jdc
a2f66b838f
Add a property "i2c-indirect-config" to allow/disallow i2c indirect config.
...
If missing, "allowed" is assumed. Set it to false for OFW machines.
Patch from martin@. Removes erroneous i2c probe messages that appeared with
wildcard support.
2013-09-24 18:04:53 +00:00
skrll
b49ab982a0
KNF a comment.
2013-09-23 11:27:45 +00:00
skrll
b29ca662f2
Typo
2013-09-23 10:46:35 +00:00
adam
d7234fa6d6
Removed duplicated lines introduced in version 1.36.
2013-09-22 09:21:56 +00:00
skrll
8e25958112
Remove all trailing whitespace
2013-09-22 06:54:35 +00:00
skrll
dcba2b9f1e
Remove trailing whitespace.
2013-09-22 06:52:11 +00:00
macallan
e90dd473e5
a preliminary driver for nvidia geforce graphics chips
...
so far it only supports the GeForce 2MX, tested on macppc only
no acceleration yet, just some DAC setup
the main advantage over genfb is that this driver knows how to setup the
palette registers for the 2nd output
2013-09-18 14:30:45 +00:00
martin
54a1f468e1
Fix botch in previous
2013-09-15 19:27:22 +00:00
martin
bff32430d6
Remove unused variable
2013-09-15 16:12:00 +00:00
martin
30e0cf1ad8
Mark a potentially unused variable
2013-09-15 16:10:45 +00:00
martin
4dc1fa2759
Mark potentially unused variables
2013-09-15 16:08:28 +00:00
martin
7dbdb14bec
Remove unused variable
2013-09-15 15:57:26 +00:00
martin
e3d7ae4a6e
Mark potentially unused variables
2013-09-15 15:56:07 +00:00
martin
744d947a38
Remove unused variables
2013-09-15 15:49:38 +00:00
martin
4bb23a02ca
Remove unused variable
2013-09-15 15:47:27 +00:00
martin
659c5d63ed
Avoid unused variable warnings
2013-09-15 15:46:33 +00:00
martin
552e97dc1b
ifdef variable like their use
2013-09-15 15:44:53 +00:00
martin
b0ec4b1798
Remove unused variable
2013-09-15 15:43:20 +00:00
martin
e318f27f06
Remove unused variable
2013-09-15 15:33:47 +00:00
martin
d78264e0ce
Remove unused variable
2013-09-15 15:07:06 +00:00
martin
83963d1262
Mark a potentially unused variable
2013-09-15 15:06:04 +00:00
martin
3aa21812fb
Avoid unused variable warnings
2013-09-15 15:04:47 +00:00
martin
784bc5dff6
Remove unused variable
2013-09-15 15:00:57 +00:00
martin
e20775b847
Comment out unused variable
2013-09-15 14:58:32 +00:00
martin
7a86b34811
Remove unused variables
2013-09-15 14:53:03 +00:00
martin
3c7c27640e
Remove unused variable
2013-09-15 14:40:56 +00:00
martin
10b6e2f5f6
Remove unused variables
2013-09-15 14:13:19 +00:00
martin
10c5b4d905
Remove unused variable
2013-09-15 14:08:25 +00:00
martin
e67f4be258
Remove unused variables
2013-09-15 14:04:04 +00:00
martin
9adbfe7459
Remove unused variable/ifdef like use
2013-09-15 13:56:27 +00:00
martin
303dfad990
Remove unused variable
2013-09-15 13:53:51 +00:00
martin
fc72d19c3b
Remove unused variables
2013-09-15 13:52:23 +00:00
martin
d41f208f21
Comment out unused variables
2013-09-15 13:49:25 +00:00
martin
36785db5ca
Remove unused variables
2013-09-15 13:43:20 +00:00
martin
7475dd1c49
Mark a variable as potentially unused
2013-09-15 12:48:58 +00:00
martin
7767bb676f
Mark variables as potentially unused
2013-09-15 12:47:26 +00:00
martin
ea052e4f7d
ifdef variables like their use
2013-09-15 12:45:11 +00:00
martin
e4352b8fe2
Avoid unused variable warnings
2013-09-15 12:44:03 +00:00
martin
69805129e2
Move variables into the same ifdef as their use
2013-09-15 12:41:17 +00:00
martin
22bce1acb1
Remove unused variables
2013-09-15 12:23:06 +00:00
martin
6e3da39483
Remove/ifdef unused variables
2013-09-15 12:20:28 +00:00
martin
f3b0d9f7c2
Remove unused variable
2013-09-15 12:13:56 +00:00
martin
968b8d80df
Remove unused variables
2013-09-15 12:11:16 +00:00
martin
7d84161930
When we do not compile in the RF_ASSERT-ion code, still "use" the expression,
...
so the compiler does not warn about unused things.
2013-09-15 12:06:50 +00:00
martin
799fb422ad
Remove unused variables
2013-09-15 09:41:55 +00:00
martin
7c59522dbb
Remove unused variable
2013-09-15 09:38:28 +00:00
martin
acd43207e9
Remove an unused variable
2013-09-15 09:37:14 +00:00
martin
16b91fba9b
Comment out (but leave for documentation purposes) a variable.
2013-09-15 09:36:02 +00:00
martin
bf70aaf45d
Remove/comment out unused variables, initialize a few others.
2013-09-15 09:34:07 +00:00
martin
067d856d0f
Mark a variable as potentially unused
2013-09-15 09:26:39 +00:00
martin
eb6986a1b3
Cosemetically "fix" the pckbd_attach() return value, so gcc can see the
...
value is used (no functional change)
2013-09-15 09:24:05 +00:00
martin
718d1cea91
Remove unused variable
2013-09-15 09:21:21 +00:00
martin
edb14f3639
Comment out a currently unused variable, but leave it around for debug/
...
documentation purposes.
2013-09-15 09:19:52 +00:00
martin
c5a45ee2fa
Remove unused variable
2013-09-15 09:17:28 +00:00
martin
791816e3d3
Remove an unused variable, silence a few unused warnings
2013-09-15 09:16:21 +00:00
martin
85f88d487f
Fix detach return value
2013-09-14 21:52:49 +00:00
martin
6e9fb02d07
Comment out a variable only used in #if 0 code
2013-09-14 21:06:50 +00:00
martin
83301d9000
Quell a few "unused variable" warnings (where the variables are generated
...
by macros)
2013-09-14 21:02:36 +00:00
soren
0f214788e7
Regen.
2013-09-14 20:29:54 +00:00
soren
c96fc5fa49
Add ASIX AX88179 USB 3.0 ethernet controllers.
2013-09-14 20:28:15 +00:00
soren
3f57e92e28
Update some AMD/ATI chipset names.
...
Add Renesas USB 3.0 controllers.
2013-09-14 20:26:51 +00:00
jakllsch
79ce8a4c50
Allow USB_DEVICEINFO on address 0. Needed for the xhci(4) root hub device.
2013-09-14 14:06:40 +00:00
joerg
5ff8dcf375
Put UREAD4 under UHCI_DEBUG
2013-09-14 13:17:21 +00:00
joerg
d81879eb4a
Conditionalize udl_draw_line_comp and udl_cmp_add_buf_comp
2013-09-14 13:15:53 +00:00
joerg
f01301bfd3
GC OREAD1 and OREAD2
2013-09-14 13:13:59 +00:00
joerg
68615879ca
GC pcmcia_sierra_ac850_func0 and *cfe0
2013-09-14 13:13:33 +00:00
joerg
b3c54e40b7
GC wc_rdreg and wc_rdchctl
2013-09-14 13:12:41 +00:00
joerg
b3e3b5bdf9
Comment out twa_error_table, but keep it around for documentation
...
purposes.
2013-09-14 13:12:03 +00:00
joerg
d8c7c44423
Conditionalize iwn_memwrite_2 and friends under !IEEE80211_NO_HT.
2013-09-14 13:11:31 +00:00
joerg
595c128a0c
Don't include atw_hw_decrypted, it is not used. Keep it for
...
documentation purposes.
2013-09-14 13:10:25 +00:00
joerg
3c04b03b1b
GC unused functions and variables.
2013-09-14 13:09:55 +00:00
joerg
e52dd40ecb
Put helper functions for debugging under the corresponding debug
...
options.
2013-09-14 13:09:18 +00:00
joerg
fc6d69fab6
#if 0 iop_status, but keep it for documentation purposes.
2013-09-14 13:08:31 +00:00
martin
57bfdd2d7c
Remove unused variable
2013-09-14 12:44:17 +00:00
martin
8e35e63ef9
Remove unused variables, use C99 open arrays for variable sized arrays
2013-09-14 12:43:08 +00:00
jakllsch
fd0968d755
Add work-in-progress xhci(4) driver code. Currently (mostly) supports
...
interrupt-driven control, interrupt and bulk transfers at the three USB
2.0 speeds on root hub ports.
2013-09-14 00:40:31 +00:00
jakllsch
f6ecf6bbf1
Establish host controller softint earlier, in usb_attach rather than
...
usb_doattach.
2013-09-13 23:42:12 +00:00
jakllsch
0a3b13c912
A few more USB 3.0 constants.
2013-09-13 23:30:47 +00:00
joerg
7caa2608fa
GC flash_get_part_offset.
2013-09-13 22:18:42 +00:00
martin
37d31ef47e
Remove unused variables
2013-09-13 21:22:10 +00:00
martin
794e1b020b
Remove unused variable
2013-09-13 21:14:58 +00:00
martin
7dbb5aec6e
#ifdef a variable like their use
2013-09-13 21:13:08 +00:00
martin
57f401bd2e
Remove unused variable
2013-09-13 21:03:04 +00:00
martin
ec66c9343a
Remove unused variables
2013-09-13 20:56:17 +00:00
martin
cac84f0b1c
#ifdef variable declarations/initializations like their use
2013-09-13 20:54:14 +00:00
martin
29e13d4a00
Remove unused variable
2013-09-12 21:11:37 +00:00
martin
eb896c6082
#ifdef some variables just like their use
2013-09-12 21:03:11 +00:00
martin
49d78024ae
Remove unused variable
2013-09-12 20:40:46 +00:00
martin
929a512f58
Fix evil "sizeof(void*)" botch
2013-09-12 20:30:58 +00:00
martin
decf386d57
Remove unused variable
2013-09-12 20:20:03 +00:00
martin
444987700c
Make it compilable with gcc 4.8.1
2013-09-12 20:16:51 +00:00
martin
880e9bcab0
Remove unused variable
2013-09-12 19:54:51 +00:00
martin
e0924eeb83
Remove unused variables
2013-09-12 19:53:41 +00:00
martin
fd330ed8ad
Remove unused variable
2013-09-12 19:47:58 +00:00
martin
dffa067438
Remove unused variables
2013-09-12 19:46:31 +00:00
martin
3d788c2346
Eliminate an unused variable - someone with docs and test hardware please
...
check the XXX introduced.
2013-09-12 19:37:19 +00:00
martin
bf471dab7e
Minor tweaks for newer gcc
2013-09-12 12:54:39 +00:00
martin
bee22eb353
Simplify CG6_DRAW() and CG6_BLIT() macros so gcc 4.8.1 does not warn about
...
them - assembler looks good, but Michael, can you please test nevertheless?
2013-09-12 12:42:18 +00:00
martin
822c138d8c
#ifdef variable declarations/initializations like their use
2013-09-12 12:28:49 +00:00
martin
2ef755c84e
Remove unused variables
2013-09-12 12:26:13 +00:00
martin
cd2a35a0c5
#ifdef a few variable declarations/initializations to match their use
2013-09-12 12:22:40 +00:00
martin
3f88fce981
#ifdef the "npress" variable, so it is only defined (and initialized) when
...
it is also used.
2013-09-12 12:20:01 +00:00
martin
97f5cd3b5b
Remove unused variable
2013-09-12 12:10:11 +00:00
martin
ebfd259656
Eliminate (mostly) unused "ostate" variable
2013-09-12 11:42:26 +00:00
martin
a0cc4b1258
Remove unused ppr_able variable.
2013-09-12 11:23:37 +00:00
rkujawa
c7b0c56c96
Preliminary support for MPL115A2 pressure sensor. It works, but accurracy is
...
awful.
I should add presure as a new type of sensor to envsys at some point...
2013-09-08 14:59:42 +00:00
chs
4640275d2a
revert making smc91cxx_idstrs static, it's referenced from
...
sys/dev/isa/if_sm_isa.c
2013-09-08 14:27:39 +00:00
matt
2bf7a125b9
Allow the attachment to override ahci_ports.
...
Keep ACHI_PI cached in the softc.
2013-09-08 11:47:16 +00:00
matt
1efbdaa7a9
If there is only 1 port, don't say "1 ports".
...
Add a debug printf after reading the active ports.
2013-09-08 11:19:47 +00:00
skrll
c03ab98a67
Add sc->sc_bus.use_polling || to a couple of KASSERTs
...
PR/46826
2013-09-08 06:37:23 +00:00
kiyohara
1730fa1769
Fix size of EHCI register space.
2013-09-08 04:10:23 +00:00
msaitoh
10b245faf0
Remove extra debug message.
2013-09-08 03:17:02 +00:00
matt
e6c711a47f
add KASSERT to make sure softints are not NULL
2013-09-07 19:53:24 +00:00
chs
c2a70ce464
apply changes from Robert Sprowson in PR 47765 and PR 47788:
...
- make sure we wait long enough after resetting the chip.
- add the necessary delay after changing the FIFO pointer.
- add a missing interrupt ACK.
- fix padding of short and odd-length packets.
and a few more changes from me:
- do 2-byte writes in most places even if SMC91CXX_NO_BYTE_WRITE
is not defined. the only ones still conditionalized are
writing to the interrupt ack/mask registers.
- the only big-endian front-end of this driver (on mac68k) uses
a bus_space that does all the byte-swapping in that layer,
so remove the explicit byte-swapping in the MI part.
tested on mac68k.
2013-09-07 18:55:29 +00:00
rkujawa
45d149c466
Add forgotten xsh device.
2013-09-07 17:23:55 +00:00
skrll
b8a293f0ef
Some lock comments.
2013-09-07 16:47:23 +00:00
skrll
43ff4efcf0
Typo.
2013-09-07 16:43:48 +00:00