christos
d64bbf607d
Fix async map handling. Many thanks to Joerg Wunsch for the explanation.
2002-07-30 13:16:35 +00:00
soren
178d83d503
Die, qaddr_t, die! - mnt_data in struct mount is already effectively
...
a void *, so stop pretending otherwise.
2002-07-30 07:40:07 +00:00
soren
099793e880
Updates from OpenBSD:
...
date: 2002/06/11 18:59:22; author: provos; state: Exp; lines: +48 -42
SPLAY_{INSERT,REMOVE} have return values now that can be used for error
checking
date: 2002/06/11 22:09:52; author: provos; state: Exp; lines: +6 -5
have rb_remove return the right value, too.
2002-07-30 06:12:13 +00:00
matt
7c4618a9ce
cpu_info is not in spr0, but spr_g_0.
2002-07-30 06:10:46 +00:00
matt
3e158de7c1
Don't define register references if not KERNEL or STANDALONE.
2002-07-30 06:09:10 +00:00
thorpej
5fed6739d9
Use more descriptive interrupt names.
2002-07-30 04:45:41 +00:00
thorpej
4c9de392fd
Bring down a fix from the "newlock" branch, slightly modified:
...
* In pool_prime_page(), assert that the object being placed onto the
free list meets the alignment constraints (that "ioff" within the
object is aligned to "align").
* In pool_init(), round up the object size to the alignment value (or
ALIGN(1), if no special alignment is needed) so that the above invariant
holds true.
2002-07-30 01:41:00 +00:00
itojun
27174b9ec9
fix null pointer deref. from ho@openbsd
2002-07-29 22:54:38 +00:00
thorpej
d8eb148780
Clean up some comments.
2002-07-29 22:00:00 +00:00
augustss
056f94ceb3
Regen.
2002-07-29 20:08:50 +00:00
augustss
ef76dd6ed4
Add a couple of bridge devices.
2002-07-29 20:08:25 +00:00
thorpej
26f7a64dc3
Add iopwdog (i80321 built-in watchdog timer), fxp, and inphy.
2002-07-29 18:42:27 +00:00
thorpej
2bbd3be11a
Add support for the i80321 watchdog timer.
2002-07-29 18:40:04 +00:00
thorpej
3ab4598cc0
Add sysmon at cdev 101.
2002-07-29 18:26:58 +00:00
thorpej
2367c7fff8
Add support for attaching IOP built-in sub-devices (aau, dma, ssp,
...
watchdog, etc.)
2002-07-29 17:37:14 +00:00
thorpej
c92ad565ad
* Remove some AAU definitions -- they will be defined elsewhere in
...
a future commit.
* Fix a typo in the watchdog enable names.
* Add SSP (synchronous serial port, for SPI, Microwire, etc.) definitions.
2002-07-29 17:28:06 +00:00
atatat
6675196afb
Make tun interfaces perform auto-creation. This means that if a
...
program opens /dev/tun# and tun# has not been SIOCIFCREATE'd already,
it will be SIOCIFCREATE'd automatically. FreeBSD's tun interfaces
behave in a somewhat similar fashion.
2002-07-29 16:53:30 +00:00
simonb
c38f2b0214
Remove some debug code accidently left in.
2002-07-29 16:25:02 +00:00
simonb
10a72d78d1
Add support for the Alchemy Semiconductor Pb1000 evaluation board for
...
their Au1000 CPU. Should also work with little or no tweaking for the
Pb1500 board for the Au1500 CPU as well.
2002-07-29 16:22:55 +00:00
simonb
3f8c0bc7c5
Move the soft interrupts IPL masks from port-specific code to
...
board-specific code.
Change a u_long to a uint32_t in the timer calibration routines.
2002-07-29 16:21:03 +00:00
simonb
c61cf25192
Remove prototype for non-existant softintr_dispatch().
...
Add/modify a few comments.
2002-07-29 16:14:05 +00:00
simonb
99eb5608ad
Don't install intr.h isa_machdep.h pci_machdep.h rnd.h for userland.
2002-07-29 15:52:46 +00:00
simonb
223e50d28e
Add a slightly modified dev/ic/com.c that supports the Alchemy
...
Semiconductor Au1x00 series on-chip UARTs. Will be merged with
the original com.c driver once a few issues are tidied up. Main
differences from a standard 16550 UART are:
- separate rxdata and txdata registers
- single 16-bit register for the clock divisor
- "enable uart" register
2002-07-29 15:42:41 +00:00
simonb
ca42af5e80
Add support for the the Alchemy Semiconductor Au1x00 series on-chip
...
devices. Currently the serial ports and ethernet MAC have working
drivers, and this has only been physically tested on the Au1000 CPU,
but these devices should work on the Au1100 and Au1500 CPUs too.
2002-07-29 15:39:11 +00:00
mrg
117d4dd965
clean up esp & isp attachment lines.
2002-07-29 14:35:44 +00:00
mrg
3a0d60972a
bump offset by RF_PROTECTED_SECTORS if FS_RAID
2002-07-29 14:34:12 +00:00
itojun
f8e5e9c295
be friendly with gcc-3.1.1 -O2, which takes advantage of ANSI C
...
pointer aliasing rule (gcc optimization/7427). from tsubai, sync w/kame
2002-07-29 09:14:36 +00:00
mrg
321856e31b
merge with sparc.
2002-07-29 07:07:15 +00:00
grant
b26eca1528
"DVMA coherent" -> ": DVMA coherent"
...
noted by Matt Thomas on icb.
2002-07-29 06:39:41 +00:00
simonb
21ffe19c1b
Don't name parameters in a function declaration.
2002-07-29 05:57:16 +00:00
simonb
b8f11b739f
ANSIfy, KNF.
2002-07-29 05:54:09 +00:00
augustss
eb7d3799cf
Add a quirk for an In-System Design adapter.
2002-07-29 03:30:46 +00:00
augustss
a82acc0c6d
Regen.
2002-07-29 03:30:00 +00:00
augustss
9e287c33a3
Add an In-System storage adapter.
2002-07-29 03:29:34 +00:00
augustss
9ae405a13b
Add code to activate devices that are no active.
2002-07-29 03:26:20 +00:00
augustss
91282a0226
Another part of the PCI fixup change.
2002-07-29 03:25:18 +00:00
augustss
9891751782
Only be very verbose with ACPI_EXTRA_DEBUG set.
2002-07-29 03:10:16 +00:00
augustss
290fa82ceb
Add code to perform PCI interrupt routing fixup.
2002-07-29 03:06:56 +00:00
augustss
1394e1ce1a
A resource with 0 interrupts is not illegal; it occurs before interrupts
...
have been allocated.
2002-07-29 03:05:52 +00:00
manu
08a69f7d15
Make killproc really public, and while we are there, constify.
2002-07-28 22:18:51 +00:00
christos
42f6b6f836
Patches from Frank Kardel:
...
- length was one off in names and secrets.
- add win 98 kludge but we keep it disabled for now.
- setup the authorization bit early so that we don't end up doing ppp
negotiations without authorization.
2002-07-28 22:16:47 +00:00
christos
59d3d6c274
Don't throw away the name and the secret lengths. This eliminates all the
...
strlen() calls, and there was a whole bunch of them.
2002-07-28 19:54:47 +00:00
jdolecek
4be499b52b
Convert to use p_opptr rather than p_oppid. Part of fix for
...
security/14444 by David Sainty.
2002-07-28 18:42:41 +00:00
thorpej
7b652cb939
Change the way that DMA map syncs are done. Instead of remembering
...
the virtual address for each DMA segment, just cache a pointer to the
original buffer/buftype used to load the DMA map, and use that. This
lets us shrink the bus_dma_segment_t down from 12 bytes to 8, and the
cache flushing is also more efficient.
Tested on an i80321 -- changes to others are mechanical.
2002-07-28 17:54:05 +00:00
christos
08ea4bc534
my card prints transmit aborted and then hangs. Let's try to reset it.
2002-07-28 15:41:00 +00:00
augustss
1d1e817466
Fix typo in macro.
2002-07-28 15:22:06 +00:00
christos
450091b937
avoid modifying the buffers, by checking for matching lengths first. From
...
Frank Kardel.
2002-07-28 15:12:29 +00:00
chs
23ec03fb27
add a config for GENERIC + MP.
2002-07-28 07:40:13 +00:00
chs
0724ffc87a
restructure the FPU and AltiVEC code so that it works for MP.
2002-07-28 07:38:34 +00:00
chs
03315186b6
install atomic.h.
2002-07-28 07:11:25 +00:00