thorpej
2c47b0a10f
Pasto in last.
2001-11-26 23:52:58 +00:00
thorpej
ed112809c9
Allow port-specific Makefile fragments to specify a list of additional
...
genassym.cf fragments, if desired.
2001-11-26 23:44:58 +00:00
thorpej
9d58f1fcb2
Rename NOCACHE -> PPC_4XX_NOCACHE to avoid conflict with the namei
...
flag of the same name.
From Frank van der Linden <fvdl@wasabisystems.com>.
2001-11-26 23:31:56 +00:00
fredette
f0002ba642
Added macros for the bits in the SYSBUS byte, and macros
...
for the i82596 PORT access interface, from the documentation
for that chip. These help clarify writes to the SYSBUS
part of the SCP, and PORT usage by i82596-aware drivers.
2001-11-26 23:30:59 +00:00
thorpej
9235283af1
Rename NOCACHE -> PPC_4XX_NOCACHE to avoid conflict with the namei
...
flag of the same name.
From Frank van der Linden <fvdl@wasabisystems.com>.
2001-11-26 23:26:33 +00:00
thorpej
77fdde7f2c
Reset the unused RPN bits in a TLBLO to 0, as specified by the PPC401B3
...
user's manual, page 8-40.
From Frank van der Linden <fvdl@wasabisystems.com>.
2001-11-26 23:24:20 +00:00
thorpej
2d89f9075b
Move interrupt-related stuff out of stubs.c into intr.c.
2001-11-26 23:19:04 +00:00
thorpej
bb706190b3
Add code to run the XScale cache in write-though mode, and do so
...
for now...
2001-11-26 22:26:44 +00:00
manu
46f63b37c1
Removed an unused line
2001-11-26 21:44:53 +00:00
manu
12c949a188
Added COMPAT_IRIX (being developped, not functionnal at that time)
2001-11-26 21:38:41 +00:00
manu
be8254f3a8
Added code to match IRIX N32 binaries
2001-11-26 21:36:24 +00:00
fredette
708a12fced
A new config file for VME-only machines
2001-11-26 21:20:35 +00:00
fredette
7bed926c6e
COMPAT_SUNOS requires the 1.3 sigreturn code, so include it
...
even if COMPAT_13 isn't defined.
2001-11-26 21:10:32 +00:00
thorpej
0ca43a5fde
Use <arm/arm32/psl.h>, not <machine/psl.h>.
2001-11-26 20:51:57 +00:00
thorpej
87f09650f1
Oops, don't use the generic spl.S; hpcarm provides its own.
2001-11-26 20:49:52 +00:00
thorpej
c8c624e4aa
Don't include <machine/psl.h> directly.
2001-11-26 20:49:04 +00:00
thorpej
e0c4ce6999
Use <arm/arm32/psl.h> rather than <machine/psl.h>.
2001-11-26 20:43:46 +00:00
thorpej
87cab44e4e
Delete <machine/psl.h> from the ARM ports. It's not a header that
...
we need to provide to MI code or to userland, and it's also not a
header that generic ARM code should be including directly.
2001-11-26 20:41:42 +00:00
fredette
83c021b2a7
Added quirk entries for Adaptec and Emulex SCSI interposer boards.
...
Decode a limited set of SASI/SCSI-1 sense codes, and under sun2
only, conjure up INQUIRY responses for these boards.
2001-11-26 20:39:29 +00:00
jdolecek
fd7c36bef3
need compat_exec.c for some old a.out formats
2001-11-26 20:38:15 +00:00
thorpej
534b950d29
Move the interrupt-related file declarations into port-specific
...
config descriptions so that each port choose whether or not to
use it.
2001-11-26 20:33:43 +00:00
thorpej
7b3d7b3072
Remove the NEWINTR stuff; it's not used, incomplete, and I'm trying
...
to detangle the ARM interrupt code.
2001-11-26 20:26:20 +00:00
augustss
380fd47edb
Change wchan name for usb task thread.
2001-11-26 20:16:55 +00:00
fredette
ec3eeda2fe
Use bus_space on sun2.
...
Update the comment to match list of bus_space-using ports.
Removed some old unused asm() labels.
2001-11-26 20:15:48 +00:00
yamt
adbdd3e6f6
add $NetBSD$ and copyright notice and rcsid.
2001-11-26 19:55:38 +00:00
yamt
f6b0ec4cce
- regen for IBM SCSI PCMCIA.
2001-11-26 19:49:34 +00:00
yamt
64b2149540
add IBM SCSI PCMCIA.
2001-11-26 19:48:55 +00:00
yamt
dbaca00330
move dev/isa/cs89x0{.c,{var,reg}.h} into dev/ic
...
and split isadma parts into /dev/isa/cs89x0isa*.
2001-11-26 19:17:05 +00:00
fredette
7eac246b74
Added support for running 68010 SunOS executables.
2001-11-26 18:15:16 +00:00
thorpej
8ec81cf263
Sprinkle CPWAIT around to enforce some barriers. Also deal with some
...
pre-B-step errata: must clean-dcache-line to an address before
invalidate-dcache-line to that address, or the dirty bits will not
get cleanred in the dcache array for that line.
2001-11-26 18:09:08 +00:00
fredette
3de224080a
trap1 also needs to be handled under COMPAT_SUNOS.
2001-11-26 18:08:37 +00:00
fredette
877ea05895
Only declare the console keyboard on zs if it's a Sun-2
...
or later keyboard.
2001-11-26 18:06:36 +00:00
thorpej
d8415403ba
Fix brain'o in handling of schedhz and profhz. Also, make sure to
...
compute tickfix after computing tick (not that tickfix should ever
be non-zero, but there for completeness).
2001-11-26 18:01:05 +00:00
fredette
6aa55077e7
Disabled some more things that lighter kernels don't need,
...
and picked up some formatting fixes from GENERIC.
2001-11-26 17:51:08 +00:00
yamt
9324423e84
remove "stg", that I accidentally commited.
...
thanks, Tsutsui-san.
2001-11-26 14:21:33 +00:00
shin
3dfc0ff3ab
fix pasteo.
2001-11-26 13:16:17 +00:00
yamt
b43f7a4791
add pcmcia frontend for cs driver.
2001-11-26 11:17:34 +00:00
yamt
7af704bf48
- add power management code.
...
- use ether_ioctl instead of its own code.
(make ifconfig down works properly.)
2001-11-26 11:14:50 +00:00
tron
e75321130b
Back out new "hme" driver because it causes a performance regression on
...
"netio" on an U5.
2001-11-26 10:39:29 +00:00
tron
7287466499
Bug fixes for VLAN handling supplied by Klaus Klein in private e-mail.
2001-11-26 06:51:12 +00:00
ichiro
a103dcf333
support BUFFALO CFtype WLAN card
...
wi0 at pcmcia1 function 0: BUFFALO, WLI-CF-S11G,
wi0: 802.11 address 00:07:40:0f:03:ea
wi0: using RF:PRISM2.5 MAC:ISL3873, Firmware: 1.3 variant 4
2001-11-26 04:34:56 +00:00
ichiro
1c1ddcc034
regen
2001-11-26 04:19:12 +00:00
ichiro
3dcc51c184
add device: BUFFALO AirStation CFtype WLAN Card
2001-11-26 04:18:26 +00:00
itojun
8391ace8b7
in_cksum.s is needed for inet6 too
2001-11-26 02:55:39 +00:00
itojun
969cf96980
make it compile without INET
2001-11-26 02:41:20 +00:00
thorpej
3b97bd4996
Remove dummy includes.
2001-11-26 01:03:58 +00:00
thorpej
da03707c2f
Moved to <sys/disklabel_acorn.h>
2001-11-26 01:03:23 +00:00
thorpej
e4b45721eb
Remove Shark-specific header file.
2001-11-26 01:03:00 +00:00
thorpej
dc19fe137e
Don't install includes which userland doesn't need.
2001-11-26 01:02:28 +00:00
jonathan
879d358535
* Add entry for Dolphin Peripherals 4036 dual-serial card.
...
(Note: PCI ID conflicts with Dolphin Peripherals 4025; a 4025 may
attach two serial units, but I cannot find one to test).
2001-11-26 00:41:24 +00:00
thorpej
57854f014a
Install disklabel_acorn.h
2001-11-25 22:49:39 +00:00
tron
99756bfe86
Pull in Jason Wright's latest changes to the "hme" driver from OpenBSD.
...
This supports direct DMA from and into mbuf cluster, and VLAN
handling is done a bit differently.
2001-11-25 22:12:01 +00:00
augustss
a6ba091eef
Add a quirk for Olympus C-1. From FreeBSD (by iedowse)
2001-11-25 19:15:46 +00:00
augustss
596224e54f
Pay attention to the timeout value passed down by the scsipi layer.
2001-11-25 19:05:22 +00:00
thorpej
4fbe7a81e0
G/c riscbsd_partition; it's not used by anything, and is the same
...
as the riscix_partition anyway.
2001-11-25 19:04:48 +00:00
thorpej
013b705fdc
G/c the unused (and #if 0'd) bits of cpu_disklabel. Fetch disklabel_acorn.h
...
from the correct place.
2001-11-25 19:02:03 +00:00
augustss
6fcfa35836
Regen.
2001-11-25 17:17:42 +00:00
augustss
f070b78088
Add Olympus C-1.
2001-11-25 17:17:22 +00:00
thorpej
1b71762f33
Move disklabel_acorn.h to <sys/disklabel_acorn.h>, much like we did
...
with disklabel_mbr.h. More cleanup yet to come.
2001-11-25 16:22:47 +00:00
minoura
090189cb5a
Surround a conditionally used varable with #if.
2001-11-25 16:11:56 +00:00
minoura
bbfb453233
Remove unused variables.
...
Correct printf format strings.
2001-11-25 16:00:05 +00:00
thorpej
2b74082b7b
End the "new ARM includes strategy" experiment. The new strategy
...
broke too many assumptions makde by other parts of the source tree,
and the strategy and how it was supposed to work was never discussed
on tech-userlevel, nor was it applied consistently (to all ARM ports
and to other ports which have common MACHINE_ARCH code, such as MIPS,
m68k, powerpc).
Verified to complete a full "make build" on cats, dnard, evbarm,
and netwinder.
2001-11-25 15:55:53 +00:00
minoura
fe68996902
Previous commit was incomplete.
2001-11-25 15:45:26 +00:00
minoura
e8ac9084a2
Make this file compile again.
2001-11-25 15:43:06 +00:00
minoura
bc2457e5a5
Delete unused variables.
2001-11-25 15:42:23 +00:00
soren
bf7d9c855e
Adjust for dsclock name change.
2001-11-25 15:26:03 +00:00
soren
07992b8797
Forgot pooka's license header.
2001-11-25 15:13:53 +00:00
soren
45192487a5
O2 RTC attachment, based on code from Antti Kantee.
2001-11-25 15:05:04 +00:00
takemura
21006d2057
Added SigmarionII entry.
2001-11-25 14:39:50 +00:00
takemura
365ab4ac40
Deleted unused include files.
2001-11-25 14:39:20 +00:00
chs
1b8f294146
disallow mapping negative offsets for both regular files and block devices.
2001-11-25 06:42:47 +00:00
isaki
9803619f9a
Sync with GENERIC 1.67
2001-11-25 05:21:12 +00:00
isaki
adf7d48092
Add an ethernet part of Nereid.
2001-11-25 05:10:03 +00:00
minoura
9011251c05
Sync. with GENERIC plus others.
2001-11-25 01:27:49 +00:00
minoura
67b7ba9580
se0 is dead.
2001-11-25 01:23:45 +00:00
minoura
fb3e999db8
One more floppy fix.
2001-11-25 00:42:11 +00:00
minoura
f7b4b90acd
Avoid using array chaining mode of DMAC.
2001-11-25 00:38:50 +00:00
lukem
73191c8c28
comment out CRYPTO_MD_DES_ENC & CRYPTO_MD_BF_ENC; they're not used
...
anywhere in the kernel, they're not defopt-ed, and config(8) -v
complains about them
2001-11-25 00:02:12 +00:00
yamt
ce170de115
- add (partial?) i/o mode support.
...
- add partial cs8920 support.
- add detach code.
- add a quirk for EtherJet PCMCIA with cardbus bridge.
(above "partial" means "engough to support EtherJet PCMCIA")
2001-11-24 20:18:55 +00:00
thorpej
a3a8490ca2
Sanitize hpcarm includes somewhat, make them more like other ARM ports.
2001-11-24 17:39:31 +00:00
minoura
c5979593b7
Remove debug messages.
...
Fix bogus floppy check.
2001-11-24 16:38:16 +00:00
minoura
6018e68205
C version of installboot(8).
...
Shell script version required sed, od, etc. which were too big for install
media.
2001-11-24 16:26:56 +00:00
minoura
12c8367914
boot_ufs can now used as the disk primary boot.
2001-11-24 16:22:54 +00:00
minoura
a8f7d98ad9
Emit the binaries directly from the loader.
2001-11-24 16:18:44 +00:00
minoura
c957ecf172
Support BSD style disklabel on harddisks.
...
XXX need consistency check between the native label and the BSD label.
2001-11-24 16:08:25 +00:00
martin
86c6c53869
Sanity check the tunnel route after computing it and don't mark the
...
interface up if there is no route or the route loops back to ourself.
This helps to avoid pilot errors which would result in kernel stack
overflows.
2001-11-24 15:46:08 +00:00
jdolecek
67238c609c
The header part of driver overhault:
...
* simplify and clean the attach code a lot, and support the 'drive'
locator
* pass proper dev_t to readdisklabel() - formerly, the passed value was
completely broken (used incorrect major and wrong minor), but worked
by accident
* worker thread is now spawned per controller, rather than per-drive;
i/o cannot be done concurrently by different drivers, only one
i/o can be pending at any time
* simplify the command queue code, just sleep appropriately when
!poll case, g/c 'async' code formerly needed, move the bio code
from ed_mca.c to edc_mca.c:edc_bio()
* other misc cleanups
2001-11-24 12:46:15 +00:00
jdolecek
211d58f020
don't need opt_mcaverbose.h here
...
print 'memory configured' instead of just 'configured' for memory expansion
cards
2001-11-24 12:33:14 +00:00
isaki
26b511b905
fix typo s/68551/68851/ in a comment.
2001-11-24 06:53:16 +00:00
thorpej
525c88a3c4
Cleanup, don't install headers that userland doesn't need.
2001-11-24 03:56:48 +00:00
thorpej
ccbcd042c1
Clean this up, don't install files that userland doens't need.
2001-11-24 03:54:52 +00:00
thorpej
ce8333e910
This is a Shark-specific file; don't need it here.
2001-11-24 03:52:34 +00:00
thorpej
c5269c1608
Make the ARM, Ltd. floating point emulator work w/ ELF.
2001-11-24 03:39:17 +00:00
thorpej
372f11b657
The ARM, Ltd. floating point emulator has moved to arch/arm.
2001-11-24 01:43:20 +00:00
thorpej
fc2c469259
The ARM, Ltd. floating point emulator has moved to arch/arm.
2001-11-24 01:27:11 +00:00
thorpej
87fe867c21
Move the ARM, Ltd. floating point emulator to arch/arm.
2001-11-24 01:26:23 +00:00
thorpej
598f003e0a
More G/C.
2001-11-24 01:16:54 +00:00
thorpej
1cfe216e3b
Garbage-collect more acorn32-specific stuff.
2001-11-24 01:15:36 +00:00
thorpej
99ae803762
Gerbage-collect a lot of stuff long since moved to arch/acorn32.
2001-11-24 01:11:51 +00:00
perry
7c92f5c3a7
add a VTOC macro that doesn't cast, and fix a spurious lvalue cast with it.
2001-11-24 01:11:34 +00:00
thorpej
1a60d78375
These files are no longer used; the Acorn RiscPC port is now
...
NetBSD/acorn32.
2001-11-24 01:02:21 +00:00
thorpej
ef9741def9
No need to install bootconfig.h
2001-11-24 00:57:43 +00:00
martin
c21931cf1d
Make this respect down interfaces.
2001-11-24 00:21:27 +00:00
thorpej
2e546f76dd
Don't need "options PROG32" anymore.
2001-11-24 00:11:00 +00:00
soren
2e3553d407
Make sure to hook into DDB/KGDB if so requested.
2001-11-23 23:48:07 +00:00
thorpej
49592e9870
No need to install irqhandler.h
2001-11-23 23:34:48 +00:00
jdolecek
bb23eba3d8
MCA DMA hooked via bus_dma, so remove one
...
add entry regarding AHA-1640 (the driver needs testing)
2001-11-23 22:57:34 +00:00
jdolecek
07312f0fbb
Convert over to use the new MCA DMA facilities, which encapsulate
...
the MCA DMA controller access. This also means we gain >16MB RAM support.
While here, overhaul the driver to saner state, especially:
* simplify and clean the attach code a lot, and support the 'drive'
locator
* pass proper dev_t to readdisklabel() - formerly, the passed value was
completely broken (used incorrect major and wrong minor), but worked
by accident
* worker thread is now spawned per controller, rather than per-drive;
i/o cannot be done concurrently by different drivers, only one
i/o can be pending at any time
* simplify the command queue code, just sleep appropriately when
!poll case, g/c 'async' code formerly needed, move the bio code
from ed_mca.c to edc_mca.c:edc_bio()
* put all string arrays used by edc_dump_status_block() within #ifdef EDC_DEBUG,
and use numbers instead if it's not defined; this cuts object size by 5KB
* other misc cleanups
2001-11-23 22:53:09 +00:00
jdolecek
90fac765da
add 'drive' locator to mca edc
2001-11-23 22:35:46 +00:00
chs
9b6f5a226b
macos partition tables appear to use 512 bytes per record rather than
...
1 sector per record. change the label code to use the same layout
so that CDs with macos partition tables work.
2001-11-23 22:31:22 +00:00
jdolecek
851fb345aa
add mca_dmamap_create() prototype for MI code
2001-11-23 22:29:16 +00:00
jdolecek
ed11067c01
Properly glue in the MCA DMA controller support, using bus_dma
...
interface, using the code from dev/mca/edc_mca.c:edc_setup_dma()
as a base. Use ISA routines for dmamap/dmamem functions, primarily
to get the buffer bouncing for >16MB RAM machines. The MCA DMA
channel is stored in unused upper 4 bits of ISA DMA cookie's
id_flags, hopefully that's not too disgusting :)
Export mca_dmamap_create(), which returns map suitable for further DMA
operations using MCA DMA controller.
mca_busprobe(): also report if machine has 32bit DMA (feature byte 2
bit 1)
Use symbolic names for DMA controller commands - I've finally got
info what they mean from Tymm Twillman's Linux include/asm/mca_dma.h.
No more magic constants! Also fix bug in the way DMA counter has been
setup - for 16bit DMA, it's necessary to tell the controller _half_
the byte count. This was wrong in the former code.
2001-11-23 22:24:36 +00:00
jdolecek
bf7f67be85
if the LKM support is not compiled in, don't bother using exec_lock
...
at all, it's only needed in LKM case
use #if defined(LKM) || defined(_LKM) condition for netbsd32_execve.c,
to DTRT when either compiled statically into kernel with LKM support,
or compiled as a LKM
2001-11-23 22:02:39 +00:00
chs
a106161b5a
add spaces for KNF. confirmed to produce identical objects.
2001-11-23 21:44:25 +00:00
thorpej
b8ed19b4ef
No longer need <machine/undefined.h>.
2001-11-23 21:23:30 +00:00
thorpej
fc019be5fd
Use <arm/undefined.h> instead of <machine/undefined.h>.
2001-11-23 21:18:29 +00:00
thorpej
597c20c6d6
Don't need a <machine/profileio.h> on these platforms.
2001-11-23 20:56:27 +00:00
thorpej
dbbad6df48
profileio.h is a Shark-specific header, so don't reference an
...
ARM-generic verion (it's going away).
2001-11-23 20:47:17 +00:00
thorpej
0a824f32cb
No longer need <machine/pte.h>.
2001-11-23 20:43:03 +00:00
thorpej
a41a73c44a
No longer need <machine/cpus.h>
2001-11-23 19:51:32 +00:00
thorpej
889b84bdfc
Use <arm/cpus.h>, not <machine/cpus.h>
2001-11-23 19:46:35 +00:00
thorpej
0ab1aedd0d
No longer need <machine/cpufunc.h>
2001-11-23 19:40:45 +00:00
thorpej
969599022a
Use <arm/cpufunc.h>, not <machine/cpufunc.h>.
2001-11-23 19:36:48 +00:00
thorpej
0c57d87232
Use <arm/cpufunc.h>, not <machine/cpufunc.h>.
2001-11-23 19:21:47 +00:00
thorpej
d60ef922be
Disable the BTB by default on the XScale again; there's some early
...
stepping errata to deal with before we can safely do this.
2001-11-23 19:17:04 +00:00
jdolecek
59f63c238e
Two changes to setrlimit(2):
...
* return EINVAL if specified current limit exceeds specified hard limit.
This behaviour is required by SUSv2 (noted by Giles Lean on tech-kern)
* return EINVAL if an attempt is made to lower stack size limit below
current usage; this addresses bin/3045 by Jason Thorpe, and conforms to SUSv2
2001-11-23 18:56:33 +00:00
thorpej
5101f01dff
Move even more constants into the shared 32-bit vmparam.h header.
...
Cleanup elsewhere will have to be done before we can sanitize this
header any further.
2001-11-23 18:16:10 +00:00
perry
0b5814f1b4
__FUNCTION__ -> __func__
2001-11-23 17:42:48 +00:00
thorpej
15c76e3c84
- Move more contents of various <machine/vmparam.h> files into
...
<arm/arm32/vmparam.h> (mostly the stuff that's tied to the pmap
implementation).
- Since the MMU definitions in pte.h are specific to ARM processors
that support 32-bit mode, move pte.h to <arm/arm32/pte.h>.
- Make the Netwinder startup file build again (use PT_B|PT_C, rather
than PT_CACHEABLE, since the latter expands to a variable these days).
2001-11-23 17:39:03 +00:00
thorpej
0ec8fbad4d
Extra whitespace removal.
2001-11-23 17:29:00 +00:00
thorpej
fec02f1259
No need to pull in <machine/pte.h> directly.
2001-11-23 17:23:40 +00:00
thorpej
299362f0ff
Pull in assym.h for __PROG32 (needed for IRQenable/IRQdisable macros,
...
which should probably be pulled out of cpu.h anyway...)
2001-11-23 16:53:07 +00:00
thorpej
926df47ec4
Provide __PROG32 to assembly code.
2001-11-23 16:50:48 +00:00
uch
0dff65d9f9
add missing simple_lock_init.
2001-11-23 16:21:31 +00:00
uch
4c8f0c8ea9
Update for the new cache code.
2001-11-23 16:09:11 +00:00
uch
9d6cd691b6
integrate BUILTIN_KERNEL_LOADER and KERNE_PATH into KLOADER_KERNEL_PATH.
2001-11-23 16:08:45 +00:00
uch
6bd02d8e33
add #ifndef _LOCORE.
2001-11-23 15:48:40 +00:00
atatat
f4c8a80b47
Oops. Add in missing entry point settings.
2001-11-23 15:44:15 +00:00
bjh21
c8dbbf25b2
all -> realall, so that "make dependall" works correctly.
2001-11-23 12:58:03 +00:00
enami
71651851a4
Match against EPSON GT-9700F.
2001-11-23 10:31:54 +00:00
enami
674f6e4d18
Regen.
2001-11-23 10:30:49 +00:00
enami
9930efdacf
Add product id of EPSON GT-9700F.
2001-11-23 10:29:30 +00:00
enami
fe972558c0
Use __func__ instead of __FUNCTION__.
2001-11-23 10:20:47 +00:00
enami
4789a8840d
Provide compat definition of __func__ for pre-C99 compiler.
2001-11-23 10:19:47 +00:00
tsutsui
d8879382cf
Add 32B/l L1 D/I-cache ops for newer ARC machines.
2001-11-23 06:21:49 +00:00
atatat
155e541aa2
Instead of checking for previous usage, just append to some make
...
variables. Tweak some variables to provide for more uniform defaults.
Minor adaption to makefiles for already converted ports.
2001-11-23 05:18:59 +00:00
atatat
2bf2c362fb
The bridge(4) pseudo-device no longer requires the port to
...
__HAVE_GENERIC_SOFT_INTERRUPTS, so add it back to all GENERIC configs.
2001-11-23 05:00:22 +00:00
augustss
cdc819cd8a
Improve xfer abort sequence.
...
Fix another bug in qTD chain allocation.
2001-11-23 01:16:27 +00:00
augustss
6d8419a6cc
Handle Zip quirks differently.
...
Ugh! This driver need major overhaul.
2001-11-23 01:15:28 +00:00
augustss
6f95b070ca
Update mass storage protocol numbers.
2001-11-23 01:14:45 +00:00