bouyer
b3de8f0978
Define xen devices in i386/conf/majors.i386. This makes sure there won't
...
be conflics with regular i386 kernels.
2005-03-11 20:44:37 +00:00
bouyer
153285b0bd
Properly define NISA and NPCI; cleanup use of NISA and NPCI.
2005-03-11 20:39:39 +00:00
rumble
02b46a4b12
Fix a tiny typo.
2005-03-11 19:40:47 +00:00
mycroft
e63d9a6eae
Restructure interrupt handling a little:
...
* Only futz with the done list in the soft interrupt handler. In the hard
interrupt handler, do nothing except mask WDH and queue the soft interrupt.
This simplifies a bunch of code, removes two O(n^2) queue manipulations,
and gets rid of some really sketchy stuff around the queue head access.
* Use the auto-masking code at the end of the interrupt handler for both WDH
and RHSC interrupts. Again, this reduces the code a little, and avoids
multiple writebacks to the chip registers.
2005-03-11 19:25:22 +00:00
matt
7dfa1d8cf7
Set ip_len to 0 in the wm driver when TSO is being used.
2005-03-11 17:07:51 +00:00
matt
bffeda4273
Add cpu* at mainbus0
2005-03-11 16:44:31 +00:00
matt
9423d4f429
Make this compile in the absence of any scsibuses.
2005-03-11 16:37:24 +00:00
matt
1a573d5c6a
Make this build again (add atabus).
2005-03-11 16:26:47 +00:00
matt
153ebc7689
Just like wdc.c, if the bus_space implementation doesn't support stream
...
method, make them equivalent to the non-stream methods.
2005-03-11 16:17:57 +00:00
matt
63c819e89c
Add missing stream methods (for wdc_pcmcia.c)
2005-03-11 16:16:06 +00:00
ginsbach
27ff389ba6
Update standards section; add X/Open XNS and X/Open - IEEE POSIX.
...
RFC 2553 made obsolete by RFC 3493. Approved by wiz.
2005-03-11 16:13:13 +00:00
ginsbach
98d24e6cc9
Remove unnecessary cast.
2005-03-11 16:04:09 +00:00
bouyer
45f2a74300
Print the irq used.
2005-03-11 15:51:25 +00:00
bouyer
9375b9c69f
Wrap some ISA stuff in DOM0OPS, so that DOMU kernels build again.
2005-03-11 15:50:25 +00:00
peter
6e30b59e96
Some minor cleanup:
...
* Improve some comments and (error) messages.
* Use EXIT_FAILURE and EXIT_SUCCESS.
* Add function `maybe_syslog' (only log when -l is enabled).
Reviewed by christos.
2005-03-11 15:49:52 +00:00
bouyer
111fb1ed01
increment couters at the right place, so that deffered interrupts are
...
accounted too.
2005-03-11 15:48:40 +00:00
bouyer
a4dee0e2b9
The extent allocation was off by one, causing us to use unallocated
...
kernel VA, and overflow the _xen_shm_vaddr2ma[] array.
2005-03-11 15:47:27 +00:00
bouyer
5ce7842238
Add missing STI() from i386/i386/vector.S 1.15.
...
This seems to fix the network hang issues I noticed with NetBSD guests
on heavy network I/O.
2005-03-11 15:45:54 +00:00
bsh
513d8a771b
move a few definitions to smdk2800var.h to share them between smdk2800_machdep.c and smdk2800_start.S
2005-03-11 14:28:52 +00:00
tron
e561507a1f
Add support for changing the MTU to stf(4).
2005-03-11 13:28:25 +00:00
wiz
1a27add367
Use more macros (Sq/Dq).
2005-03-11 13:16:10 +00:00
wiz
2c2533b641
Bump date for new -4, -6.
2005-03-11 13:14:34 +00:00
bouyer
fb78ac6542
Properly track connected/disconnected state, and set IFF_RUNNING only when
...
in connected state. Avoid a panic when the interface is configured
before being in connected state (e.g. when configured automatically by xend
when a domain is created).
2005-03-11 11:34:32 +00:00
matt
124866f5f5
Don't compare scalars against NULL, use 0.
2005-03-11 07:08:33 +00:00
matt
18e3cd8d07
Increase SYMTAB_SPACE
2005-03-11 07:07:50 +00:00
matt
3beedd2b53
Don't compare scalars against NULL, use 0
2005-03-11 07:06:54 +00:00
matt
e5e8c8e489
Adapt to new dm_maxsegsz semantics.
2005-03-11 07:01:55 +00:00
matt
6196dae15e
Fix typo.
2005-03-11 06:58:11 +00:00
matt
b72e03a76a
rside is really a wdc. So make it a wdc.
...
XXX rside should be renamed to wdc_rsbus
2005-03-11 06:51:48 +00:00
matt
371a3b7135
Constify a structure.
2005-03-11 06:50:33 +00:00
atatat
5b8a6c916d
Revert the change that made kern.file2 and net.*.*.pcblist into nodes
...
instead of structs. It had other deleterious side-effects that are
rather nasty. Another solution must be found.
2005-03-11 06:16:15 +00:00
ginsbach
15b1578248
Note addition of -4 and -6 to rcp(1), rlogin(1), and rsh(1) and support
...
for IPv6 address strings as the `rhost' with rcp(1).
2005-03-11 04:18:47 +00:00
ginsbach
733e4b48e2
Add -4 and -6 to usage.
2005-03-11 03:20:23 +00:00
ginsbach
d9a614deae
Support -4 and -6. Approved by christos.
2005-03-11 03:19:31 +00:00
ginsbach
0d1bfba8c7
Add mechanism for escaping IPv6 address strings, since they already
...
contain colons. Idea from Solaris rcp(1).
2005-03-11 02:55:23 +00:00
ginsbach
605994654d
Support -4 and -6. Approved by christos.
2005-03-11 02:45:24 +00:00
christos
37e322ddf6
revert part of previous commit (the block size type and the pad renumbering).
...
tron says it breaks compat mode.
2005-03-10 23:39:27 +00:00
bouyer
145cc1138c
Clean up ISA attachement, and do not try to attach it at hypervisor if
...
it has already been attached at pcib.
2005-03-10 22:10:11 +00:00
bouyer
f7dcd8b304
Report which IRQ is used.
2005-03-10 21:44:31 +00:00
kleink
79b311d547
Crank the copyright year.
2005-03-10 19:53:22 +00:00
bouyer
bdb48992d1
Bump blkif_pdev_t from 16 to 32 bits, to fix the dev_t problem on NetBSD.
...
Remove the padding bits from blkif_extent_t, so that the message size doesn't
change. You'll need xentools20-2.0.3nb1 if you upgrade your kernel
(the old tools didn't zero out the padding bits, and a new kernel will
interpret them as part of the device number).
2005-03-10 19:47:08 +00:00
christos
af62817ea3
Always update the position variables before the map function is called.
...
From Rob Rodgers, thanks!
2005-03-10 19:34:46 +00:00
matt
b6fca37cf6
Adapt to new dm_maxsegsz semantics.
2005-03-10 18:16:01 +00:00
bouyer
82981f9fda
- Don't reallocate transmit pages from xennetback_get_xmit_page(), as the
...
previously-allocated pages may not have been loaned to the remote domain
yet. Let the called deal with this.
- clean up the TX and RX loops to use less MASK_NETIF_xX_IDX() calls
- When we're done with the queued TX requests, try again in case some new
ones are available
- avoid leaking a xmit page if we queued NB_XMIT_PAGES_BATCH requests.
- remove dead code.
2005-03-10 17:12:12 +00:00
bouyer
94d162a5c1
Use the same type as xen in the request descriptor.
...
Change the logic in the request processing loop so that we don't
think the ring is empty when is has BLKIF_RING_SIZE requests.
2005-03-10 17:05:38 +00:00
bouyer
577e77f21d
Add some DIAGNOSTIC cheks
...
Protect the callback queue with splvm()
XXX some debug printf about the callback stuff is left here. This is because
I've not been able to trigger this condition yet, so I've left them
until we sure the code works as intended.
2005-03-10 17:02:20 +00:00
wiz
892987d654
End sentence with a dot. Remove trailing whitespace.
2005-03-10 16:51:42 +00:00
wiz
23c677b582
Bump date for previous; new sentence, new line.
2005-03-10 16:50:11 +00:00
wiz
416aba1dc6
Bump date for -t.
2005-03-10 16:29:04 +00:00
wiz
96b620b365
Add -t to usage.
2005-03-10 16:28:54 +00:00