christos
ed5aa85bd1
- Use NODEV instead of 0
...
- Return EBUSY if there was no label
2015-01-02 01:14:22 +00:00
christos
429dd9f14e
these call dk_ioctl, no need to call disk_ioctl anymore.
2015-01-02 01:13:00 +00:00
jmcneill
5c3b4119a4
Enable LDO2 for HDMI driver.
2015-01-02 00:50:56 +00:00
jmcneill
d0e99b54db
Include addr and reg in data sent with rkiic_write, now writes work too.
2015-01-01 22:15:40 +00:00
jmcneill
9c714f62d4
obio_init_gpio: set pin direction to output before writing data
2015-01-01 18:59:03 +00:00
jmcneill
dc49d55319
IT66121 HDMI transmitter GPIO setup
2015-01-01 18:25:52 +00:00
jmcneill
7736c4c7b1
write reg value not target freq in act8846_set_voltage
2015-01-01 17:59:18 +00:00
christos
555c17c325
declare error
2015-01-01 17:46:09 +00:00
jmcneill
2284275e2c
wire down iicN units, add act8846pm at iic1
2015-01-01 17:34:00 +00:00
jmcneill
99d9307398
Add driver for Active-Semi ACT8846 Power Management controller.
2015-01-01 17:33:18 +00:00
hannken
af86340e95
Change rumpfs to vcache.
2015-01-01 16:02:50 +00:00
he
53f679e766
What ISC wraps under ISC_PLATFORM_HAVEXADD appears to be 32-bit
...
atomic adds, and I beleive all our platforms can do that. Therefore,
no need to conditionalize that definition under __HAVE_ATOMIC64_OPS.
2015-01-01 15:28:30 +00:00
jmcneill
79c9d5023f
drop clk rate to 100kHz, explicit register initialization, shift slave addr left 1, add some more debugging, now this works
2015-01-01 15:18:45 +00:00
jmcneill
9d6827c72b
RK3188 I2C iomux init
2015-01-01 13:32:24 +00:00
ozaki-r
0af747000e
Reset the expire time of a cache on receiving a frame for the cache
...
The expire time of a cache in a bridge MAC address table was never reset
once it is initialized regardless of traffic for the cache. The behavior
isn't supposed and active caches are unnecessarily expired and removed.
PR kern/49507
2015-01-01 08:43:26 +00:00
ryoon
b519fbd6e3
cdce(4) supports normal Ethernet adapters.
2015-01-01 08:11:45 +00:00
christos
da9cda45ee
don't shadow div(3)
2015-01-01 04:57:01 +00:00
wiz
e5eb4ee3b8
Welcome to 2015!
2015-01-01 03:21:49 +00:00
mrg
32b977d226
due to hangs seen by several folks, for now revert:
...
http://mail-index.netbsd.org/source-changes/2014/11/04/msg060120.html
Log Message:
This code should be MP-safe. Use IPL_SCHED in place of IPL_DRM/IPL_VM and set
D_MPSAFE flag in cdevsw.
2015-01-01 01:15:42 +00:00
jmcneill
c62041e48d
fix i2c offsets
2014-12-31 23:38:42 +00:00
mlelstv
bbcc69a643
handle unknown values. Also BIF_UNIT is an enum, not a bitmask.
2014-12-31 22:01:01 +00:00
veego
eda61e60a9
Regen
2014-12-31 21:21:41 +00:00
veego
688e6e5395
Add two Intel 9 Series devices
2014-12-31 21:20:23 +00:00
christos
4a751d18af
fix typo
2014-12-31 20:55:53 +00:00
christos
41f392f56e
more unused removal
2014-12-31 20:45:44 +00:00
christos
8fda20886b
remove unused variable
2014-12-31 20:44:46 +00:00
christos
51cd9004b7
pass dev to disk_ioctl
2014-12-31 20:39:07 +00:00
christos
d1cb0983ac
return error
2014-12-31 20:37:52 +00:00
christos
2758cd718c
declare error
2014-12-31 20:37:10 +00:00
christos
df05bb66cc
fix typo
2014-12-31 20:36:20 +00:00
mlelstv
2fbc202964
Retire disk_blocksize().
2014-12-31 20:13:41 +00:00
christos
bac2fca3cf
prototype update.
2014-12-31 20:04:56 +00:00
christos
281c044fc6
Mention which ioctls need to move to dk_ioctl, and don't allow wedges on
...
wedges.
2014-12-31 19:58:59 +00:00
christos
c60db2e923
make more drivers use disk_ioctl, and add a dev parameter to it so that
...
we can merge the "easy" disklabel ioctls to it. Ultimately all this will
go do dk_ioctl once all the drivers have been converted.
2014-12-31 19:52:04 +00:00
christos
577177e86e
get the wedge info first if it exists, because this will support larger sizes.
2014-12-31 19:50:14 +00:00
mlelstv
308b0467c4
forgot this one. disk_set_info includes the functionality of disk_blocksize.
2014-12-31 19:37:35 +00:00
phx
585772f801
Make it compile with GCC48.
2014-12-31 18:43:18 +00:00
wiz
cb8d097ad2
New sentence, new line. Use more markup.
2014-12-31 18:19:21 +00:00
gdt
e1685159eb
note that RBUS_IO_BASE issues are common to i386 and amd64
2014-12-31 18:16:32 +00:00
gdt
766c6ec224
Explain RBUS_IO_BASE/SIZE.
...
See also kern/32327.
Adapted from a patch by Björn Johannesson.
2014-12-31 18:14:55 +00:00
jmcneill
802779d87e
fix typo in 1008MHz rate definition for rk3188
2014-12-31 18:14:14 +00:00
jmcneill
cad7817261
Cleanup freq setting a bit. Add a table of supported rates in ~200MHz steps
...
from 600MHz to 1608MHz, and let the cpu.frequency parameter match the
closest available freq (without going over +50MHz).
After updating APLL, wait for PLL lock.
Do APLL changes with PLL mode set to slow, rather than the previous
(and more complex) APLL/GPLL dance.
2014-12-31 18:09:05 +00:00
jmcneill
1f86325e8b
add some more bits
2014-12-31 18:08:58 +00:00
ozaki-r
cba69a875a
Use pserialize in bridge
...
This change enables lockless accesses to bridge member lists.
See locking notes in a comment to know how pserialize and
mutexes are used.
This change also provides support for softint-based interrupt
handling; pserialize readers can run in both HW interrupt and
softint contexts.
As usual, pserialize is used only when NET_MPSAFE on.
2014-12-31 17:36:24 +00:00
christos
a0f2bf7ede
We can't sleep if we are called from the watchdog timeout.
2014-12-31 17:10:45 +00:00
christos
3be6bb2414
Centralize wedge ioctls in disk_ioctl.
2014-12-31 17:06:48 +00:00
jmcneill
457507773a
add RK3188plus freq scaling, and a 1.4GHz mode. anything above 1GHz with all 4 cores enabled seems to have trouble locking apll, needs more work
2014-12-31 16:16:35 +00:00
martin
4062be8536
Move struct clockframe cf as extern declaration into ingenic_clockintr(),
...
to avoid a duplicate common.
2014-12-31 15:25:08 +00:00
mrg
1fa7346932
fix a confusion between dev_t and devmajor_t, and include the primary
...
minor when calling makedev().
2014-12-31 08:55:18 +00:00
mlelstv
bdddf44518
disk_blocksize and disk_set_info relay the same information
...
to the disk subsystem.
Make disk_set_info also set blocksize shift values.
Remove every call to disk_blocksize.
Keep disk_blocksize for ABI compatibility, make it also set dg_secsize.
2014-12-31 08:24:50 +00:00