Warner Losh
bbf5c743d2
unifdef __STDC__
2002-03-23 23:37:07 +00:00
Warner Losh
55e031a3c8
o unifdef -D__STDC__
...
o use ansi function definitions
o remove OLDSUN
2002-03-23 23:35:42 +00:00
Warner Losh
c120448ada
o unifdef -D__STDC__
...
o remove badly bit-rotted compat file that likely won't work on the systems
it purports to support.
2002-03-23 23:30:30 +00:00
Warner Losh
7ddea7b836
unifdef -D__STDC__
2002-03-23 23:19:00 +00:00
Jens Schweikhardt
7d03b11905
Remove a duplicate with a typo.
...
MFC after: 3 days
2002-03-23 22:10:02 +00:00
Thomas Moestl
4b5504494d
Add code to print the fault virtual address for uncorrectable DMA errors
...
caused by IOMMU misses to aid debugging. This will only work on
UltraSPARC-IIi and IIe.
2002-03-23 20:42:23 +00:00
Thomas Moestl
d1e39d7347
De-__P(), de-K&R, remove superfluous comments and prototypes, some
...
style fixes. No functional changes.
2002-03-23 20:27:32 +00:00
Thomas Moestl
8d515e67fa
De-K&R.
2002-03-23 20:22:19 +00:00
Thomas Moestl
bbe4a6c452
Fix syscall ktraceing.
2002-03-23 20:11:38 +00:00
Thomas Moestl
676c54ffe6
Make this compile without options DDB; use intr_disable() instead of
...
fiddling with PSTATE_IE manually.
2002-03-23 20:09:48 +00:00
David E. O'Brien
ecaaecd7a4
Update comments. We uniformly use __FBSDID in libc now.
2002-03-23 20:08:00 +00:00
Thomas Moestl
69f2effbd9
Decruft some #if 0'ed code.
2002-03-23 20:05:42 +00:00
Thomas Moestl
bc4e9bed7c
Add PCIfunctions 2 and 3 of the PCIO2 chip to the intpin quirk table.
2002-03-23 20:04:10 +00:00
Thomas Moestl
0d80b9bd88
In some cases, RX descriptors that are signalled to have been completed
...
by the hardware are still marked as owned. Handle this by installing a
timeout handler to collect this descriptor to avoid having received
packets remain unhandled until the next one arrives.
2002-03-23 19:43:15 +00:00
Pierre Beyssac
038148d678
Add option -n to i386 boot2 to disallow boot interruption by keypress.
...
PR: i386/36016
Submitted by: Thomas Quinot <thomas@cuivre.fr.eu.org>
Reviewed by: rnordier
MFC after: 1 week
2002-03-23 19:40:27 +00:00
Thomas Moestl
7ee69ef245
Assorted fixes:
...
- remove some useless code from the status change handler that was intended
to enable the the MII drivers for external phys; this is already done
during interface initialization, and the deleted code made some
assumptions about phy addresses that do not seem to hold true on newer
cards. This should get at least one of the two hmes of newer Netra t1
machines working.
- correct the interrupt resource allocation
- bump the number of RX descriptors, lower values cause promblems on some
machines
2002-03-23 19:37:11 +00:00
Dag-Erling Smørgrav
f0cf488b75
We keep moduli(5) in /etc/ssh, not /etc.
2002-03-23 19:26:21 +00:00
Nicolas Souchu
b708809fa5
Forgot viapm in the NOTES. Fixed.
2002-03-23 18:39:54 +00:00
Nicolas Souchu
e1e245b7a5
smbus_alloc_bus is not part of the smbus interface anymore
2002-03-23 18:27:16 +00:00
David E. O'Brien
15164b99cc
W/o __P, the internal declarations will all fit on one line.
2002-03-23 18:22:40 +00:00
Hidetoshi Shimokawa
5cdf02dbe0
Automatically detect devices that do not support READ(6)/WRITE(6)
...
and upgrade to using 10 byte cdbs.
As far as I tested, this works efficiently for most of the
SBP-II/Firewire devices but most of the umass devices still need
ad-hoc work around because umass-sim doesn't return any SCSI errors.
A sysctl nob is also added for the last resort.
I hope we don't need DA_Q_NO_6_BYTE quirks anymore.
Reviewed by: gibbs
MFC after: 1 week
2002-03-23 18:18:02 +00:00
David E. O'Brien
327e1e773f
Style nit.
2002-03-23 18:14:20 +00:00
David E. O'Brien
a378c419fe
Remove prototype, no other crt1.c has or needs it.
2002-03-23 18:14:04 +00:00
David E. O'Brien
efc8588d57
Style(9) local vars after 'register' removal.
...
Requested by: bde
2002-03-23 18:10:59 +00:00
Dag-Erling Smørgrav
de11a611b5
Install headers with -C. Ideally, these Makefiles should not need to
...
override the beforeinstall target at all, but this has proven difficult
to achieve.
2002-03-23 18:01:01 +00:00
David E. O'Brien
d9c0a739c5
Remove these abortive MIPS bits.
2002-03-23 17:55:32 +00:00
Warner Losh
bb28f3c29b
Breath deep and take __P out of the system include files.
...
# This appears to not break X11, but I'm having problems compiling the
# glide part of the server with or without this patch, so I can't tell
# for sure.
2002-03-23 17:24:55 +00:00
David E. O'Brien
194788fafc
GDB 4.18 does not use the mmalloc library by default. So GC a little.
2002-03-23 17:15:49 +00:00
Jake Burkholder
f4db8e245f
Machine must be non-static for COMPAT_43 to compile. This is used in bsd/os
...
1.x compatibility code, which I'm sure we all use every day.
2002-03-23 17:13:45 +00:00
Jake Burkholder
9ce91e87da
Oops. Should have said
...
Submitted by: tmm
2002-03-23 17:06:15 +00:00
Jake Burkholder
b7cbb37042
Cleanup the trace back routine slightly. Print the leaf return value so
...
that traps inside of leaf functions are less confusing. Add a function
to print a non-symbolic trace of the user stack.
2002-03-23 17:04:41 +00:00
Jake Burkholder
c8c751181e
Sync with other arches; add bloat.
2002-03-23 16:55:37 +00:00
Poul-Henning Kamp
8dc8db2787
Revert last commit, it came too late to save alpha :-(
2002-03-23 16:54:19 +00:00
Poul-Henning Kamp
50abd3e193
Hide the ugly d_boot[01] from the kernel.
2002-03-23 16:03:13 +00:00
Bruce Evans
ea1499bf8f
Fixed some style bugs in the removal of __P(()). The main ones were
...
not removing tabs before "__P((", and not outdenting continuation lines
to preserve non-KNF lining up of code with parentheses. Switch to KNF
formatting and/or rewrap the whole prototype in some cases.
2002-03-23 16:01:49 +00:00
Nicolas Souchu
c17d43407f
Major rework of the iicbus/smbus framework:
...
- VIA chipset SMBus controllers added
- alpm driver updated
- Support for dynamic modules added
- bktr FreeBSD smbus updated but not tested
- cleanup
2002-03-23 15:49:15 +00:00
Mark Murray
ed86ca364b
Very simple fixes; WARNS and ANSIfy. Remove GCC-specific options from
...
Makefile.
2002-03-23 15:43:11 +00:00
Nicolas Souchu
ddd22fb7fb
Restore the original copyright
2002-03-23 15:36:13 +00:00
Nicolas Souchu
d0d27909aa
viapm is the driver for VIA SMBus controllers
2002-03-23 15:26:20 +00:00
Mark Murray
ed74761863
Minor whitespace nit.
2002-03-23 15:20:45 +00:00
Bruce Evans
809dbbc99b
Fixed some style bugs in the removal of __P(()). The main ones were
...
not removing tabs before "__P((", and not outdenting continuation lines
to preserve non-KNF lining up of code with parentheses. Switch to KNF
formatting and/or rewrap the whole prototype in some cases.
2002-03-23 15:09:35 +00:00
Bruce Evans
fa9c948c1c
Fixed some style bugs in the removal of __P(()). The main ones were
...
not removing tabs before "__P((", and not outdenting continuation lines
to preserve non-KNF lining up of code with parentheses. Switch to KNF
formatting and/or rewrap the whole prototype in some cases.
2002-03-23 14:27:06 +00:00
Bruce Evans
f47e870c55
Moved $FreeBSD$ to the correct place.
2002-03-23 13:48:10 +00:00
Bruce Evans
d4ee5a13d3
Repaired CSRG id. This file was not in Lite1; it was just cloned from a
...
file with a in Lite1 before being cvs-added to FreeBSD.
2002-03-23 13:41:52 +00:00
Bruce Evans
995b73dcc3
Fixed some style bugs in the removal of __P(()). Continuation lines
...
were not outdented to preserve non-KNF lining up of code with parentheses.
Switch to KNF formatting.
2002-03-23 13:10:13 +00:00
Chris D. Faulhaber
3f31f1ab4c
Work around zlib bug where using a deflate window size of 8 will
...
cause memory corruption.
2002-03-23 13:05:53 +00:00
Bruce Evans
b76d0b3217
Fixed some style bugs in the removal of __P(()). Continuation lines
...
were not outdented to preserve non-KNF lining up of code with parentheses.
Switch to KNF formatting.
2002-03-23 12:38:05 +00:00
Akio Morita
81b60c7395
Add new graphical screen saver (dragon_saver).
...
Add support for NEC PC-9821 PEGC screen (fire/logo/rain/warp_saver).
2002-03-23 12:36:19 +00:00
Bruce Evans
359052dbcc
Fixed some style bugs in the removal of __P(()). The main ones were
...
not removing tabs before "__P((", and not outdenting continuation lines
to preserve non-KNF lining up of code with parentheses. Switch to KNF
formatting and/or rewrap the whole prototype in some cases.
2002-03-23 12:13:34 +00:00
Bruce Evans
763df83622
Fixed some style bugs in the removal of __P(()). Continuation lines
...
were not outdented to preserve non-KNF lining up of code with parentheses.
Switch to KNF formatting.
2002-03-23 11:53:03 +00:00