Commit Graph

148348 Commits

Author SHA1 Message Date
peter
72b6ac7a94 Add a symbolic constant for the Infrared Communications Port. 2006-06-27 10:45:06 +00:00
peter
94ebfefbcd Set the jornada 720 volume up/down and play buttons to ignore
instead of unknown.
2006-06-27 10:42:41 +00:00
tron
9021894476 Make this build with GCC 4.x. 2006-06-27 10:34:25 +00:00
tsutsui
c4a04b7ba4 Backout previous since there is an objection and I'm not a toolchain guy. 2006-06-27 09:22:30 +00:00
pavel
a78062784c Use the new socket call for Linux and SVR4, because those systems (at
least Linux 2.4.31, Irix 6.5.20 and Solaris 10) use EAFNOSUPPORT.

Only the Linux emulation has been tested.

XXX somebody should audit the other emulations...
2006-06-27 09:09:40 +00:00
he
b1682c2909 Make use of -Wno-pointer-sign conditional on HAVE_GCC > 3, and include
<bsd.own.mk> so that HAVE_GCC is appropriately defined.
2006-06-27 06:37:26 +00:00
mrg
8406bcbe00 that should be _STANDALONE, not STANDALONE. 2006-06-27 03:49:08 +00:00
mrg
6fb2cf40a5 regenerate. 2006-06-27 03:00:08 +00:00
mrg
e35e1713f9 allow sh-*-* as a valid sh configuration. now need_64bit_hwint=yes is
set for sh--netbsdelf, and sh3eb works.

XXX: annoyingly, this is needed in both gcc/config.gcc and
XXX: libcpp/configure*, and if just gcc/config.gcc is done, the
XXX: compiler will not work at all..
2006-06-27 02:59:09 +00:00
jmcneill
7508425eaa Protect audio_powerhook with '#if NAUDIO > 0'. PR kern/33832. 2006-06-27 02:07:08 +00:00
hubertf
c1f1683df1 * constify
* replace two calls to strncpy() with strlcpy(), eliminating some
   magic numbers

OK'd by christos@
2006-06-26 22:42:45 +00:00
mrg
c82d87f94d - match sh*-netbsdelf* as well as sh-*netbsdelf*.
- test(1) does not have a == operator; replace it with =
2006-06-26 22:39:16 +00:00
mrg
20e25ea492 consolidate the sh*netbsd* targets into sh*l* and sh*. 2006-06-26 22:33:42 +00:00
mrg
1b7ff51599 regenerate. 2006-06-26 21:30:50 +00:00
mrg
e2eb31d3a3 version the socket(2) syscall. for compat30 socket, we use
EPROTONOSUPPORT instead of EAFNOSUPPORT.

from pavel@ with a little bit of clean up from myself.

