Commit Graph

90320 Commits

Author SHA1 Message Date
mrg
5d06ed3c94 move sparc specific ioctl handling (fb & openprom) into arch/sparc64. 2002-01-03 02:29:39 +00:00
thorpej
4eef3278dc Add casts to the __lint__ version of va_arg() to avoid dereferencing
non-pointer arguments in cases like: foo = *va_arg(ap, int *);
2002-01-03 02:05:42 +00:00
thorpej
bd95f88c7d Define __BIT_TYPES_DEFINED__. 2002-01-03 01:58:58 +00:00
thorpej
8873902707 Make gcc 3.1's preprocessor happy with the __lint__ va_end(). 2002-01-03 01:56:52 +00:00
thorpej
9e65d921df Don't assign semun if __lint__. 2002-01-03 01:55:49 +00:00
thorpej
7efc72e894 Only use __builtin_va_list if __GNUC__. 2002-01-03 01:37:20 +00:00
mrg
d6328a8778 fix previous: actually remove the COMPAT_SUNOS code, not just #if 0 it. 2002-01-03 01:16:02 +00:00
aymeric
6b2ea61c0c When we jump to the absolute address of the next instruction, we have to
export the label we use for that purpose, otherwise, that smart gas will
change it to a relative jump, which does basically nothing.

I can finally boot NetBSD/amiga ELF. (Yippee!)

While there, test if we are a 68851 before we invalidate the TLB,
instead of doing it between the TLB flush and the data cache flush.
2002-01-03 01:13:35 +00:00
mrg
af640de164 move the COMPAT_SUNOS SO_BROADCAST hack out of uipc_socket.c into the
compat/sunos code.  besides being cleaner this allows the sunos LKM
to properly work without any special kernel hacks.
2002-01-03 00:59:00 +00:00
thorpej
3797a3f56f Remove x86-64 "nolint" hack. 2002-01-02 23:58:18 +00:00
thorpej
6e1a67a44b Remove the "MKLINT=no if HAVE_GCC3" hack; a patch to support lint
comments has been submitted to the GCC maintainers, so if you're
using a GCC 3.x that doesn't support lint, set MKLINT=no in mk.conf.
2002-01-02 23:48:19 +00:00
augustss
e4552bb657 Add a comment. 2002-01-02 22:44:44 +00:00
mcr
d64a9cddad moved ARMADA specific CARDBUS options to CARDBUS
added cardbus/pci bridge to CARDBUS config.
	removed ARMADA config (as promised)
