Commit Graph

64455 Commits

Author SHA1 Message Date
pk
f707a950e3 Remove out-dated MP comment. 2003-06-18 09:34:22 +00:00
drochner
1a03e79900 don't #include <sys/dkstat.h> where it is (appearently) unused 2003-06-18 08:58:34 +00:00
oki
6873b338d6 Add support in-kernel PPPoE server.
This may work with one PPPoE session.
If you want to use it, #define PPPOE_SERVER in somewhere,
or add options PPPOE_SERVER in kernel config file.

This is experimental code, and good start point for future development.
2003-06-18 08:12:51 +00:00
itojun
faef0b82e9 install host route for p2p interface even if there's connected net route
by broadcast interface.  PR 21903.
2003-06-18 06:42:34 +00:00
bsh
4b87783212 in cominit(), turn on UUE bit in IER register if it is PXA2x0's
built-in UART.
2003-06-18 04:35:23 +00:00
bsh
73635ffe34 use PMAP_DOMAIN_KERNEL and DOMAIN_CLIENT instead of magic numbers. 2003-06-18 03:17:49 +00:00
bsh
d8193564ca protect with #ifndef _LOCORE so that assembler codes can share
definitions in this file such as PMAP_DOMAIN_KERNEL.
2003-06-18 02:58:09 +00:00
bsh
ddb2467dd1 make this compile again:
+ we don't have struct pxa2x0_softc anymore.
   + call pxa2x0_clkman_config() to provide clock to LCDC block.
2003-06-17 09:43:14 +00:00
bsh
3c87cee70f white space nit. 2003-06-17 09:32:38 +00:00
simonb
33b48b0823 Micro-optimisation- move the "pgs == NULL" check from the previous
change to immediately after the malloc call.  This can't fail in
the non-malloc case.

Reviewd by YAMAMOTO Takashi.
2003-06-17 04:17:37 +00:00
thorpej
452a8fdae2 Rename IPL_IMP -> IPL_VM. 2003-06-16 20:00:56 +00:00
heas
d00e9c2510 Define option BLINK in option file opt_auxio.h and include it in auxio.c.
approved by martin@
2003-06-16 19:24:51 +00:00
thorpej
bd370c9c04 Give every obio implementation a size and width locator. 2003-06-16 17:40:49 +00:00
rjs
67e2545285 Regen. 2003-06-16 12:46:39 +00:00
rjs
946b6bccf2 Add vendor IDs for Ericsson, Hirose and AEI. 2003-06-16 12:45:20 +00:00
itojun
7a78321a15 tighten sanity check on ipsec policy. sync w/kame 2003-06-16 08:11:03 +00:00
fvdl
3bc458d7f1 Bump version to 1.6U, because of PCI attach args changes. 2003-06-15 23:11:25 +00:00
fvdl
7dd7f8baa2 Handle 64bit DMA addresses on PCI for platforms that can (currently only
enabled on amd64). Add a dmat64 field to various PCI attach structures,
and pass it down where needed. Implement a simple new function called
pci_dma64_available(pa) to test if 64bit DMA addresses may be used.
This returns 1 iff _PCI_HAVE_DMA64 is defined in <machine/pci_machdep.h>,
and there is more than 4G of memory.
2003-06-15 23:08:53 +00:00
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