XXX: netbsd32 (and perhaps other emulations) should be able
XXX: to call the standard socket calls for this i think, but
XXX: revisit this at another time.
2006-06-26 21:23:56 +00:00
mrg
dfd0a157a5 regenerate for arm 2006-06-26 20:40:41 +00:00
mrg
62855b1d65 match 'shle-*' as being a sh platform, and try it's TLS code. with
this shle--netbsdelf configure's almost the same as sh--netbsdelf,
and the only unexpected difference remains in sh--netbsdelf files.
2006-06-26 19:56:17 +00:00
mrg
0d4ef31ba8 regenerate arm, sh3el (now properly working) and sh3eb (not yet
properly working.)
2006-06-26 19:54:03 +00:00
mrg
9db1a19397 don't install crypto files with MKCRYPTO=no. with these changes, a
MKCRYPTO=no build completes.
2006-06-26 19:50:56 +00:00
wiz
e34dc7a23f Update version numbers to sync with latest import. 2006-06-26 19:49:46 +00:00
mrg
6294d76e22 fix the swap16/swap32 macros to actually swap the argument,
not discard the swapped value.
2006-06-26 19:48:41 +00:00
wiz
789f1d2877 Revert last chunk of previous: makes build work again.
Suggested by skrll@, ok moof.
2006-06-26 19:41:01 +00:00
drochner
e7c88abe60 Better explicitely specify the "ki2c" interface attribute,
so that the "config_found" can't hit "i2cbus".
Up to now, this relied on the fact that the i2cbus and ki2c
attach args both had a string as first element which was used
to distinguish. Now, interface attributes should take care
that attach arguments are not misinterpreted.
2006-06-26 18:37:53 +00:00
drochner
a3464e1d27 use the "i2cbus" interface attribute rather than putting a string name
into the i2cbus attach args
2006-06-26 18:21:38 +00:00
drochner
665742bb91 remove the "name" element from the i2cbus attach args, that's what
interface attributes are good for
2006-06-26 18:19:40 +00:00
xtraeme
aa32e3a36b Add support for SIS 660/760 IDE Controllers and SIS 181/182
SATA Controllers (from obsd).
2006-06-26 18:19:08 +00:00
xtraeme
c5161d5850 regen 2006-06-26 18:16:23 +00:00
xtraeme
75619f2ba3 Add SIS 660, 760, 761 IDE Controllers and SIS 181/182 SATA controllers
(from obsd).
2006-06-26 18:15:44 +00:00
christos
295eac6574 make the gototab unsigned int 2006-06-26 17:58:25 +00:00
xtraeme
36f7e0755d Add missing __KERNEL_RCSID() 2006-06-26 17:54:06 +00:00
xtraeme
920e0164f7 Add support for PDC20775 and PDC40518. 2006-06-26 17:45:39 +00:00
xtraeme
4763d17e4a regen 2006-06-26 17:41:27 +00:00
xtraeme
6e16c09f9d Add PROMISE PDC20775 and PDC40718 SATA controllers (from obsd). 2006-06-26 17:40:50 +00:00
drochner
996322f640 oops, need to commit the register definition for PM mapping too 2006-06-26 17:33:40 +00:00
drochner
cbf845a55e -make sure it is a PIIX4 before accessing counter stuff
(there might be usable registers on 440mx and that ATI thing too,
  but that needs to be checked/tested)
-make sure the I/O access to the power management stuff was enabled
 by the BIOS before trying to map/access stuff
-most PIIX4s have a bug in the timer latch which causes jitter or worse
 if it is read naively - check the revision
-use common code in dev/ic/acpipmtimer.c
2006-06-26 17:17:20 +00:00
kiyohara
409c2af88f Add lmtemp(4). 2006-06-26 16:20:50 +00:00
drochner
eff818776d add some common code to support the ACPI power management timer
independly of ACPI
2006-06-26 16:13:21 +00:00
drochner
c89713e730 switch alpha to gcc4 2006-06-26 15:30:05 +00:00
christos
ff147f9d5b define PC_ADVANCE to avoid a LHS cast which makes gcc4 unhappy.
From Kurt Schreiner
2006-06-26 14:11:29 +00:00
christos
80f0134faf - widen gototab so NCHARS states fits.
- don't allocate more space than we need.
From Aleksey Cheusov
2006-06-26 13:10:47 +00:00
drochner
3ce3b9b485 test the PM timer for glitches (using the algorithm from FreeBSD)
and use a single read if the timer looks good,
patch from Juan RP, with minor simplification by me
2006-06-26 12:29:36 +00:00
kent
14db0438ab * custom mixer table for ALC880
* remove useless mixers of ALC882
2006-06-26 11:06:01 +00:00
yamt
ffa1c23e58 fix VM_BESTFIT. 2006-06-26 10:23:20 +00:00
yamt
9595f19850 wrap long lines. 2006-06-26 10:21:59 +00:00
yamt
a3b2d62857 sa_stackused, sa_setstackfree: share some common code. 2006-06-26 10:21:34 +00:00
manu
0a52064ba3 Do not implement exit_group() the right way on platforms that do not
define LINUX_NPTL yet, that cause firefox-bin to fail.
2006-06-26 07:42:00 +00:00
lukem
9dde4120d5 Don't invoke LD with LDFLAGS, since the latter is for CC.
If we need similar support for LD, we can implement another variable.
I couldn't find any obvious need for LDFLAGS by users of <bsd.kmod.mk>.
2006-06-26 04:07:34 +00:00
dogcow
62f312bd4b revision 115002 from svn gcc; fixes PR/33816 (on my system, at least.) 2006-06-26 00:33:11 +00:00
christos
0279cf0176 add a missing dependency. 2006-06-25 22:39:51 +00:00
christos
a504bbc8d8 Don't forget to free gototab[i]; pointed out by Aleksey Cheusov 2006-06-25 22:37:45 +00:00