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
63c819e89c
Add missing stream methods (for wdc_pcmcia.c)
2005-03-11 16:16:06 +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
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
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
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
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
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
xtraeme
840f589aad
Add missing #ifdef DDB for db_max_line()
2005-03-10 00:31:48 +00:00
matt
290234fa8a
Update to new bus_dma semantics.
2005-03-10 00:20:54 +00:00
xtraeme
d2088067fe
Add missing #ifdef DDB, ok'ed by bouyer@.
2005-03-09 23:40:08 +00:00
xtraeme
3c451cf142
Now that GENERIC* kernels are removed, remove references.
2005-03-09 23:24:50 +00:00
bouyer
e9666f30ad
Merge the bouyer-xen2 branch. This add supports for the Xen 2.0 virtual
...
machine kernel (both privileged and non-privileged domains), and remove support
for the old xen 1.2.
2005-03-09 22:39:19 +00:00
joff
b9ac414499
Use special spaces for ISA that don't assert USER CS#
2005-03-09 21:19:59 +00:00
matt
a6db24a485
Add a dm_maxsegsz public member to bus_dmamap_t. This allows a user of the API
...
to select the maximum segment size for each bus_dmamap_load (up to the maxsegsz
supplied to bus_dmamap_create). dm_maxsegsz is reset to the value supplied to
bus_dmamap_create when the dmamap is unloaded.
2005-03-09 19:04:43 +00:00
simonb
3792275475
Add an extra `i' to notifes/notifed.
2005-03-09 04:23:33 +00:00
uwe
1fc105ea83
db_stackcheck_cmd: catch up with proc => lwp changes.
...
This is just a quick fix to make KSTACK_DEBUG kernels compilable.
Formatting needs improvment (group lwps from one process together, etc).
PR port-sh3/29621
2005-03-08 22:04:22 +00:00
uwe
b6c480ab6a
KNF: use "continue" as explicit empty loop body.
2005-03-08 21:05:47 +00:00
uwe
933cf58cd8
Use uint<N>_t instead of u_int<N>_t.
2005-03-08 20:54:58 +00:00
bsh
a7d17de7d6
delete unused stuff.
2005-03-08 16:51:44 +00:00
martin
28b1934cb5
Make it compile for 32bit kernels. XXX - does OF realy return pointers to
...
64 bit entities here?
2005-03-07 22:10:14 +00:00
uwe
6a24c49df3
options SPACE TAB
2005-03-07 18:25:22 +00:00
tsutsui
3f9745a76c
Add two options to change the default keymap:
...
- options MKBD_LAYOUT="KB_xx"
allow user to override the default keymap
- options MKBD_SWAPCTRLCAPS
allow user to specify swapctrlcaps with the default (probed) keymap
2005-03-06 14:52:49 +00:00
chs
a6d3ad34e1
use attach args instead of dv_unit, just like cf_unit.
2005-03-05 17:40:56 +00:00
chs
805f942254
remove some more __P that I missed before.
2005-03-05 17:34:06 +00:00
nathanw
ec956cbe3a
Don't enable interrupts while calling trap() if the trapping frame
...
didn't have them enabled either.
Addresses PR port-macppc/29559.
2005-03-04 22:40:32 +00:00
scw
51315622ae
Undo revision 1.175 (hi jason!) to prevent a buzz-loop in
...
bus_dmamap_load_mbuf(). This implementation already dealt
with zero length mbufs.
Addresses port-sparc64/29473
2005-03-04 22:04:51 +00:00
mycroft
8d0711abed
Preload the referenced and modified bits when entering a page due to a fault.
2005-03-04 06:26:58 +00:00
mycroft
7d64f202fc
Copyright maintenance.
2005-03-04 06:01:52 +00:00
mycroft
2fcca2a309
Minor cleanup in ksiginfo setup code.
2005-03-04 06:01:21 +00:00
briggs
6ae9462824
Fix from Nozomu Ando to ensure that read interrupts are acknowledged.
...
May address PR port-macppc/28870.
2005-03-04 04:18:30 +00:00
tron
a179b1e8b6
Backout last commit because an entry for atu(4) already existed.
...
Problem noted by FUKAUMI Naoki on current-users mailing list.
2005-03-03 23:02:01 +00:00
mycroft
902a7e92fe
Copyright maintenance.
2005-03-02 12:00:25 +00:00
mycroft
9aa6105e69
Copyright maintenance.
2005-03-02 11:48:03 +00:00
chs
111117ce57
fix two bugs with wiring:
...
(1) in pmap_enter_pv(), we would always mark the header entry wired, even if
the new entry wasn't put there. noticed by Juergen Hannken-Illjes.
(2) in pmap_unwire(), we would never examine the header entry.
noticed by me.
while I'm here, move the counter increment in the pmap_enter() path to be
next to the corresponding PV_WIRE() call so it's more obvious they match.
2005-03-02 09:02:42 +00:00
chs
bd2d26b450
getitesp() can return NULL, so check for that in iteopen().
...
pointed out by Michael Hitch.
2005-03-02 08:14:26 +00:00
dyoung
23ec02085c
Write tab-separated records to 'tags' file. A popular vi-alike,
...
vim, expects for the columns in tags files to be tab-separated,
but these makefiles created space-separated records for the assembly
sources.
2005-03-02 04:49:59 +00:00
matt
038bc7aa3a
Add disasm support for amd64 (x86-64).
...
From Cliff Neighbors.
2005-03-01 18:08:42 +00:00
sekiya
8f1c003137
Set mips_sdcache_forceinv to 1 for r5k processors.
...
We now support secondary cache operation on r5ksc out-of-the-box.
2005-03-01 04:25:00 +00:00
sekiya
02889050a3
Add a hint variable (mips_sdcache_forceinv, explicitly initialized to zero)
...
that tells pmap_zero_page() and pmap_copy_page() to unconditionally invalidate
pages for r5k-class CPUs with secondary cache.
This behavior must be explicitly enabled by setting mips_sdcache_forceinv to 1.
This is the last bit of a patch that has been kicked around since 2000 between
rafal@, tsutsui@, and myself.
2005-03-01 04:23:44 +00:00
sekiya
5d33b368ef
Update TODO list.
2005-03-01 03:17:40 +00:00
itojun
6f1be686fe
due to size constraint, comment atu out
2005-03-01 02:33:51 +00:00
itojun
c711664533
add atu ether driver on usb
2005-03-01 02:31:25 +00:00
sekiya
e6a83e3a96
Replace elf2ecoff with objcopy for ECOFF bootloader creation. Fix a comment
...
typo while we're here.
2005-03-01 00:20:09 +00:00
sekiya
6c76898b70
Use objcopy instead of (broken) elf2ecoff to create ECOFF kernel. Suggested
...
by tsutsui@ on port-mips.
2005-02-28 23:44:58 +00:00
uwe
6c46d7f51c
Propagate WSDISPLAYIO_PARAM_BACKLIGHT to config hooks.
2005-02-28 18:04:54 +00:00
uwe
0d9ce410fa
Remove another unused #include.
2005-02-28 16:57:56 +00:00
uwe
d5308158a4
Remove unused #include.
2005-02-28 16:55:58 +00:00
uwe
31e1313c29
Whitespace police.
2005-02-28 16:16:19 +00:00
sekiya
0baf5763ca
Attempt to verify presence of haltwo hardware, rather than just blithely
...
believing that all hpc3 have a haltwo. This should help Challenge-S owners.
2005-02-28 07:42:53 +00:00
sekiya
d671c9b8d3
De-__P()
2005-02-28 07:24:51 +00:00
sekiya
b9e63b2210
0 is a success code for ioctl(). Fixes install problem introduced by
...
revision 1.9 last November.
2005-02-28 06:44:55 +00:00
christos
04bab5e379
Provide information for all the cpus not just the first one. This is
...
important because sysctl(_SC_NPROCESSORS_CONF) depends on it to get
the number of processors in the system.
2005-02-27 22:33:20 +00:00
uwe
5e3aaf765f
All Jornada 7xx machines have the framebuffer at the same address, so
...
just use a single wildcard entry for them. Should fix the bug, that
7xx machines could be booted only using "Japanese" entry (b/c it was
the only one with the framebuffer info).
2005-02-27 18:35:08 +00:00
tsutsui
58bc3dfe63
Fall back to comconsole when vga or pccons console cnprobe/cnattach fails
...
even if options COMCONSOLE is not specified.
2005-02-27 18:29:43 +00:00
uwe
2ddba96151
Take DST into account when computing bi.timezone offset.
2005-02-27 18:25:02 +00:00
tsutsui
f05862169e
cnattach functions should return zero on success, non-zero on failure.
2005-02-27 18:24:49 +00:00
dsl
b3675ff77c
Enable FFS_NO_SNAPSHOT in the INSTALL kernel so that it fits into 2 floppies
2005-02-27 12:38:42 +00:00
tsutsui
93dd53ae14
LANCE chip actually requires PA of shared mem rather than VA.
...
Fortunately, lower bytes of PA and VA for intio devices were identical
on -current pmap, but the problem appears on new yamt-km which has differnt
address layout. Ummmmm.
2005-02-27 09:27:31 +00:00
tsutsui
81e257d906
TAB/space cosmetics in the previous.
2005-02-27 08:02:43 +00:00
tsutsui
f765242e76
Disable temporary %tt0 register mapping (for yamt-km branch).
2005-02-27 07:59:18 +00:00
tsutsui
01caf37ca6
- Rename ctrl_led in locore.s to ctrl_led_phys since it has
...
PA of CTRL_LED port.
- Restore ctrl_led in machdep.c and store VA of CTRL_LED port to it.
2005-02-27 07:57:29 +00:00
bsh
3066388bf6
add install kernels for SMDK2410/2800.
...
CVS: ----------------------------------------------------------------------
CVS: CVSROOT cvs.NetBSD.org:/cvsroot
CVS: ----------------------------------------------------------------------
CVS: CVSROOT cvs.NetBSD.org:/cvsroot
2005-02-27 02:25:09 +00:00
bsh
53259c6163
sync pseudo device part with other platforms.
...
disable pseudo-device md (enabled in SMDK2800_INSTALL)
CVS: ----------------------------------------------------------------------
CVS: CVSROOT cvs.NetBSD.org:/cvsroot
2005-02-27 02:18:34 +00:00
bsh
6c82f22455
This file is not used.
...
CVS: ----------------------------------------------------------------------
CVS: CVSROOT cvs.NetBSD.org:/cvsroot
CVS: ----------------------------------------------------------------------
CVS: CVSROOT cvs.NetBSD.org:/cvsroot
2005-02-27 02:02:02 +00:00
scw
98b4eea581
Add COMPAT_BSDPTY, and enable INET6.
2005-02-26 21:16:43 +00:00
scw
88c08d742a
Tweak {s,}size_t definitions to reflect the types used internally
...
by gcc on sh5.
Tweak stdarg/vararg definitions to pacify lint.
2005-02-26 21:13:56 +00:00
simonb
31c385dc11
Another macro in a branch delay slot problem. Pad with a nop.
...
Pointed out again by Izumi Tsutsui on port-mips.
2005-02-26 13:15:47 +00:00
simonb
798eed2639
Watch out for those unexpected tains.
2005-02-26 12:00:52 +00:00
bsh
629db0b989
TWINTAIL (official product name is G4255EB) is an evaluation board
...
with Intel PXA255 processor from Genetec corp. You can get some
information on the board from http://ad.genetec.co.jp/ but only in Japanese.
2005-02-26 10:49:53 +00:00
bsh
94b724fc67
align md_root_loadaddr to word boundary.
2005-02-26 10:45:29 +00:00
bsh
355d1500b7
fix xi@pcmcia configuration
2005-02-26 10:30:56 +00:00
bsh
b42e2b64d1
Fix kgdb_port_init() to make it compile with options KGDB.
2005-02-26 10:22:41 +00:00
simonb
9dd50e019c
Add some nops in branch delay slots to stop a warning because we
...
previously had a macro in those slots. No side effects this time,
so we got lucky.
Pointed out by Izumi Tsutsui on port-mips.
2005-02-26 00:06:28 +00:00
martin
418c9f0372
Nuke options RASTERCONSOLE for sparc64
2005-02-25 19:16:45 +00:00
heas
c1d895ba16
Add a few comments wrt PTEs
2005-02-25 17:29:04 +00:00
tsutsui
89f1fd615f
lkkbd requires lkkbdmap.
...
Fix kernel link problem reported by Georg Schwarz on port-pmax.
2005-02-25 16:12:25 +00:00
simonb
8d56c02e1c
Regen for COMPAT_20 additions.
2005-02-25 13:52:21 +00:00
simonb
2d12f350f9
Regen for COMPAT_20 addition.
2005-02-25 13:49:07 +00:00
simonb
ff8f0b23c9
Add COMPAT_20 (and COMPAT_16 in some cases) to kernel config files
...
that didn't have those options but had other earlier compat options.
2005-02-25 13:46:48 +00:00
simonb
3882f544c1
KNF: put "if (...)" and following statement on separate lines.
2005-02-25 07:20:10 +00:00
simonb
61e2cd2f51
Remove some errant semicolons.
2005-02-25 07:18:40 +00:00
simonb
6e4737fc77
KNF: put "if (...)" and following statement on separate lines.
2005-02-25 07:09:58 +00:00