christos
8d68885ceb
No point on keeping hp700 on the old gcc; it is produces broken assembly
...
according to the new binutils.
2011-10-02 22:10:10 +00:00
jmcneill
de012e9fef
Attansic L2 is 10/100 but the status registers report 1000 Mbps, so don't
...
bother reading MII_EXTSR for this part. Also use MII_ANEGTICKS instead of
MII_ANEGTICKS_GIGE for this part.
2011-10-02 21:42:19 +00:00
rmind
d551e49456
- Replace calc_order() with ilog2(), wrap into SIZE2ORDER().
...
- Inline some functions, reduce some #ifdefs.
2011-10-02 21:32:48 +00:00
pgoyette
547c078b7d
Add termname(3) entries
2011-10-02 21:19:35 +00:00
jmcneill
2e7ee9e5d8
rename ioconf file to match module name, and remove an invalid include path
...
from cppflags
2011-10-02 21:14:22 +00:00
jmcneill
afdecb8ae7
iic_ioctl_exec: initialize cmd before using it
2011-10-02 21:12:43 +00:00
christos
959df2bbf2
fix broken sets.
2011-10-02 21:10:03 +00:00
christos
0e4108c639
eat the last d in double constants.
2011-10-02 19:45:10 +00:00
pgoyette
c2d58f1a39
Also re-add usr/include/dev/i2c to the mtree file
2011-10-02 19:31:45 +00:00
pgoyette
173f2e95e5
Now that we're installing i2c/io.h usr/include/dev/i2c/ is no longer
...
obsolete!
2011-10-02 19:29:41 +00:00
roy
fd2d10c6b0
Add termname(3) as defined by POSIX.
2011-10-02 19:24:25 +00:00
jmcneill
8086112a88
Attempt to load the xc5k firmware at attach time using config_mountroot. If
...
it is unavailable the driver will try again on the next open of either the
video or dtv device.
2011-10-02 19:15:39 +00:00
jmcneill
76608f59e8
now that iic is a module, add "iic" dependency to iic drivers
2011-10-02 19:03:56 +00:00
jmcneill
3b6fbb4913
add support for detaching iic(4)
2011-10-02 18:58:45 +00:00
christos
07f6e1d3b5
remove stray underscore.
2011-10-02 18:34:17 +00:00
christos
c38245fcf6
Bump SYMTAB_SPACE
2011-10-02 18:32:36 +00:00
christos
31674ac746
don't mark vers.c phony.
2011-10-02 18:30:50 +00:00
christos
0f48379f18
put back pthread__dbg variable; this is set to no zero by td_open() when
...
debugging to avoid multiple td_open() mess.
2011-10-02 18:18:56 +00:00
christos
80e86efb1f
constify.
2011-10-02 18:18:14 +00:00
christos
b7c50fc18d
enable thread debugging support.
2011-10-02 18:16:06 +00:00
christos
ce760d083b
Enable thread debugging support (not completely working yet).
2011-10-02 18:15:23 +00:00
christos
0ef3cdf303
- add objfile hook.
...
- constify.
- we cannot run things, so don't lie.
2011-10-02 18:14:24 +00:00
jmcneill
fccaaf8f20
I2C_IOCTL_EXEC: only allow i2c write ops if the device was opened for writing
2011-10-02 17:39:40 +00:00
jmcneill
f11f373e5d
add userland implementation of I2C_SCAN code
2011-10-02 16:48:47 +00:00
jmcneill
ab747348b5
Install dev/i2c/i2c_io.h and implement the API in the iic(4) driver.
...
Obsolete the I2C_SCAN option as this can now be done from userland.
2011-10-02 16:39:45 +00:00
jmcneill
0f85e13f2d
allow attaching an iic to auvitek if AUVITEK_I2C_DEBUG is defined, and
...
change the auvitek i2c lock from IPL_VM to IPL_NONE
2011-10-02 16:30:58 +00:00
christos
ecb433c89b
undo previous, my sources were wrong.
2011-10-02 15:04:47 +00:00
christos
7cdf1ad1d3
add a missing file, found with the new binutils. No chance we are going
...
to run mknative again on this, so the manual fix.
2011-10-02 14:24:08 +00:00
hannken
cafde4eb6a
The path getnewvnode()->getcleanvnode()->vclean()->VOP_LOCK() will panic
...
if the vnode we want to clean is a layered vnode and the caller already
locked its lower vnode.
Change getnewvnode() to always allocate a fresh vnode and add a helper
thread (vdrain) to keep the number of allocated vnodes within desiredvnodes.
Rename getcleanvnode() to cleanvnode() and let it take a vnode from the
lists, clean and free it.
Reviewed by: David Holland <dholland@netbsd.org>
Should fix:
PR #19110 (nullfs mounts over NFS cause lock manager problems)
PR #34102 (ffs panic in NetBSD 3.0_STABLE)
PR #45115 (lock error panic when build.sh*3 and daily script is running)
PR #45355 (Reader/writer lock error: rw_vector_enter: locking against myself)
2011-10-02 13:00:06 +00:00
mbalmer
44f61c8547
It's actually 'the flag locator', not 'flags' (as 'flags' can not be used
...
as a locator name for reasons unknown to me.)
2011-10-02 12:43:52 +00:00
mbalmer
ebecabb816
Consistent use of 'return'.
2011-10-02 12:25:40 +00:00
mbalmer
56e78725ec
Document gpioiic flag in a comment.
2011-10-02 12:19:17 +00:00
mbalmer
f2b8ed7ad8
Build iic(4) and gpioiic(4) as modules.
2011-10-02 12:13:08 +00:00
mbalmer
8e70f7be4f
Modules for iic(4) and gpioiic(4).
2011-10-02 11:43:30 +00:00
mbalmer
5589d51709
ii2c can be built as module.
2011-10-02 11:38:48 +00:00
mbalmer
550019b8a7
Add the flag locator (missed in the previous commit).
2011-10-02 10:01:25 +00:00
mbalmer
90077b6e6d
Add a ga_flags field to the gpio_attach structure to hand driver
...
specific flags to drivers being attached at gpio pins. gpioiic(4)
uses this to reverse the SDA/SCL signal order. gpioctl(8) accepts
the flag values as optional argument to the attach command.
While here, make sure we retain backwards compatability and wrap compat
code in #ifdef COMPAT_50/#endif.
2011-10-02 09:33:18 +00:00
dholland
81e8d7471a
Describe the output more accurately, and in the correct order. Noted by
...
Snader_LB on freenode.
2011-10-02 01:51:00 +00:00
dholland
1e6da30b2e
Fix ambiguous/confusing wording.
2011-10-02 01:47:27 +00:00
christos
4e3d131fd2
add a missing E
2011-10-01 21:47:08 +00:00
christos
bc3b670f7d
The arm .arm.atpcs section does not have segment information, so skip it.
2011-10-01 19:25:24 +00:00
christos
0dd4f3a513
disable test on the vax until we fix it.
2011-10-01 18:38:39 +00:00
christos
1ef7da4f3d
Undo previous, Checking for vax is more appropriate.
2011-10-01 17:56:11 +00:00
christos
2cbc70fcc3
no more ifdef vax
2011-10-01 17:54:13 +00:00
christos
789b17ab02
use _FLOAT_IEEE754 instead of vax.
2011-10-01 17:46:10 +00:00
christos
75b61a4bee
Define a macro we can use to detect if a port has support for ieeefp
2011-10-01 17:39:14 +00:00
chs
e873fd069d
use gcc builtin for memset() on vax too.
2011-10-01 16:06:24 +00:00
chs
351915c5a2
add missing KERNEL_BASE_EXT.
2011-10-01 16:02:21 +00:00
chs
7cb12714f7
fix build errors with gcc 4.5.
2011-10-01 15:59:00 +00:00
chs
90d3e8aadd
elroy regs don't need to be packed, makes this work with gcc 4.5.
2011-10-01 15:51:36 +00:00