thorpej
998f8a71ed
Add an optional "width" locator to the obio bus, specifying the
...
bus width of the device.
2003-06-15 19:03:46 +00:00
thorpej
05d2fb4399
Use the new pmap_devmap facility in the on-board device mapping code.
2003-06-15 18:43:48 +00:00
thorpej
cf8a25bdfc
Add another devmap routine that allows bootstrap code to register
...
a devmap reflecting mappings that are created by really early
bootstrap code before pmap_devmap_bootstrap() is called.
2003-06-15 18:18:16 +00:00
thorpej
87d5bba5b3
Replace the ad-hoc "section mapping table" for static device mappings
...
with a more generic "devmap" structure that can also handle mappings
made with large and small pages. Add new pmap routines to enter these
mappings during bootstrap (and "remember" the devmap), and routines to
look up the static mappings once the kernel is running.
2003-06-15 17:45:21 +00:00
thorpej
d35db0b328
Garbage-collect some unused code.
2003-06-15 17:33:45 +00:00
yamt
424a10b9cc
genfs_getpages: if number of pages requested is >16,
...
use malloc/free for array of pointers to vm_page.
otherwise, use on-stack array as used to.
this change fixes assertion failure when nfsd gets a big read request
that isn't aligned with filesystem block.
discussed on tech-kern.
2003-06-15 16:14:46 +00:00
igy
5dc7df164b
using write buffer in block_write.
2003-06-15 08:50:05 +00:00
igy
c0f40774f1
verify flash memory after write
2003-06-15 08:49:09 +00:00
tsutsui
a3631eeb28
Add isapnp0 at isa and enable working isa/isapnp devices.
2003-06-15 06:10:42 +00:00
tsutsui
964d2f945e
Remove nonexistent we* at isapnp.
2003-06-15 06:08:12 +00:00
tsutsui
55dd06d718
Don't enable both pc0 and vga0 at isa.
2003-06-15 06:05:31 +00:00
tsutsui
7826bdce78
Initialize and use extent maps for ISA bus space allocation.
...
Now isapnp on Tyne works properly.
2003-06-15 05:58:45 +00:00
matt
27e1742142
Change the way multicasts are kept. They now use a hash table in the same
...
manner as the ifaddr hash table. By doing this, the mkludge code can go
away. At the same time, keep track of what pcbs are using what ifaddr and
when an address is deleted from an interface, notify/abort all sockets
that have that address as a source. Switch IGMP and multicasts to use pools
for allocation. Fix a number of potential problems in the igmp code where
allocation failures could cause a trap/panic.
2003-06-15 02:49:32 +00:00
simonb
83619b47f3
Wrap some long lines.
2003-06-15 01:34:34 +00:00
tsutsui
109624a869
Fix a bug in isabr_dti_intr_status(), as per "re-look this" comment.
...
Now Tyne boots into single user (though it's still unstable). Woohoo!
2003-06-14 21:10:20 +00:00
thorpej
0ab88570d0
Use CPUFLAGS rather than COPTS to pass -mcpu=xscale.
2003-06-14 19:32:54 +00:00
uwe
d5e8f76b23
Use CPUFLAGS instead of COPTS.
2003-06-14 19:15:38 +00:00
tsutsui
ddeb889ae9
Add a file definition for isapnp.
2003-06-14 19:14:52 +00:00
tsutsui
5c69b73566
Set intrtype[] properly.
...
XXX ISA interrupts on Tyne does not work yet.
2003-06-14 19:13:42 +00:00
tsutsui
afa910a4ed
Add isa_intr_alloc() for isapnp support.
2003-06-14 19:11:40 +00:00
thorpej
792ce8fe0d
Fix typo in previous.
2003-06-14 19:03:40 +00:00
uwe
1b5c2a3f18
The igsfb(4) can now be used as console so delete the XXX comment that
...
says it cannot.
Add commented out options that give an example of how to force serial
console.
2003-06-14 18:59:25 +00:00
uwe
c275928799
wscons as console support.
...
XXX: the way we pre-map memory for igsfb(4) is kludgy.
2003-06-14 18:57:38 +00:00
uwe
9feee6d724
Add PCKBC_CNATTACH_SELFTEST option.
2003-06-14 18:54:57 +00:00
thorpej
0eff671820
Also pass a type argument to comcnattach() and com_kgdb_attach().
...
comspeed() (and thus cominit()) may need this information.
2003-06-14 17:01:06 +00:00
tsutsui
ffe3f2629c
Bump SYMTAB_SPACE to 194000.
2003-06-14 16:28:32 +00:00
tsutsui
17418f8476
Allow user pmap to pmap_enter device (bus-space) memory.
2003-06-14 16:27:36 +00:00
thorpej
5ae120da7b
Introduce a new "type" field in the softc which is used to indicate
...
the general UART type. Currently, we have "normal", "hayesp" and
"pxa2x0" types. Replace the corresponding hw flags with the new type
values.
2003-06-14 16:25:52 +00:00
tsutsui
fee6ce1d9f
Fix lack of parentheses bug which causes wrong pte settings.
2003-06-14 16:21:31 +00:00
tsutsui
0cd4c10ed3
Make this compile with no scsibus.
2003-06-14 16:18:30 +00:00
tsutsui
b201874a74
Add kloader (in-kernel kernel bootloader) support written by
...
UCHIYAMA Yasushi (uch@netbsd).
XXX Some of these code should be moved into MI place to share
XXX between other ports.
2003-06-14 16:15:16 +00:00
tsutsui
cead6ab903
mmap(2) function on sh3 should return page number, not physical address.
2003-06-14 16:08:09 +00:00
ichiro
1fd8fe7f02
make compile
2003-06-14 11:44:51 +00:00
ichiro
2075d7734d
fix some bugs
2003-06-14 11:40:20 +00:00
ichiro
2aacfecbed
regen.
2003-06-14 10:00:09 +00:00
ichiro
a933b95ba3
delete duplicate line
2003-06-14 09:58:55 +00:00
tsutsui
fdcf304c05
Set LINKFORMAT=-N.
...
ARCBIOS on Tyne can recognize only ECOFF with OMAGIC header.
XXX The real fix is implementing native bootloader.
2003-06-14 09:55:10 +00:00
tsutsui
d096df8f90
Fix CPU clock for Tyne. It has 133MHz R4600.
2003-06-14 08:11:56 +00:00
tsutsui
27ad3392b9
Change DESKstation -> DeskStation, as per spelling on the Tyne board.
2003-06-14 08:09:47 +00:00
tsutsui
3baa558986
Rewrite arc/isa/isapnp_machdep.c (based on i386).
...
It seems no one tried the previous code.
2003-06-14 07:58:16 +00:00
tsutsui
e1c1a8283d
Add missed "\n" in attach message.
2003-06-14 02:57:03 +00:00
tsutsui
f215f507a2
Don't enable both pc0 and vga0 at isa.
2003-06-14 02:40:42 +00:00
uwe
22ce30e3bd
Rename struct frame to irt_frame to avoid name clash with struct frame
...
in <arm/arm32/frame.h>.
2003-06-13 15:09:17 +00:00
uwe
b736b5d450
Drop __P(). Drop redundant prototypes that we either don't need or
...
get from <arm/arm32/machdep.h> anyway. Consistently use ANSI style
function definitions (most functions already were in ANSI style).
Generated object file is not changed.
2003-06-13 12:30:04 +00:00
abs
a16551d502
Correctly escape newlines in a string - now can be compiled under gcc3
2003-06-13 10:56:41 +00:00
onoe
7dad9f7d8a
For loopback interface, assign ia_dstaddr instead of just changing reference
...
to ifa_dstaddr. This fixes the problem that assigning more than 2 IPv4
aliases to loopback interface fails to create routing table entry.
2003-06-13 07:59:57 +00:00
kent
53af708049
Fix a regression of the last commit.
...
ICH4 needs IGNORE_CODEC_READY_MAYBE.
2003-06-13 07:27:17 +00:00
kent
1384d4d948
Regen
2003-06-13 07:14:58 +00:00
kent
f968f948fa
Add some ICH5/ICH5R device IDs.
2003-06-13 07:14:18 +00:00
thorpej
3178a4f415
Add support for dynamic rescan of cache service logical drives, using
...
the ioctl issued by the ICP RAID management libraries (used by the
storcon and iirconfig tools). This requires some infrastructure changes:
* Add a "service callback" mechanism that the ld driver (cache service)
and the iopsp driver (raw service) can register with the icp parent.
Right now this callback allows the children to adjust their notion of
how many command openings are available.
* Add a mutex around the icp ioctl handler, allowing only one thread
to execute an ioctl at a time.
* Add a way to freeze the controller command queue. We stop all I/O
while processing rescans (due to the semantics of icp_cmd()).
* Make icp_cmd() work when !cold.
* Add detach support to ld@icp.
2003-06-13 05:57:30 +00:00