Commit Graph

31089 Commits

Author SHA1 Message Date
joerg
9c3fd52490 Introduce GENASSYM_CPPFLAGS for options during genassym processing.
Consistently drop assembler flags.
2014-03-04 14:58:14 +00:00
maxv
38b6f18cc1 Some {} are missing. The behavior is thus wrong: the code always jumps to
out1.

Spotted by my code scanner.

ok christos@
2014-03-01 16:59:41 +00:00
martin
6d58fa4dae regen 2014-02-28 11:54:47 +00:00
martin
7c26e72b98 Add moschip 7810 and 7820 usb serial devices 2014-02-28 11:52:09 +00:00
skrll
dd7bb1e0a8 G/C sys/simplelock.h includes 2014-02-28 10:16:51 +00:00
matt
719c5677a8 Use %zu for size_t 2014-02-28 05:55:23 +00:00
joerg
3f55e880e2 Remove impossible checks. 2014-02-27 01:30:42 +00:00
ozaki-r
b09f1c590a Regen. 2014-02-26 04:31:29 +00:00
ozaki-r
bc17336a32 Add Micrel PHY (KSZ9021RN)
The new driver micphy is almost same as ukphy except that
micphy has a fixup for cpsw; a PHY with cpsw has to adjust
RGMII signal timing.

Reviewed by christos@
2014-02-26 04:13:44 +00:00
rkujawa
21a43d7204 Add preliminary driver for Microchip MCP48x1 family of DACs.
Needs more testing and an appropriate API for such (non-audio) DACs. For now
one can set the output value using sysctl node. Also sysmon(4) will conveniently
report the voltage on Vout pin of the DAC. Note that this is not an actual
measured voltage, but merely calculated using equation from datasheet. Real
voltage might be different and depend on analog circuitry attached to the DAC.
2014-02-25 20:09:37 +00:00
pooka
4f6fb3bf35 Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before
the sysctl link sets are processed, and remove redundancy.

Shaves >13kB off of an amd64 GENERIC, not to mention >1k duplicate
lines of code.
2014-02-25 18:30:08 +00:00
jmcneill
247be8a184 - Only enable AHCI mode if it is not already enabled.
- Add support for capturing initial CAP/CAP2/PI regs before reset (and
  restoring them afterwords)
- Add optional callbacks for channel_start / channel_stop.
2014-02-24 12:19:05 +00:00
skrll
6d3ceb1d61 Rename NetBSD/hp700 to NetBSD/hppa.
Unfortunately our VCS isn't very helpful here.
2014-02-24 07:23:38 +00:00
christos
dabffed6fd use aprint. 2014-02-23 15:29:11 +00:00
skrll
eaf4153f13 Update a comment 2014-02-23 13:22:32 +00:00
jdc
ad1bbf54eb Add tsciic (alpha MI). 2014-02-21 12:24:52 +00:00
christos
7d843710ef PR/48606: Lloyd Parkes: Drivers not using ifp->if_input but using ether_input
directly.
2014-02-21 02:10:40 +00:00
jdc
28d753f27a (Belatedly) add lmenv. 2014-02-20 19:47:19 +00:00
joerg
270ca8fe9d Call memset in a loop, not loop around doing nothing and calling memset
once.
2014-02-20 02:09:28 +00:00
joerg
e0fae092b6 Mark radeonfb_unclip as unused. 2014-02-20 01:41:28 +00:00
macallan
fd88e559d9 if MMIO is allowed and available, prefer it over PIO
now my ADPT,2930CU works again
2014-02-18 12:32:12 +00:00
kiyohara
6b4fc78c12 More delay() for some drives. 2014-02-17 13:41:20 +00:00
skrll
fa1f86b552 Re-establish the default pipe after the initial reading of the device
descriptor.

This fixes usbd_new_device so that there is no really need to touch
QHs/EDs in [eo]hci_device_request.

