jmc
3fed402d23
Provide lint wrappers around the va_* defs like other ports do so this can
...
make it through lint (was dying in libpam)
2005-02-03 23:45:37 +00:00
perry
870f206724
ANSIfy function declarations
2005-02-03 23:39:32 +00:00
perry
dcf288607c
ANSIfy function declarations
2005-02-03 23:25:22 +00:00
perry
d5c8fcf31c
ANSIfy function declarations
2005-02-03 23:13:20 +00:00
perry
71ef63c98f
ANSIify function declarations
2005-02-03 23:08:43 +00:00
perry
402f8626b1
ANSIfy function declarations
2005-02-03 22:51:50 +00:00
perry
90789ef318
some ANSIfying, and remove an unsightly tab
2005-02-03 22:45:28 +00:00
perry
babe6a957c
KNF + slightly ANSIfy
2005-02-03 22:43:34 +00:00
perry
449436c385
move a prototype back inside an #ifdef -- my GENERIC kernels worked
...
fine with it in the new place, but compiling another kernel found that
it wasn't a good idea.
2005-02-03 21:54:49 +00:00
bouyer
52a37d39ea
vfr.c doesn't exists any more.
2005-02-03 21:38:59 +00:00
perry
35adf4031a
de-__P, partially ANSIfy
2005-02-03 21:35:44 +00:00
perry
32a519cece
de-__P, partially ANSIfy
2005-02-03 21:08:57 +00:00
perry
2454da651e
de-__P, partially ANSIfy
2005-02-03 20:33:05 +00:00
perry
ac90d5411b
de-__P
2005-02-03 20:24:25 +00:00
perry
5fbcbbe2bb
de-__P
2005-02-03 20:08:55 +00:00
perry
09c542ec15
de-__P, partially ANSIfy
2005-02-03 20:08:44 +00:00
perry
0e1b702cc7
de-__P
2005-02-03 19:20:01 +00:00
perry
d96ee18cd4
de-__P
...
Also, re-arrange to prevent the #define versions of XtoY functions
from coming before the function prototypes.
XXX This is rather ugly, and someone like kleink should probably check
that I didn't mess up any standards issues.
2005-02-03 19:16:10 +00:00
chs
39b340a6f4
add the early-clobber modifier on the destination reg of ldstub.
...
in some implementations (eg. sun4c), the hardware modifies the destination
reg before checking for write permission on the memory location. without
this change, gcc was using the same register for the address and the
destination, so if the store part of the instruction faulted, the address
was already gone when the instruction was retried after resolving the fault.
part of PR 25633, PR 25896.
2005-02-03 16:17:21 +00:00
chs
3cee1cf44e
sun4c hardware reports faults by the atomic load/store instructions as
...
read faults even if the problem was that the memory was read-only.
detect this case and relabel the fault as both read and write.
details cribbed from linux and openbsd.
part of PR 25633, PR 25896.
2005-02-03 16:15:06 +00:00
briggs
ecb75428c0
If we have not gotten the CPU speed yet, get it from OF here and print it.
...
This gives us the CPU speed for those CPUs that we can't probe in the ppc
common code.
2005-02-03 15:14:39 +00:00
briggs
d6e37f352e
Keep track of the CPU's current speed (in kHz) in the cpu info structure,
...
if we can get it. May want to expand this in the future to include min
and max speeds for systems where we can adjust the speed.
2005-02-03 14:47:09 +00:00
perry
51ad03a950
ANSIfy function prototypes. (Still have about 3/5ths of the C files in
...
netinet to go...)
2005-02-03 03:49:01 +00:00
christos
e042c0475e
Add scsi-generic stuff.
2005-02-03 00:09:30 +00:00
christos
d3b9209df0
Add linux scsi-generic to work for simple cases. Allows gendalia's change
...
to limp along. From soren with fixes from me.
2005-02-03 00:09:09 +00:00
perry
3494482345
de-__P -- will ANSIfy .c files later.
2005-02-02 21:41:55 +00:00
perry
695648ddc8
de-__P, do some ANSIfication.
2005-02-02 21:41:01 +00:00
drochner
e1e8770b32
Give DAD a chance to succeed even if the network is "slightly broken"
...
(in my case it as a switch set to "monitor" mode):
If we see an NS request for the address we are just probing for, for
three times the number of DAD packets we are supposed to send (the
"ip6.dad_count" sysctl variable), assume that these are our own packets
and let DAD succeed.
The code for this was mostly there, commented out. Just needed some fixes.
The "three times" is heuristic of course.
Being here, reset the "dad_ns_tcount" variable on a successful send;
otherwise we get strange interdependencies with user-settable variables
(ever tried to set ip6.dad_count to something >15?).
2005-02-02 20:56:27 +00:00
christos
ba2396e33b
Regen
2005-02-02 13:26:28 +00:00
christos
34508c6918
PR/29196: Robert Elz: Add support for Broadcom BCM4401-B0 ethernet
2005-02-02 13:26:06 +00:00
abs
f29f37c830
Regen to pick up corrected code for VIA VT6421
2005-02-02 11:20:40 +00:00
abs
0d94353073
Reminder not to trust cheap no-name packaging. VIA product 0x3249 is
...
a VT642*1* not VT642. Also add to list in viaide manpage and note
that drives need to be configured into RAID/JOBS sets via its BIOS.
http://www.via.com.tw/en/products/peripherals/serial-ata_raid/vt6421/
2005-02-02 11:19:49 +00:00
gson
971beb8edb
Generate an interrupt only after processing all the samples in a block
...
rather than at the time of the last sample, to eliminate a click at the
end of each block when recording. Fixes kern/18066.
2005-02-02 10:34:12 +00:00
pk
b7ee084cd1
sun4/sun4c sw interrupt entry: check interrupt register to determine to
...
see whether there is a pending software interrupt at the given level.
If not, it must be a device interrupt sharing that level.
2005-02-01 22:33:02 +00:00
matt
5388f1ff2c
Add gti2c/iic entries.
2005-02-01 20:59:55 +00:00
matt
411c843baa
Add entry for gti2c.c
2005-02-01 20:59:15 +00:00
matt
57b77a8963
Add a i2c driver for the onboard i2c/twsi controller on the GT642x0
2005-02-01 20:58:46 +00:00
matt
b3eef3bb0b
Allow the driver to allocate needs resources on attach and not free
...
depending on cf_flags (instead of on interface up / down).
2005-02-01 20:47:02 +00:00
matt
61b5c08265
Add I2C child hooks.
2005-02-01 20:37:09 +00:00
drochner
12ff682534
Whitespace police. The rest remains crap.
2005-02-01 20:33:58 +00:00
abs
d3852ae541
regen to pick up the 'VT642 SATA RAID Controller'.
2005-02-01 18:21:58 +00:00
abs
6660565bb0
Add 'VT642 SATA RAID Controller'. It looks like a viaide, it smells
...
like a viaide... but you can only address the drives once you have
put two or more of them into a RAID or JBOD.
2005-02-01 18:21:14 +00:00
he
edf90a4645
There is no need to define DS1687_NVRAM_START twice.
2005-02-01 16:16:22 +00:00
drochner
0c51c7b7aa
don't compile isp_target.c if ISP_TARGET_MODE is not required
2005-02-01 16:00:50 +00:00
drochner
dc86361844
remove the unused in6_ifindex2scopeid()
...
if at all, it works with site-local addresses whose fate is uncertain
to say the least
2005-02-01 15:29:23 +00:00
drochner
5d0cfbc9bd
sin6_scope_id maps to interface indices for link local addresses only!
...
(unlikely to be used with other scopes for now, but we should be
correct anyway)
2005-02-01 14:56:17 +00:00
he
1c9ef2aa0a
Fix "unused local variable" warning/error if compiling without
...
bridge support by making variable declaration conditional. Found
while compiling for shark.
2005-02-01 12:56:30 +00:00
he
2a8a7aabd7
Fix "unused local variable" warning/error if compiling without
...
bridge support by making variable declaration conditional. Found
while compiling for shark.
2005-02-01 12:13:51 +00:00
gson
8de9537c69
Update printf format in debug printf to account for sample_rate now
...
being an unsigned int.
2005-02-01 12:07:58 +00:00
briggs
fabe87766d
Strip old "pm1" code. All PPC PMUs are "pm2" style. Two benefits:
...
* Cleans code up a bit, and
* Reduces the call stack for PMU interrupts.
2005-02-01 03:24:29 +00:00