aymeric
ee20410a5e
ANSIfy
2003-06-26 20:45:29 +00:00
aymeric
b0c4d54ee9
. ANSIfy
...
. include alloc.h
. while there, fix a bug in prom2boot() introduced in rev. 1.11
2003-06-26 20:44:51 +00:00
aymeric
e9cabc8553
. ANSIfy
...
. Fix a missing return
. replace %x by %p to print pointers in OFW_DEBUG printf's
2003-06-26 20:43:48 +00:00
aymeric
110312e089
declare functions from corresponding C file
2003-06-26 20:42:38 +00:00
drochner
9c0e4279cc
remove unneeded cpu_feature declaration
2003-06-26 16:48:18 +00:00
drochner
491828ab43
cpu_feature is not set (nor used) by locore since SMP, so move the
...
definition to C code
2003-06-26 16:47:15 +00:00
drochner
1fa5ee8d10
make cpu_feature unsigned, just like ci_feature_flags
2003-06-26 16:45:19 +00:00
drochner
31f515916f
-make cpu_feature unsigned, just like ci_feature_flags
...
-clean up duplicate declaration of cpu_info_primary
2003-06-26 16:41:32 +00:00
drochner
470de734bd
remove redundant "extern" declarations
2003-06-26 16:37:20 +00:00
he
f250a35e96
#ifdef _KERNEL_OPT police; identd defines _KERNEL before some includes.
2003-06-26 13:20:55 +00:00
he
16c7a2a0b2
Declare USELEDS option, now that locore.s tries to include opt_useleds.h.
2003-06-25 21:02:19 +00:00
cdi
2b74542ac0
Initial commit of a 1-stage boot loader for NetBSD/cobalt. Only booting off
...
the hard drive is supported at the moment.
2003-06-25 17:24:21 +00:00
martin
89955ad8b5
#ifdef _KERNEL_OPT police
2003-06-25 14:38:53 +00:00
simonb
8eda62491d
Need to pass the address of the lock to simple_unlock().
2003-06-25 05:37:00 +00:00
thorpej
7401047528
Add a way to force (at compile time) use of int13 extensions.
2003-06-25 04:21:51 +00:00
uwe
a8c0780b08
Use CPUFLAGS instead of COPTS to pass -march=armv4 -mtune=strongarm.
2003-06-25 01:07:55 +00:00
dyoung
eb4a83a039
Bracket the opt_multiprocessor.h #include with #ifdef _KERNEL_OPT.
...
It won't compile, otherwise. I figure this is right because it's
done everywhere else.
2003-06-25 00:03:13 +00:00
martin
c591ec88c0
FPU_EMULATE moved to arch/m68k/conf/files.m68k
2003-06-24 19:56:22 +00:00
martin
a394980af5
Move (and unify) PMAP_DEBUG and FPU_EMULATE here - it is tested in
...
shared files.
2003-06-24 19:55:22 +00:00
igy
1625aa9110
remove LIBSA_SINGLE_DEVICE and LIBSA_SINGLE_FILESYSTEM
2003-06-24 12:27:03 +00:00
tron
64e5c9eb7c
Remove "lib" directory in "cleandir" target.
2003-06-24 09:38:35 +00:00
thorpej
cb53206514
* Defflag CPU30MHZ.
...
* Unrelated cosmetic change in files.pc532.
2003-06-24 04:57:58 +00:00
thorpej
527224f9c6
* defflag NS381.
...
* There is no MATH_EMULATE option for ns32k; don't try to include
opt_math_emulate.h. Instead, comment that we should glue in
the softfloat library in this case.
2003-06-24 02:48:56 +00:00
he
609811d881
Follow up the rename of _SPL_IMP to _SPL_VM.
2003-06-23 22:18:10 +00:00
he
e60a4dc52b
Extend the P5064 and P6032 comcnattach() with a type argument as well,
...
I'm assuming these both use COM_TYPE_NORMAL.
2003-06-23 22:17:11 +00:00
aymeric
8fe6b1b1db
call platform.softintr_init() only if it is non-NULL.
...
This allows NetBSD/ofppc to boot up to userland (i.e. to the point where init
will not launch properly) under psim.
2003-06-23 20:14:33 +00:00
aymeric
23cacb54a0
s/PHYS_TO_PCI_MEM/PHYS_TO_BUS_MEM/
...
s/PCI_MEM_TO_PHYS/BUS_MEM_TO_PHYS/
to match generic PPC code
Noticed by Nicolas Ollinger
2003-06-23 20:12:19 +00:00
pk
dc05fd9fd2
sun4/sun4c: move/add write_user_windows() at the top of pmap_[k]remove() and
...
pmap_[k]enter().
2003-06-23 15:45:08 +00:00
martin
864f19482a
#ifdef _KERNEL_OPT police
2003-06-23 14:59:21 +00:00
martin
cd7023a3eb
Backout previous, this file is not affected by kernel options.
2003-06-23 14:48:37 +00:00
pk
74806170e3
According to my calculations, the cross-over point for the amount of work
...
needed to flush an entire segment from the sun4/sun4c caches is at 16 pages.
2003-06-23 13:43:20 +00:00
pk
dc6eeb9b47
Use pre-computed `# of cache lines' where appropriate.
2003-06-23 13:34:28 +00:00
thorpej
49b91b6679
Adapt to the Scheduler Activations changes.
...
Boots to multi-user when compiled with GCC 3.3 (20021123) (pre-3.3 release),
boots to single-user but hangs going multi-user when compiled with 3.4
(20030623). This is most likely a compiler problem.
2003-06-23 13:06:54 +00:00
thorpej
5fb00ee32f
Basic ELF definitions for ns32k. No relocations yet.
2003-06-23 12:59:27 +00:00
martin
4858ba3d93
Protect kernel opt_*.h include by #ifdef _KERNEL_OPT
2003-06-23 12:56:07 +00:00
martin
d505b18964
Make sure to include opt_foo.h if a defflag option FOO is used.
2003-06-23 11:00:59 +00:00
chris
93632a0574
Fix for port-arm/21962. Rather than fixing the #ifndef spl0, I removed
...
the test as spl0 is actually a macro for splx(0). The code now calls
splx(0)
(note building with the #ifdef fixed, caused the build to fail on a
GENERIC acorn32 kernel.)
2003-06-23 09:05:22 +00:00
simonb
c888cf2bde
Removed "extended precision" definitions left over from when this was
...
originally copied from i386/include/ieee.h.
Fixes PR port-pc532/21960 from Jason Thorpe.
2003-06-23 06:59:12 +00:00
nakayama
64dc0184cc
s/options\t/options \t/
2003-06-20 03:15:05 +00:00
hamajima
b3120a356c
Fix wdc_obio_dma_init() confused WDC_DMA_LBA48 with WDC_DMA_READ.
...
This was tested by jtb@netbsd.org .
2003-06-19 22:36:06 +00:00
tsutsui
cc8f388df1
Make sure to call c_nec_eisa_cons_init() also on RISCserver 2200
...
so that its Cirrus VGA console is properly initialized.
Fixes problem reported by Bob Meader.
2003-06-19 16:00:19 +00:00
martin
e0b0d04377
Ooops, I didn't intend to enable kgdb by default here.
...
(Since the related changes are not yet commited, it doesn't even compile)
2003-06-19 14:39:52 +00:00
agc
7ebe0b8c4b
Make this compile.
2003-06-19 14:08:54 +00:00
kanaoka
d25a3f14d9
- Remove the unused polling code.
...
- Clean up the code a bit.
2003-06-19 10:13:14 +00:00
pk
db543774bf
pmap_bootstrap4_4c():
...
* enable caching of message buffer & cpuinfo
* it ought to be no longer necessary to not write-protect the kernel
text in order to support KGDB
2003-06-18 14:24:55 +00:00
bsh
7aeb49a6b4
don't map PCI device's I/O ports at address 0.
...
This fixed a problem when 3com 3C905 is a only PCI card on SMDK2800.
2003-06-18 10:56:35 +00:00
bsh
dd27d238b6
MD part for Intel Lubbock (DBPXA250).
...
built-in UART and on-board ethernet are supported for now.
LCD, PCMCIA, CF, PS/2, AC97 will follow shortly.
2003-06-18 10:51:15 +00:00
bsh
1928d3ed36
enable BTUART
2003-06-18 09:40:06 +00:00
martin
dbe43da717
Add missing COMPAT_ options.
2003-06-18 09:38:56 +00:00
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
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
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
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
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
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
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
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
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
simonb
67417f64a8
Sprinkle some TABs to line up the columns in the cputab models array.
2003-06-13 04:29:39 +00:00
msaitoh
6f197c635e
Add support IBM 405GPr
2003-06-13 04:05:26 +00:00
petrov
49d4047a8f
Pick up from OpenBSD:
...
The sab driver sometimes gets out of sync with the hardware. This can
cause the serial console to hang.
2003-06-13 01:33:32 +00:00
scw
d984534d7f
The GT is always host on both PCI busses.
2003-06-12 19:21:09 +00:00
drochner
0256604827
nuke unnecessary #include <sys/dkstat.h>
2003-06-12 14:44:36 +00:00
simonb
e02e7ca6de
Consistency nit- always use "#if defined(foo)" for checking MIPSn.
2003-06-12 14:35:56 +00:00
scw
e05ce46e3e
Oops, delete an accidentally committed local change.
2003-06-12 08:47:21 +00:00
scw
0328210bcc
Allow <machine/bus.h> to override the definition of BUS_DMA_COHERENT.
...
For example, machine-dependent code can make it equivalent to
BUS_DMA_NOCACHE if the hardware cannot reliably snoop the bus.
2003-06-12 08:43:07 +00:00
scw
b4e18ad59c
Back out the last change after consultation with Matt Thomas. It hurts
...
platforms with fully functional bus snooping.
2003-06-12 08:30:41 +00:00
scw
afe2393675
In _bus_dmamem_map(), make BUS_DMA_COHERENT behave the same way as
...
BUS_DMA_NOCACHE.
2003-06-12 07:32:28 +00:00
uwe
69a7063772
In initarm() turn the LED yellow at the beginning, green at the end.
...
Rewrite netwinder_restart to be self-contained, when it runs the MMU
is disabled. Set cpu_reset_address to the physical address of
netwinder_restart, not virtual.
2003-06-12 02:41:32 +00:00
petrov
7c89964036
Use cdevsw_lookup_major.
2003-06-11 22:51:03 +00:00
petrov
175f7ab29d
Comment out debug output.
2003-06-11 22:50:12 +00:00
uwe
8580b490b0
Avoid using SIZEOF to compute output section LMAs, it doesn't mix well
...
with orphaned sections like link_set_*. Per discussion with Jason
Thorpe <thorpej@netbsd> on tech-toolchain.
Addresses kern/21844.
2003-06-11 21:49:40 +00:00
fvdl
4812bbf71f
Avoid bad free() calls for failed allocations. From enami.
2003-06-11 21:36:49 +00:00
scw
e9bb3437d0
- Correct a couple of comments.
...
- Set AC97_MODR to the right value.
- Add AC97_FEFIE.
2003-06-11 20:43:01 +00:00
manu
e4fbe87208
Add COMPAT_DARWIN, and comment out anything related to it. It is too
...
much experimental to be included into GENERIC kernels.
2003-06-11 16:24:13 +00:00
simonb
f1f77c261e
Don't use "return;" as last statement of a void function.
2003-06-11 15:27:57 +00:00
hamajima
0659c2f915
Support the PowerBook G4 12-inch (and maybe 17-inch).
...
Kauai ATA, new obio chip, and Japanese keymap for WSDISPLAY_COMPAT_RAWKBD
I tested only 12-inch Japanese model.
2003-06-11 07:35:39 +00:00
simonb
9e9abd6653
Change MIPS3_SR_FR_32 to MIPS3_SR_FR. Both the old R4000 manual and the
...
current MIPS64 manuals don't use the "32" in the bit name.
2003-06-10 06:42:06 +00:00
simonb
789329a94f
Remove definitions and usage of MIPS_COP_0_STATUS_REG and
...
MIPS_COP_0_CAUSE_REG - use MIPS_COP_0_STATUS and MIPS_COP_0_CAUSE
instead.
2003-06-09 12:20:37 +00:00
simonb
519e8df6a1
Don't use magic numbers in asm code (use MIPS_COP_0_STATUS instead
...
of "12").
2003-06-09 07:46:20 +00:00
reinoud
9af716fd9a
Make smbfs work on NetBSD/acorn32 ! it missed an entry in majors.acorn32
...
and an entry in the MAKEDEV
2003-06-08 20:12:33 +00:00
scw
12b4852056
Gah, fix previous. s/defopt/defflag/
2003-06-06 19:56:59 +00:00
scw
84f125b78d
Modify db_{read,write}_bytes() to do a single 16- or 32-bit read/write if
...
'size' is 2 or 4 respectively.
This makes reading/writing hardware registers work as expected in all cases.
2003-06-06 10:07:07 +00:00
scw
72ab47548b
Add entries for byte-wide {read,write,set} region.
2003-06-06 09:05:42 +00:00
dsl
63336846ea
Increase sizes of space for ramdisks
2003-06-05 14:33:51 +00:00
scw
233a67b251
- Rearrange the PXA2x0 support code to better support attaching
...
child drivers such as interrupt and gpio controllers.
- Add a function to probe SDRAM size at boot time.
- Add a function to configure the Clock Manager's CKEN settings.
- Add an INTC driver.
- Add a GPIO driver.
- Add attach glue for the PXA2x0's "almost" 16550-compatible uarts.
- Tweak the LCD driver to use the GPIO driver's services for setting
up GPIO pin function.
2003-06-05 13:48:26 +00:00
reinoud
ebf458470d
New version of the AKF60 monitor definition file.
2003-06-04 23:24:56 +00:00
bjh21
6a5af969d4
In mcstop(), don't clear IFF_UP. Other drivers don't mess with IFF_UP
...
internally, other than to set it when they gain their first address.
Every caller of mcstop() bar one was either preserving the state of IFF_UP
itself or was conditional on its already being clear, so the only effect of
this is to simplify the code and to change that one case, thereby curing
PR port-macppc/12088 (underflows on "mc" cause it to be taken down).
2003-06-04 21:30:06 +00:00
simonb
b71607572c
Remove prototype for strtoul() that was in the wrong place.
2003-06-04 13:30:05 +00:00
ichiro
079fe66132
delete unneed bit for uart initialize.
...
and bug fix mistaken function
2003-06-03 14:13:30 +00:00
reinoud
af73cdf2ea
Cleanup DRAM video memory allocation. This needed to be done anyway and it
...
also ought to solve bootproblems with the A7000(+) family.
As an extra benefit, the surplus memory of the screen is returned to the
memorypool.
2003-06-03 12:53:47 +00:00
ichiro
bedffd532c
fix interrupt number
...
swap uart0 and uart1
2003-06-03 09:20:20 +00:00
ichiro
745355a88e
add pci configuration register and commands
2003-06-02 10:40:52 +00:00
simonb
9f9b329dbc
Remove needless line wrap.
2003-06-02 05:55:11 +00:00
gmcgarry
9dcb47fcad
Add devices hanging off GPIB.
2003-06-02 04:03:04 +00:00
gmcgarry
0a3dc90fb5
Pull-in GPIB.
2003-06-02 04:02:20 +00:00
ichiro
b65e980ad1
change into the form KNF
2003-06-01 21:35:39 +00:00
martin
ce22b9eb8c
Add support for SMBFS.
2003-06-01 20:30:49 +00:00
martin
c299932d8d
Add nsmb.
2003-06-01 20:19:38 +00:00
fvdl
80dd75c603
mpb_name may not be set for a bus, since it's possible a PCI bus
...
doesn't show up when looking at ACPI, but is found on a ppb. So
check if it's NULL before doing a strcmp on it.
From Takayoshi Kochi.
2003-06-01 19:14:20 +00:00
ichiro
ff3a6a2721
add unit index of uart
2003-06-01 01:52:40 +00:00
ichiro
4d110df451
add console unit number to configuration parameter.
...
move structure of uart information
2003-06-01 01:49:56 +00:00
thorpej
22a1ce1e9d
Add -ffreestanding.
2003-06-01 00:43:47 +00:00
uwe
31d5a76391
Bump SYMTAB_SPACE to make symbol table fit.
2003-06-01 00:06:24 +00:00
uwe
4b647d9bfa
Uncomment igsfb and wsdisplay now that igsfb(4) is considered stable.
...
We still need to have CyberPro memory mapped early in the boot process
to use igsfb as console.
2003-06-01 00:03:59 +00:00
ichiro
a52b2549e2
print description of Console and enable ixpcom0/1 in configuration
2003-05-31 23:57:45 +00:00
thorpej
9843692f24
Correct interrupt mapping when a device with a PCI-PCI bridge is
...
plugged into the PCI-X slot.
2003-05-31 22:35:04 +00:00
hannken
ff0f991625
Add symtab to kernel image using dbsym(8).
...
Add /dev/ksyms.
2003-05-31 12:00:59 +00:00
ichiro
c5980a60b3
cosmetic change & some bugfix
2003-05-31 11:27:01 +00:00
ichiro
972193a992
some bug fix
2003-05-31 06:24:18 +00:00
kristerw
840aee882a
Use __asm instead of asm, to keep lint happy.
2003-05-31 03:05:45 +00:00
kristerw
28f5335a9f
Fix LINTSTUB comments.
2003-05-31 01:40:05 +00:00
ichiro
081a8ed553
led support for IXDP425/ZAO425
2003-05-31 01:16:31 +00:00
ichiro
0c9cb92a41
bug fix
2003-05-31 00:58:40 +00:00
kristerw
2794d56b90
Use __asm instead of asm, to make lint happy.
2003-05-31 00:38:05 +00:00
kristerw
19827361f5
Add some LINTSTUB comments.
2003-05-31 00:36:46 +00:00
thorpej
6955d47610
Make big-endian mode a little closer to working on the BRH. I can talk
...
to both the EEPROM *and* the PHY on the Ethernet interface now, at least,
though it is still not completely working.
Many thanks to Stephen Goadhouse at ADI for some hints.
2003-05-30 18:38:02 +00:00
kleink
9adea725c5
{u,}intptr_t are ints again.
2003-05-30 11:07:38 +00:00
simonb
94582f47bd
#define<tab>
2003-05-30 06:41:00 +00:00
fvdl
afff857edc
Add the options MPBIOS_SCANPCI and MPACPI_SCANPCI to configure PCI roots
...
with the MPBIOS/ACPI bus information, by walking through the buses, and
descending down every bus that hasn't been marked configured yet.
2003-05-29 20:22:28 +00:00
christos
0328813526
Back to unsigned int and int for {u,}intptr_t, otherwise java has no chance...
2003-05-29 18:06:55 +00:00
simonb
d3706e51e4
Remove some useless comments.
2003-05-29 03:53:57 +00:00
simonb
0ddc5a67fd
KNF nit.
2003-05-29 02:22:51 +00:00
kristerw
370fc7eb10
Use __asm instead of asm, to make lint happy.
2003-05-28 21:35:13 +00:00
fvdl
3e4b8e3852
Another pair of locks to pacify UVM (XXX -- not needed).
2003-05-27 20:05:35 +00:00
christos
ecaad897e4
make this compile again with -DDEBUG
2003-05-27 16:46:16 +00:00
christos
f74633f4ed
another dependency on assym.h
2003-05-27 16:46:03 +00:00
martin
b812b130a9
Remove commented out and nowadays incorrect KGDB declarations.
2003-05-26 21:12:07 +00:00
thorpej
eaf50189f3
Don't build a big-endian image on platforms which don't run big-endian.
2003-05-26 15:17:38 +00:00
thorpej
5f03eb91bb
Don't set the output format explicitly; let the linker use its defaults.
2003-05-26 15:07:53 +00:00
fvdl
c08a75d828
Correct a few maximum values.
2003-05-25 19:29:35 +00:00
tsutsui
173d4eacee
- Remove softintr(9) stuff.
...
- Fix a typo.
2003-05-25 15:46:15 +00:00
tsutsui
8f188ee39f
Remove unused cpu_spl? functions.
2003-05-25 15:03:21 +00:00
tsutsui
1f8c44a20a
Use splbio to block SCSI interrupts.
2003-05-25 15:00:38 +00:00
tsutsui
d054fe07eb
Remove __BROKEN_CONFIG_UNIT_USAGE.
...
It seems fixed long ago.
2003-05-25 14:40:30 +00:00
tsutsui
71ef8e5915
Use common mips/softintr.c for softintr(9) on evbmips.
...
Ok'ed by simonb.
2003-05-25 14:08:19 +00:00
tsutsui
972f964a71
Switch to use mips/softintr.c for softintr(9).
2003-05-25 14:04:45 +00:00
tsutsui
c9058cdc00
Add MI softintr(9) support with common mips/softintr.c.
2003-05-25 14:02:47 +00:00
tsutsui
51260decbe
Add generic software interrupt support with mips/softintr.c.
2003-05-25 14:00:11 +00:00
tsutsui
00415d8082
Prepare common routines for MIPS generic software interrupt.
2003-05-25 13:48:00 +00:00
tsutsui
6eced4bc4e
Fix part number in comment.
...
hp300/dev/scsireg.h says it's HP 98265A SCSI, and
I can't find any description about 98658.
(typo of 98568A backplane expander?)
2003-05-25 05:09:26 +00:00
tsutsui
33ae4dd814
Regen from diodevs rev 1.6:
...
> Fix part number of DIO SCSI interfaces.
> It should be 98265A, and 98625A is fast HP-IB interface.
2003-05-25 04:59:57 +00:00
tsutsui
de711bc064
Fix part number of DIO SCSI interfaces.
...
It should be 98265A, and 98625A is fast HP-IB interface.
2003-05-25 04:56:36 +00:00
ichiro
fda7b1bfdf
About CP14 register, ixp425 does not need xscalereg.h
2003-05-25 01:30:52 +00:00
ichiro
46192ffb9b
add registers
...
Performance Monitoring Unit - Coprocessor14
2003-05-24 23:48:44 +00:00
kristerw
f14bf619f4
Make lint happy by changing asm to __asm.
2003-05-24 14:37:31 +00:00
gmcgarry
8e726b5268
Clean-up the DIO bus. Includes two main changes:
...
1) Pass address and ipl locators at attachment;
2) Remove hack which made the internal HP-IB controller
look like a DIO device.
The hack to allow the nhpib driver to support internal and DIO
controllers appears to be a leftover from 4.3BD where it was not
possible to have a driver attach to different busses. NetBSD has
supported bus-dependent attachments for a long time.
2003-05-24 06:21:21 +00:00
thorpej
80c79650a2
Now that the pmap doesn't fall over when we use pld, enable it if
...
__XSCALE__ is defined. This nearly doubles the lmbench bw-pipe
performance on an ADI BRH board.
2003-05-24 05:31:04 +00:00
tsutsui
12d9a1e369
SBSIZE -> SBLOCKSIZE
2003-05-24 05:11:59 +00:00
thorpej
84b00019df
Comment out DEBUG_MEMSIZE.
2003-05-24 03:38:58 +00:00
ichiro
97106736c6
add IXDP425 PCI interrupt
...
fix some typo
2003-05-24 01:59:32 +00:00
ichiro
9b42bcea42
fix kernel base address
...
delete offset of elf header 0x100
so we use binary kernel(netbsd.bin)
2003-05-24 01:55:56 +00:00
leo
f480231679
usr/mdec reorg for Milan support.
...
Note that installboot needs reworking too. Installing bootblocks on -current
is no longer possible until this is done.
nolonger
2003-05-23 21:56:34 +00:00
leo
8880b6b888
usr/mdec reorg for Milan support
2003-05-23 21:30:42 +00:00
thorpej
539c89a0c4
Add ksyms.
2003-05-23 14:23:46 +00:00
simonb
4f5bd23f68
scdebug_call() takes an LWP and not a proc as it's first argument.
2003-05-23 12:58:18 +00:00
ichiro
2ad510ea55
delete definition (DEBUG)
2003-05-23 10:14:03 +00:00
ichiro
07fcae9efc
hide debug messages(mapping)
2003-05-23 09:41:02 +00:00
ichiro
a735a14d5a
delete unused definition
2003-05-23 09:38:05 +00:00
ichiro
6c281fafc6
remove definition of debug
2003-05-23 09:34:42 +00:00
petrov
f52795a415
ffb added.
2003-05-23 06:57:58 +00:00
petrov
49f3f8ccaf
Port of OpenBSD ffb driver written by Jason L. Wright.
2003-05-23 06:51:15 +00:00
briggs
5ce8e50a2e
Need aprint_naive() with aprint_normal() change. Thanks, Jason.
2003-05-23 05:47:11 +00:00