KASSERT the address and maximum packet length now.
2014-02-17 07:34:21 +00:00
kiyohara
a676b54c95 Add MARVELL_TAG_DDR3_CS[0-3] for latest SoC. 2014-02-17 04:52:44 +00:00
christos
7d2bde72e3 move default last, add symbolic mask. 2014-02-16 16:13:37 +00:00
christos
61a22794fc whitespace police 2014-02-16 16:10:27 +00:00
nonaka
aa143675c7 Remove duplicated comment. 2014-02-16 08:18:28 +00:00
nonaka
0db1178fa9 Use INFRA not ADHOC when opmode is M_STA. 2014-02-16 08:17:43 +00:00
njoly
aebb6d294a Regen for GeForce 210 High Definition Audio Controller. 2014-02-14 13:25:19 +00:00
njoly
593b2512cf Add GeForce 210 High Definition Audio Controller. 2014-02-14 13:24:46 +00:00
christos
17b8640365 regen 2014-02-14 04:22:13 +00:00
christos
3c0f6b456c Add the 4G part of my modem, no driver yet. 2014-02-14 04:20:43 +00:00
christos
28e311e50e ibss and hostap support from stsp @ openbsd. 2014-02-14 04:17:41 +00:00
njoly
3541adf977 Remove a few noisy debug printf. 2014-02-09 12:27:37 +00:00
msaitoh
62342f9d4d s/mesage/message/ 2014-02-07 11:51:00 +00:00
msaitoh
ab7eb80a2f USE PCI_BAR[0-5]. Part of PR#48016. 2014-02-06 15:51:02 +00:00
msaitoh
3443d04260 Carefully set IFF_OACTIVE in mvgbe_start(). Even if mvgbe_encap()
returns other than 0, the TX ring might not full. Check whether
the TX ring has one or more packets. If the ring is empty,
dont' set IFF_OACTIVE because an TX complete interrupt never
occur and IFF_OACTIVE flags is left. The interface's timer
isn't reset, so a device timeout desn't occur.

 Fixes a bug that IFF_OACTIVE flag is left on heavy load.
Part of PR#48568.
2014-02-03 05:56:23 +00:00
ryo
cdba191304 fix a problem to set sample rate of AC97 codec. 2014-01-31 08:38:13 +00:00
martin
666d626222 Remove an unused variable 2014-01-28 19:26:32 +00:00
skrll
9383ba91b4 Support the OHCI in the NS "SUPERIO" chip as found in hppa machines by
twiddling the same bits as Linux.
2014-01-28 17:24:42 +00:00
martin
b0bca94549 Initialize a variable earlier, so it is not used unitialized in an
error path.
2014-01-28 13:43:33 +00:00
martin
8317b16e13 Quell maybe-uninitialized false positives from gcc 4.8 2014-01-28 13:08:13 +00:00
martin
4fbda0199d Remove an unused variable 2014-01-28 12:18:56 +00:00
macallan
b8193831a7 back out 1.35 since it completely breaks the mechanism for wsdisplay drivers
to determine wether to become console or not.
See http://mail-index.netbsd.org/tech-kern/2014/01/15/msg016421.html
for fixing this properly.
2014-01-27 13:22:55 +00:00
bouyer
8dfb7255af Complete WSDISPLAYIO_SMODE/WSDISPLAYIO_GMODE support.
In sisfb_mmap(), allow mapping the framebuffer and mmio and io registers
when in WSDISPLAYIO_MODE_MAPPED mode. This can be used by X11.
2014-01-26 21:22:49 +00:00
msaitoh
e4bf50ce42 PUCCN improvements:
- Fix a bug that the puc cn mechanism doesn't use the UART's frequency
   in pucdata.c's table.

 - Add a new option PUC_CNAUTO. If this option is set, consinit() in
   x86/x86/consinit.c checks puc com device to use it as console.
   Without this option, the behavior is the same as before.

 - Add a new config parameter PUC_CNBUS. The old code scans bus #0 only.
   If PUC_CNBUS is set, the specified number's bus will be scanned.

 - Rename comcnprobe() to puc_cnprobe() to make it clear.

 - Rename comcninit() to puc_cninit() to make it clear.

 - Add code for a device that a device's com register is MMIO (#if0 ed).
2014-01-26 10:54:24 +00:00
msaitoh
5c387a0674 Add some OXPCIe952 devices. 2014-01-26 10:20:20 +00:00
msaitoh
0c05a8b018 Regen. 2014-01-26 10:19:37 +00:00
msaitoh
94c3cf1ae4 Add some OXPCIe952 devices. 2014-01-26 10:19:07 +00:00
christos
f5fe8e85e2 fix unused 2014-01-25 21:11:20 +00:00