Commit Graph

136961 Commits

Author SHA1 Message Date
uwe 5442d49e77 Constify. Drivers pass const default calibration data to
WSMOUSEIO_SCALIBCOORDS using __UNCONST, so make sure we don't try to
modify it.
2005-06-01 00:02:17 +00:00
uwe 7d69499bba Fix misleading indentation. 2005-05-31 23:37:47 +00:00
uwe 94216ed61f Use __UNCONST to pass default calibration data to tpcalib_ioctl(). 2005-05-31 23:21:03 +00:00
uwe 1f2b389b7e Constify. 2005-05-31 23:14:02 +00:00
uwe c93f856fa9 Fix shadowing. 2005-05-31 23:12:18 +00:00
uwe 6a99517a37 Constify. 2005-05-31 23:04:10 +00:00
uwe 1760382cc8 Constify as -Wcast-qual seyeth. 2005-05-31 22:45:04 +00:00
uwe 73c9c64f6c Declare platid_name() to return const.
Revert previous kludge, we can return string literal now.
2005-05-31 22:43:09 +00:00
uwe 87d1a94219 Make "name" in struct platid_name const.
Declare platid_name() to return pointer to const.
2005-05-31 22:41:28 +00:00
drochner d033b4e4b0 as in apm, the "busname" thing is unnecessary
being here, fix constification problems and cleanup variable names
from function prototypes
2005-05-31 22:39:08 +00:00
uwe c7e2bd07b6 Don't return string literal from a function that is not declared to
return const.

XXX: Kludge for now, I don't want to deal with the fallout, especially
as this code is also compile for Windows CE (hpcboot.exe).
2005-05-31 22:36:12 +00:00
wiz 7a9582b62a Spread some more unsigned for less casts. 2005-05-31 22:29:41 +00:00
uwe e7b971967b Avoid naming function parameters "platid", there's a global variable
of that name.
2005-05-31 22:28:49 +00:00
tron a97eb895f6 Remove attachment for the piixide(4) driver from all non-x86 kernel
configurations because Intel IDE disk controllers only exist as part
of Intel chipsets for x86 systems.
2005-05-31 22:23:52 +00:00
uwe 9af1a3ff5e Preserve const in cast. 2005-05-31 22:22:36 +00:00
tron fe980f65d4 Remove unnecessary per-driver scsibus attachments and use
"scsibus* at scsi?" instead.
2005-05-31 22:09:08 +00:00
uwe 49d5bf28d9 Rename s/newlwp/nlwp/ parameter to cpu_switch_prepare() to avoid
shadowing a function of the same name.  Rename oldlwp to match.
2005-05-31 22:06:51 +00:00
uwe 639d538d14 Constify as -Wcast-qual seyeth. 2005-05-31 22:01:24 +00:00
drochner 5e6bfb3b86 inspired by the last commit -- apm_attach_args aren't necessary at all,
kill them
being here fix cast-qual problems in debug code
2005-05-31 21:47:22 +00:00
martin b7680d1847 Rearange slightly to avoid the use of an unitialized variable in the
(unlikely) case that we do not have any hardware clock.
2005-05-31 21:34:21 +00:00
christos aee62d396e Always call mach64_init_screen, otherwise we'll panic later if DIAGNOSTIC
when we call switch screen and the machine has a serial console. Thanks to
martin for the fix.
2005-05-31 21:17:03 +00:00
christos 67f01e2568 minor knf. no functional change. 2005-05-31 21:16:06 +00:00
drochner 3f6e0487d2 lots of cast-qual fallout 2005-05-31 21:08:37 +00:00
wiz 0ba4110751 Move unsigned to where it belongs, to remove a cast. 2005-05-31 21:03:58 +00:00
skrll 9c5ec319c5 Support LD_BIND_NOW on sh3.. 2005-05-31 19:30:38 +00:00
drochner 31924c84cd cast-qual fallout 2005-05-31 19:20:37 +00:00
christos fef1b9e902 Add an entry for genassym. 2005-05-31 18:42:44 +00:00
christos 2514b28c3f PR/30387: Nicolas Joly: -current i386 GENERIC_LAPTOP kernel compilation failure 2005-05-31 17:51:49 +00:00
macallan 71c7a235ad added initialization for tv in resettodr() 2005-05-31 17:34:35 +00:00
macallan 2ab2c90883 fixed a stupid typo that chained copycols to itself 2005-05-31 17:33:02 +00:00
lukem 172fad8aab Support MDSET_POST; apply the operation to every image.
Implement MDSET_NOGZIP & MDSET_NOGZIP.${FILENAME}, to prevent the gzip
of the final image.  This is useful if that image has already been
munged & gzipped by MDSET_POST* or MDSET_SUFFIXES*.
2005-05-31 16:23:37 +00:00
chs b884f8c664 adapt to const changes. 2005-05-31 16:13:31 +00:00
chs 34945e7b56 adapt to const changes.
replace local b_cylin alias with the usual b_cylinder.
2005-05-31 16:13:09 +00:00
chs 90fe0e8ced avoid a shadow. 2005-05-31 16:10:47 +00:00
yamt e5559b5cd1 - move COPTS.${.IMPSRC:T} and friends after other options so that
they can override global options.
- put CPPFLAGS.${.IMPSRC:T} into CPPFLAGS, rather than CFLAGS.
2005-05-31 14:59:31 +00:00
macallan e149dd92ec added missing ffb_ras_wait() 2005-05-31 14:36:17 +00:00
yamt 24ca3e95ec sync with i386. (avoid shadowing) 2005-05-31 13:53:15 +00:00
yamt 80d547c255 remove local prototypes of printk. 2005-05-31 12:44:29 +00:00
yamt 457b7ee79b always provide prototype of printk for now. because:
- currently its implementation is always compiled in.
	- there're users which don't honor XENDEBUG.
2005-05-31 12:42:58 +00:00
yamt bcc5a2379e avoid variable shadowing. 2005-05-31 12:36:56 +00:00
yamt 9a13650e12 constify. 2005-05-31 11:57:13 +00:00
christos 24c295f4b3 mark genassym.sh obsolete 2005-05-31 11:39:03 +00:00
christos d84ea6a23c Add genassym. 2005-05-31 11:38:31 +00:00
christos 99f2d4f70b Move genassym.sh.8 from src/share/man/man8 to here. 2005-05-31 11:35:54 +00:00
christos 6ab7ef4333 Move to the genassym source directory. 2005-05-31 11:35:21 +00:00
yamt 3a00578853 x86_variable_test_bit: don't remove const qualifier unnecessarily. 2005-05-31 04:34:53 +00:00
christos dfa84069f5 Add overrides for tools we use (genassym and hexdump). Now kernel compiles
work again (hi jason!)
2005-05-31 04:03:46 +00:00
christos f6b4c20f18 s/GENASSYM/GENASSYM_CONF/ so we can use "GENASSYM" as the program name. 2005-05-31 04:03:08 +00:00
christos b1d90df260 use the copy in /usr/src/usr.sbin/ 2005-05-31 03:53:59 +00:00
christos b47254f6d8 Add genassym. 2005-05-31 03:50:14 +00:00