Commit Graph

205962 Commits

Author SHA1 Message Date
roy 2f9b6d37f2 Fix tparm.
As we now go via tiparm, store nums as int to conserve memory.
2011-10-03 20:13:48 +00:00
hauke 0f0f947faf Add the MI software watchdog to GENERIC (not to SMALLRAM, as usual). 2011-10-03 19:22:59 +00:00
roy 91ab69b0df Remove _ti_freeterm as consumers should just use del_curterm. 2011-10-03 19:18:55 +00:00
roy 7fc83a7d87 Correct args 2011-10-03 19:15:03 +00:00
njoly 17c958e90f Do not redefine CPUID_LAHF. 2011-10-03 17:31:35 +00:00
njoly e2c203c871 Note functions failure for unknown timer type. 2011-10-03 15:49:02 +00:00
njoly 829ab7717f Fix magic_descriptor/magic_file quoting in SYNOPSIS. 2011-10-03 15:43:55 +00:00
christos 3608a76ca2 Fix the exceed test. 2011-10-03 14:55:23 +00:00
christos 8c9fc8838c fix broken change (parenthesis in the wrong place). From Nirbhay Choubey 2011-10-03 14:09:38 +00:00
roy 38675efe19 Fix man pages for tiparm and ti_tiparm. 2011-10-03 13:12:15 +00:00
roy 44e794b040 Install correct man page links. 2011-10-03 13:10:58 +00:00
roy 4060cbcd0c Use tiparm instead of vtparm. 2011-10-03 12:32:15 +00:00
roy 39aae097d0 Correctly use ti_ instead of t_ for our extensions as per the man page.
Replace vtparm with tiparm.
tiparm is also non standard, but has been proposed at least.
2011-10-03 12:31:51 +00:00
mbalmer cf39ee7883 Fix non-COMPAT_50 compilation. 2011-10-03 11:31:56 +00:00
mbalmer de05db530c Unbreak and move the list of child devices to COMPAT_50. 2011-10-03 11:28:28 +00:00
mbalmer d394843f35 Remove the GPIODETACH gpio(4) ioctl (it is still available in COMPAT_50) and
the 'detach' command line option from gpioctl(8).  Drivers that are
attached to gpio pins can be detached using the drvctl(8) command.
2011-10-03 11:16:47 +00:00
hannken 15b3d123ae As getnewvnode() is prepared to wait for an allocation change vnalloc()
to always use PR_WAITOK.

No more 'WARNING: unable to allocate new vnode, retrying...' messages.
2011-10-03 10:30:13 +00:00
njoly d20e1ca1b9 +i2cscan.debug 2011-10-03 09:52:23 +00:00
mbalmer a429601b29 Don't cast void pointers. 2011-10-03 08:23:58 +00:00
mbalmer d0a114ea0b Build i2cscan, since it is the list files. 2011-10-03 07:29:33 +00:00
mbalmer 0d24d954db Enable an iic(4) device to prevent a linker warning. 2011-10-03 07:28:14 +00:00
jmcneill 9899f465bf Newer ATI SB800 SMBus controllers don't report the base address in PCI
config space. According to the SB800-Series Southbridges Register Reference
Guide, we can still read this value from PM config space using indirect I/O.
2011-10-02 23:25:20 +00:00
jmcneill b2284bc274 _ACx is for active cooling policy, using it for envsys temp 'warn max' doesn't
make sense
2011-10-02 22:20:33 +00:00
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