2002-01-02 22:32:16 +00:00
he
181e4f6c0a Quote > and < characters with \*> and \*< in order to get semi-correct
HTML as one of the results.
2002-01-02 21:12:15 +00:00
augustss
68d53cd694 Fix typo in last commit. 2002-01-02 20:58:12 +00:00
augustss
f7839315fb Some more usb_proc_ptr changes.
Also some minor stylistic changes.
2002-01-02 20:55:58 +00:00
martin
357b95fa25 Replace a structure copy (dereferencing a pointer received from an ioctl)
by a memcpy, similar to the patch suggested by jarle@uninett.no in PR 15112.
I'm not sure if the ioctl code should be fixed to deliver this pointer
properly aligned, but this change should not cause any problem and it is
safer this way.
2002-01-02 20:47:37 +00:00
dbj
920e8af571 add some error checks in adb_reinit, enabled with ADB_DEBUG and adb_debug 2002-01-02 20:30:45 +00:00
dbj
32eabd8148 if pm_adb_op times out waiting for an interrupt, attempt to take
an interrupt anyway, just in case.  Otherwise, report the timout condition.
This works around a problem in my ibook if a key is pressed after boot
and before adb is configured, such as when booting with -d.
2002-01-02 20:28:43 +00:00
briggs
539d8cbd30 Use getprogname() instead of __progname.
Make usage look more like sysctl(8) usage since it's similar.
exit(1) after dumping usage().
2002-01-02 20:23:01 +00:00
dbj
9c182d4af3 defer attaching akbd as console until after it has
been initialized in akbdattach
2002-01-02 20:21:12 +00:00
ad
215ddc9ef7 Set sc_framesize to a reasonable value early on so that DEBUG code
doesn't choke before we discern the real value.
2002-01-02 19:04:17 +00:00
wiz
4cbb128b70 Obsolete /usr/include/smbfs. 2002-01-02 18:33:06 +00:00
augustss
cee8ba6db9 Get rid of a few stray __P(). 2002-01-02 17:20:09 +00:00
augustss
b99cd0e9f5 More whitespace fixes from FreeBSD. 2002-01-02 16:20:14 +00:00
thorpej
9841593fe5 Fix a typo. 2002-01-02 14:48:09 +00:00
thorpej
db5e19a211 Need <sys/systm.h> for ffs() prototype (noticed by gcc 3.1). 2002-01-02 14:47:15 +00:00
briggs
0aade05680 getopt returns int, not char, so make 'optchar' an int. 2002-01-02 14:46:06 +00:00
uch
91fd1d80b7 VR41XX/TX3922 common kernel. 2002-01-02 13:13:18 +00:00
uch
58e763000e fix typo in comment. 2002-01-02 13:11:02 +00:00
uch
78e38d9e62 fix bootstrap stack violation. 2002-01-02 13:08:35 +00:00
uch
f96ef6a094 fix memory probe sequence.
fix bootstrap stack violation. (code are moved to machdep.c)
2002-01-02 13:08:05 +00:00
uch
474928fb8f when bootinfo has no framebuffer information, don't attach bicons. 2002-01-02 12:57:49 +00:00
uch
51c202eb5e s/TOOLDIR/EETOOLDIR/ 2002-01-02 12:49:43 +00:00
uch
71505e004a sync with uhidev change. 2002-01-02 12:49:10 +00:00
augustss
c41bbdcea2 Change the probe code. You cannot unmap bus space and then use it. 2002-01-02 12:42:23 +00:00
uch
b8467dcaa6 int128_t and u_int128_t are wrapped in defined(_KERNEL) && defined(MIPS3_5900) 2002-01-02 12:38:46 +00:00
uch
e4130f57f1 _intr_suspend and _intr_resume declarations are moved to intr.h. 2002-01-02 12:36:20 +00:00
uch
e71de3f668 R5900 short-loop bug. 2002-01-02 12:34:27 +00:00
augustss
c572876ecb Fix another descriptor parsing bug. Thanks to Tero Kivinen for
patiently supplying me with debug output.
2002-01-02 11:10:50 +00:00
blymn
ef5927835e Remove extraneous tabs from blank lines. 2002-01-02 10:38:27 +00:00
takemura
bd59ae1f5c BUGFIX: sg2com isn't attached as a console device if it is a console. 2002-01-02 10:09:35 +00:00
tron
2ece7637b1 Add "_eh.c" to list of files which are supposed to get cleaned. 2002-01-02 09:17:48 +00:00
mrg
706a739f19 build a sparc/sparc64 useful installboot. called nbsparc-installboot 2002-01-02 05:26:58 +00:00
mrg
e674bb7dc8 make this hostprog friendly. 2002-01-02 05:21:34 +00:00
briggs
9c006e1248 We reference a monstartup(3), so let's actually make a link for it. 2002-01-02 04:52:55 +00:00
mrg
dc34af64a7 - add a -i path-to-installboot option
- also recognise $INSTALLBOOT from the environment
- update Usage & share the option list with Help.
2002-01-02 04:13:42 +00:00
augustss
d7f7000641 Add missing newline. 2002-01-02 04:10:02 +00:00
augustss
c4d16b2838 Sort attachments. 2002-01-02 04:09:13 +00:00
augustss
53d829ae4c Use the right I/O addresses for the ISA radio cards. 2002-01-02 04:08:41 +00:00