minoura
da36b95207
Sync with mvme68k.
2001-12-06 04:13:39 +00:00
minoura
bf3ea26688
Add ELF support.
2001-12-06 04:13:12 +00:00
lukem
c3a9ebdf37
fix comment
2001-12-06 04:02:22 +00:00
sommerfeld
39424268c6
Use #if defined(FOO_CPU) instead of #if FOO_CPU just to be picky.
...
Spotted by Thomas Klausner.
2001-12-06 01:56:19 +00:00
lukem
1546835120
Replace nfs_hash() (with its extremely bad hash) with a macro to call
...
hash32_buf() to obtain a 32 bit hash. On some tests I ran I obtained
a 30x improvement in hash distribution and a 6x reduction in time spent
in nfs_nget().
2001-12-06 01:26:36 +00:00
augustss
604ea366d4
Restructure to get rid of size limit.
...
Fix return value bug.
2001-12-06 00:17:12 +00:00
augustss
5ef96ebab2
Don't crash on early calls to get the speeds.
2001-12-06 00:11:18 +00:00
thorpej
8d9d5216ec
More complete conversion of the XMM-format tag word to i387-format
...
tag word.
2001-12-06 00:01:36 +00:00
lukem
78fd77ad3f
don't need nfs_hash prototype here
2001-12-05 23:58:14 +00:00
augustss
ec901ec7fe
Regen.
2001-12-05 23:25:56 +00:00
augustss
12812553f8
Add a NEC USB 2.0 hub. (USB 2.0 hubs are very rare creatures at the moment!)
2001-12-05 23:25:31 +00:00
atatat
52c50e165b
Use more parentheses to make the compiler happy.
2001-12-05 22:16:30 +00:00
atatat
d2c23d82a1
TRY_SCSI_LINKED_COMMANDS is a param, not a flag.
2001-12-05 22:15:05 +00:00
atatat
7ac1189351
Remove a redundant definition of __KERNEL_RCSID() that was redundantly
...
defined.
2001-12-05 21:06:51 +00:00
bouyer
3fe7074804
Compile with NWD == 0. Fixe kern/14844 by hamajima@nagoya.ydc.co.jp.
2001-12-05 20:43:00 +00:00
augustss
b24bbb4d82
Constify a little.
2001-12-05 20:00:15 +00:00
augustss
47fffba901
Add dongle specific code.
2001-12-05 19:59:54 +00:00
fredette
1a3eaeafd8
Now generate oosiop.out, the compiled 53c700 script.
2001-12-05 18:34:19 +00:00
fredette
ba3be8d408
Generated from oosiop.ss rev. 1.1:
...
Initial compiled script for 53c700.
2001-12-05 18:32:55 +00:00
fredette
60c77bb2f1
Added support for the Symbios/NCR 53c700 SCSI controller.
...
This chip is very similar to the 53c710, except that it's
missing a few registers, doesn't do relative jumps and
doesn't have the table-indirect addressing mode.
I have checked that this still generates the same output
on the existing scripts for the other chips.
2001-12-05 18:31:53 +00:00
fredette
8dce160cd1
New script for the Symbios/NCR 53c700 SCSI controller.
...
This is closely related to osiop.ss, the script for the
53c710.
2001-12-05 18:27:13 +00:00
atatat
2f31dcd126
It's not called "opt_fpuemulate.h", it's called "opt_fpu_emulate.h". :)
2001-12-05 18:04:35 +00:00
augustss
fe61017def
Add (commented out) irframetty.
2001-12-05 16:48:03 +00:00
augustss
88b5ed0731
Use NULL instead of 0 in a few places.
2001-12-05 16:12:42 +00:00
augustss
81f90d8cd3
Use the right name to decide if we should use irframe entry.
2001-12-05 16:10:09 +00:00
augustss
bd8b498c42
Do SIR framing on incoming frames.
2001-12-05 15:51:11 +00:00
augustss
8c2cf4c7d8
Break out SIR framing to its own file.
2001-12-05 14:50:13 +00:00
mrg
c3409421aa
add commented BLINK option.
2001-12-05 13:29:24 +00:00
wiz
31fcd50433
Use defparam instead of defflags for some bktr(4) related options that need
...
a value. Add BKTR_REVERSE_MUTE to defflags.
2001-12-05 11:41:16 +00:00
simonb
20a3ef2b53
Remove some debug printf()s.
2001-12-05 10:54:51 +00:00
enami
4654f5c754
Implement sigismasked() correctly. KNF while I'm here.
2001-12-05 07:32:24 +00:00
lukem
e35019c17b
Add <sys/hash.h>, which currently implements three inline functions:
...
uint32_t hash32_buf(const void *buf, size_t len, uint32_t ihash)
return 32 bit hash of buf, size len,
seeded with initial hash of ihash (usually HASH32_BUF_INIT).
this hash may use a different algorithm to hash32_str() and
hash32_strn().
uint32_t hash32_str(const void *buf, uint32_t ihash)
return 32 bit hash of buf, which is an NUL terminated ascii string,
seeded with initial hash of ihash (usually HASH32_STR_INIT).
this hash may use a different algorithm to hash32_buf()
but must use the same algorithm as hash32_strn().
uint32_t hash32_strn(const void *buf, size_t len, uint32_t ihash)
return 32 bit hash of buf, which is an NUL terminated ascii string
up to a maximum of len bytes,
seeded with initial hash of ihash (usually HASH32_STR_INIT).
this hash may use a different algorithm to hash32_buf()
but must use the same algorithm as hash32_str().
As discussed on tech-kern@netbsd.org .
2001-12-05 06:51:55 +00:00
chs
5e5ab17808
fix the sense of a MULTIPROCESSOR conditional, cpus after the first are
...
not configured if MULTIPROCESSOR is *not defined.
2001-12-05 05:13:50 +00:00
chs
f0d9c43220
fix macppc MULTIPROCESSOR compilation.
2001-12-05 05:02:10 +00:00
lukem
c0d0f0b31c
convert from macros to static inlines. allen briggs confirms resultant code
...
is the same with -Ox, for x>0 (as expected).
2001-12-05 04:37:28 +00:00
augustss
9c8fe0b8c5
Put bytes on right q.
2001-12-05 04:31:02 +00:00
augustss
0913a897a5
Set error code for IRDA_RESET_PARAMS.
2001-12-05 04:30:24 +00:00
augustss
af5eb6fc8c
Fix some minor bug.
...
Add more debugging.
2001-12-05 04:07:06 +00:00
augustss
b81ddff1a7
Reset parameters on open.
2001-12-05 04:06:32 +00:00
augustss
efade85d8e
Make the right defaults for kbdmux and mux locators.
2001-12-05 04:05:37 +00:00
simonb
a9f73b2015
s/defopt/defparam/ in previous; from lukem.
2001-12-05 03:50:09 +00:00
simonb
8a32c6fbfa
Change PCI_NETBSD_ENABLE_IDE back to a defopt - it's a mask.
2001-12-05 03:24:57 +00:00
minoura
88031f5a81
Correct LINKS to install sdboot_ufs properly.
2001-12-05 02:07:09 +00:00
enami
76858f7620
When initially allocating or extending arrays in struct uvm_amap,
...
adjust allocation size using malloc_roundup(). This eliminates many
unnecessary malloc/memcpy calls.
2001-12-05 01:33:09 +00:00
enami
996ee10484
Introduce new function malloc_roundup(), suggested by Bill Sommerfeld
...
on tech-kern.
2001-12-05 01:29:04 +00:00
augustss
037eb62a0f
Mention that much of the code was stolen from Tommy Bohlin.
2001-12-05 01:13:58 +00:00
thorpej
03efee5585
* Allow machine-dependent code to specify hooks for ptrace(2)
...
(__HAVE_PTRACE_MACHDEP) and procfs (__HAVE_PROCFS_MACHDEP).
These changes will allow platforms like x86 (XMM) and PowerPC
(AltiVec) to export extended register sets in a sane manner.
* Use __HAVE_PTRACE_MACHDEP to export x86 XMM registers (standard
FP + SSE/SSE2) using PT_{GET,SET}XMMREGS (in the machdep
ptrace request space).
* Use __HAVE_PROCFS_MACHDEP to export x86 XMM registers via
/proc/N/xmmregs in procfs.
2001-12-05 00:58:05 +00:00
enami
fbfa7f8e61
No need to zero clear after amap->am_bckptr[amap->am_nslot], since we're
...
clearing corresponding elements in an array amap->am_anon[].
2001-12-05 00:34:05 +00:00
enami
d2391ede6a
Remove extern from function prototype.
2001-12-05 00:00:10 +00:00
enami
769949847d
KNF and other cosmetic changes.
2001-12-04 23:56:36 +00:00
augustss
3ead5262dd
Add some dongle support ioctl()s.
2001-12-04 23:33:33 +00:00
lukem
612e777b6e
s/defopt/defflag/
2001-12-04 23:14:48 +00:00
manu
9dfecbefdb
Fixed stack setup for argument passing. argc and **argv need to be aligned
...
on a 16 bytes boundary. To get things done, we currently duplicate a lot of
code from copyargs(), this should be done in a nicer way.
2001-12-04 22:13:41 +00:00
augustss
527fff66c0
Change speed setting a little.
2001-12-04 21:50:50 +00:00
augustss
e0b032d651
Add ir/ to SUBDIR.
2001-12-04 21:43:44 +00:00
ross
cbaa950b62
code cleanup for portability
2001-12-04 21:32:15 +00:00
augustss
64a9c02472
Implement speed setting.
2001-12-04 20:53:21 +00:00
jdolecek
a275d0a6b9
clarify copyright - this is all freshly written, no older code used
2001-12-04 20:51:23 +00:00
jdolecek
f1243fa104
add 'esp at mca? slot ?' and 'scsibus* at esp?'
2001-12-04 20:49:40 +00:00
jdolecek
7a12ca98ab
Make this NCR 53C90 driver work, using the chip information from
...
Tymm Twillman's Linux mca_53c9x driver.
Tested with external ZIP100 only.
2001-12-04 20:47:58 +00:00
jdolecek
c152d680d8
Add M_CANFAIL malloc(9) flag. This flag changes behaviour in M_WAITOK
...
case when the requested memory size can't ever be granted - instead
of panic, malloc(9) would return failure (NULL).
Note kernel code should do proper bound checking, rather than
depend on M_CANFAIL. This flag is only supposed to be used in very
special cases, where common bound checking is not appropriate.
Discussed on tech-kern@, name ``M_CANFAIL'' suggested by Chuck Cranor.
2001-12-04 20:13:19 +00:00
sommerfeld
ceb358f80c
Fix so these files build with options DEBUG enabled.
...
The change to edc_mca.c may not work as I don't have any mca hardware.
2001-12-04 20:00:15 +00:00
augustss
636b7788a1
Implement input processing (untested).
2001-12-04 19:56:43 +00:00
augustss
1db6a7d9df
Simplify interface to irframe.
2001-12-04 19:56:17 +00:00
thorpej
f7141449f2
When doing process_s87_to_xmm(), don't restore the "saved SW from
...
last exception"; the userland-visible fpreg structure doesn't
include it.
Pointed out by enami tsugutomo <enami@sm.sony.co.jp>.
2001-12-04 19:41:47 +00:00
thorpej
2684ea2b22
Don't declare which exec formats to support in loadfile_machdep.h.
...
Instead, give each user of loadfile() control over which exec formats
it wants to support.
2001-12-04 18:54:34 +00:00
is
0614c8a6ad
Really merge in Adam Ciarcinskis spl$foo() code, which should have been
...
in long ago.
2001-12-04 18:54:11 +00:00
christos
4950567ffc
Regen.
2001-12-04 18:46:51 +00:00
christos
9925bfcf9f
PR/13711: Peter Seebach: Symbol's Spectrum24 pcmcia/prism2 card isn't probed.
2001-12-04 18:46:30 +00:00
bjh21
5aee55caae
New file, describing what little I know of the layout of the Oak SCSI card.
2001-12-04 18:40:14 +00:00
christos
10b6cdd540
PR/14817: Gregory McGarry: NFS_V2_ONLY doesn't seem to work.
2001-12-04 18:38:08 +00:00
wiz
b4371d47f5
Replace some misuses of "then" with "than".
2001-12-04 17:56:30 +00:00
christos
f6f0ceea17
PR/14639: Ben Harris: Stick the rcsid's in the data segment via inline
...
assembly, so that we don't get duplicate symbol errors when we have multiple
__KERNEL_RCSID's
2001-12-04 16:44:55 +00:00
atatat
239aeafb2e
Fixes to eliminate some compiler complaints, such as:
...
suggest explicit braces to avoid ambiguous `else'
suggest parentheses around assignment used as truth value
2001-12-04 15:27:35 +00:00
minoura
830cfb5ec1
Use sys/conf/Makefile.kern.inc.
2001-12-04 15:22:29 +00:00
minoura
4ee42d6a56
Ooops, previous commit removed an important line unintentionally.
2001-12-04 15:21:28 +00:00
is
647b3a2fe9
defflag lev6_defer.
2001-12-04 11:51:39 +00:00
jmc
30dcee15c0
Grab the appropriate loadfile_elf depending on machine arch
2001-12-04 11:31:10 +00:00
gmcgarry
6dbb6e893b
Simply entries added in previous.
2001-12-04 04:30:22 +00:00
darrenr
8f8a0fb2c2
defopt "options SUN4*", put #define for each of SUN4, SUN4C, SUN4M and SUN4U
...
into opt_arch_sparc.h and include this wherever they are used.
2001-12-04 00:53:18 +00:00
darrenr
860b0688ac
defopt "options SUN4*", put #define for each of SUN4, SUN4C, SUN4M and SUN4U
...
into opt_arch_sparc.h and include this wherever they are used.
2001-12-04 00:05:04 +00:00
augustss
5f99a98472
Add irframetty driver for IrDA frames over serial lines.
...
THIS MOST DEFINITELY DOES NOT WORK. IT'S VERY INCOMPLETE.
2001-12-03 23:32:32 +00:00
augustss
20e5de88af
Add IRFRAMEDISC line discipline.
...
Also, use symbolic names instead of numbers in a few places.
2001-12-03 23:30:37 +00:00
augustss
45bdf1e78d
Add IRFRAMEDISC line discipline for IrDA frames.
2001-12-03 23:29:11 +00:00
augustss
6bf6da1895
Add irframetty pseudo device for IrDA frames over tty.
2001-12-03 23:28:20 +00:00
jdolecek
08733c9d51
add NCR_VARIANT_NCR53C90_86C01 "NCR53C90 (86C01)"
...
treat exactly like NCR_VARIANT_ESP100
2001-12-03 23:27:31 +00:00
bjh21
792f0d66cc
Kill BBBB. boot26 has been working fine for months now.
2001-12-03 23:07:25 +00:00
jdolecek
586f0a8848
fix two bugs in mca_dma_set_ioport():
...
* need to specify DMA channel for DMACMD_SET_IO
* the upper byte of port was masked incorrectly
also update comment in _mca_bus_dmamap_sync() to current reality
2001-12-03 22:50:44 +00:00
bjh21
5dd767837c
Make the slightly absurd case of not having keyboard _or_ mouse configured
...
work too.
2001-12-03 22:46:23 +00:00
bjh21
8039409128
Make it possible to build a kernel with either mouse or keyboard support
...
missing. Note that it's necessary to drop both wsmouse and arcwsmouse to
lose mouse support, and analogously for the keyboard.
2001-12-03 22:37:57 +00:00
aymeric
9c7678f6f7
use _AMIGAPPC_MPTR_H_ instead of _MACHINE_MPTR_H_ so this file is included
...
when it has to be.
2001-12-03 21:17:05 +00:00
aymeric
5ffc3508fd
remove things that were copied verbatim from powerpc_cpu.h
...
and #include <powepc/powerpc_cpu.h>
2001-12-03 21:15:15 +00:00
aymeric
08cdb2cfa6
add options PPC_MPC6XX to pull in generic powerpc support
2001-12-03 21:12:57 +00:00
aymeric
8729920a7b
include machine/mtpr.h for SIR_* definitions
2001-12-03 21:11:27 +00:00
aymeric
fe204eade0
pte_spill was renamed to pmap_pte_spill some day
2001-12-03 21:10:48 +00:00
bjh21
7f81573aa0
Disable interrupts for podule loaders from C rather than assembler, since the
...
former is more portable and less error-prone. This fixes port-arm26/14811.
2001-12-03 20:54:07 +00:00
enami
5eb74d8bbe
Use correct format letter for chp->channel.
2001-12-03 11:07:34 +00:00
kent
97a959ad4a
pecoff_copyargs(): Fix incorrect pointer type of the variable `ap'.
2001-12-03 06:11:33 +00:00
gmcgarry
56504d76c4
Fix path to clockvar.h.
2001-12-03 05:52:13 +00:00
gmcgarry
fa9aa504f9
Use BOOTP by default.
2001-12-03 05:44:36 +00:00
augustss
02aa2a59bc
Handle vendor/product lookup with a common routine.
2001-12-03 01:47:12 +00:00
jmcneill
078a8c0cc3
Fix TCP segment size computation. From Rick Byersm, PR kern/14799.
2001-12-03 01:45:43 +00:00
bouyer
bfc80822c7
Update my copyrigth.
2001-12-03 00:20:22 +00:00
bouyer
4ca5497111
Allow wd to attach to something else than wdc/pciide (like USB<->ATA bridges):
...
- move some functions from ata.c to ata_wdc.c or wdc.c.
- add callbacks to struct ata_bustype so that wd.c doesn't call directly
functions from the lower level driver.
2001-12-03 00:11:15 +00:00
lukem
fa15b3d7b9
defparam (not defflag) PCIBIOS_IRQS_HINT. pointed out by Kevin Lahey
2001-12-03 00:10:14 +00:00
augustss
23d4159897
Add a subroutine to search for a vendor/product pair.
2001-12-02 23:25:25 +00:00
bouyer
65768c08e2
No need to include atavar.h here.
2001-12-02 22:59:40 +00:00
bouyer
e01670eb4e
Convert to new ata/atapi attach structs.
2001-12-02 22:54:26 +00:00
bouyer
4809ad42cb
Clean up attach of wd/atapibus:
...
kill ata_atapi_attach. Change atapibus to use a struct scsipi_channel instead
of ata_atapi_attach as attach arch. Create a ata_device, compatible with
scsipi_channel, to attach wd.
2001-12-02 22:44:32 +00:00
augustss
194762be5b
Touch up a little. No functional change.
2001-12-02 20:29:55 +00:00
thorpej
fbd78c8e3c
Add PVR processor type fields for IBM 405GP and IBM 405L.
2001-12-02 20:11:49 +00:00
augustss
1187860bcf
GC unused stuff.
2001-12-02 20:06:00 +00:00
abs
42ceb2f007
Add an #if defined(INET) ... around if_detach_queues's declaration to match the
...
one around its definition.
2001-12-02 19:44:25 +00:00
manu
3225f7c7c3
One more thread related command in prctl to make dynamic linking happy
2001-12-02 18:06:59 +00:00
jdolecek
f803294ead
use the new MCABUS_DMA_16BIT flag to use 16bit DMA (not implicit anymore)
2001-12-02 17:04:41 +00:00
jdolecek
492b500611
Add couple hooks, needed primarily for NCR 53C90 MCA card driver:
...
* add flag to explicitly specify if the DMA should be done as 16bit or 8bit
* add flag to specify the DMA should happen via I/O port
* add new function mca_dma_set_ioport(), to set I/O port to be used for the
DMA operation
Also clarify copyright (welcome to 2001 :), and couple other minor nits
2001-12-02 17:02:33 +00:00
augustss
813e73533f
Add (commented out) oboe IrDA driver.
2001-12-02 16:37:24 +00:00
augustss
2a22b00459
Add some IrDA names.
2001-12-02 16:32:04 +00:00
augustss
766e28edd3
Add driver for the Toshiba's Oboe IrDA chip. From Jan Sparud.
2001-12-02 16:30:30 +00:00
augustss
cf8a8cbe20
Fixes from Jan Sparud's code:
...
Make read and write methods symmetrical, add poll method.
2001-12-02 16:29:25 +00:00
manu
77fa6038d9
Added errno translation
2001-12-02 16:16:57 +00:00
bjh21
1208c816b3
Add (#ifdef'ed out) code to support the PDMA hardware on the Oak SCSI card.
...
Unfortunately, this code seems not to work at present. I don't yet know why.
2001-12-02 14:49:32 +00:00
minoura
5684610fac
.include <bsd.own.mk> for OBJECT_FMT.
2001-12-02 14:41:21 +00:00
minoura
9a342a1f55
Small message fixes.
2001-12-02 14:25:44 +00:00
minoura
90e97e1eb1
Do not install libsa.a
2001-12-02 13:25:34 +00:00
bjh21
4e3bf132c0
Add comments naming our private-use characters (in lower case, to make them
...
distinct from real Unicode characters).
2001-12-02 12:46:32 +00:00
lukem
e2387142a7
convert cdev_ir_init() to use the cdev__ocrwip_init() helper macro,
...
like everything else with the same cdev methods does. (hi lennart! :)
2001-12-02 12:17:12 +00:00
mjl
f14e78b4c3
Disable bzero/memset assembler implementation until the dependency
...
problem on assym.h is sorted out and TRW to get at CACHELINESIZE in
the kernel is determined.
2001-12-02 11:03:39 +00:00
augustss
031a2873ed
Add irframe and cir devices.
2001-12-02 10:45:40 +00:00
augustss
b540959734
Add framework for Ir devices. The irframe device is for delivering IrDA
...
frame to user land and the cir device is for consumer Ir (remote controls).
This code is only partially finished, but the irframe device works (given
a low level driver for the actual IrDA device).
2001-12-02 10:44:43 +00:00
augustss
ceb54d1040
Add irbus (IrDA) and cir (Consumer Ir) and related file directives.
2001-12-02 10:41:52 +00:00
uch
bd9aab9cb5
make this compile again.
2001-12-02 10:37:53 +00:00
uch
2c8098281b
TX39, R5900 cache configuration.
2001-12-02 10:37:25 +00:00
augustss
a8ef9684b0
Add cdev_ir_init() macro.
2001-12-02 10:36:33 +00:00
minoura
1cf5c38da0
Descend to new boot programs.
2001-12-02 09:59:39 +00:00
minoura
99978cf934
Install as installboot.new.
2001-12-02 09:58:56 +00:00
manu
ef711afc33
Added enough of prctl emulation so that program do not crash on exit
2001-12-02 09:23:58 +00:00
manu
427b57c20e
Added SGI_USE_FP_BCOPY and SGI_TOSSTSAVE commands that are also needed
...
for dynamic linking
2001-12-02 09:22:39 +00:00
manu
cfcac1c4fb
Uses svr4_mmap for mmap32 emulation. This will not implement all the
...
IRIX functionnality, but it should be enough to get dynamic linking working
2001-12-02 08:47:17 +00:00
manu
e2898fe96b
Added a bit of sysmp() emulation necessary for dynamic linking.
2001-12-02 08:30:10 +00:00
manu
fd6a281221
Added twomissing SYSCALL_SHIFT for indirect syscall through SYS_syscall
2001-12-02 08:28:18 +00:00
augustss
051c7d6423
Prototype for config_makeroom(), the routine that expands the cd_devs array.
2001-12-02 02:42:25 +00:00
augustss
d845d14a6c
Move the code that expands the cd_devs array into a subroutine.
2001-12-02 02:40:57 +00:00
gmcgarry
6baa42f8ce
Don't use dev/cninit.c, since we have our own custom implementation.
2001-12-02 01:28:54 +00:00
gmcgarry
72dc6ccf2b
Type cast for bus_space_vaddr()
2001-12-02 01:20:33 +00:00
tsutsui
0ba0d05efe
Use pmap_kenter_pa() rather than pmap_enter() for msgbufaddr.
2001-12-02 01:17:52 +00:00
gmcgarry
adb908503d
Add identifiers for HP devices.
2001-12-02 01:17:51 +00:00
ross
43fe22fed0
Revert previous; the _e003U definition is used elsewhere.
2001-12-02 01:04:26 +00:00
jdolecek
ed1e2f54e9
add 'lkm' to SUBDIR - it got mistakely got removed in last revision
2001-12-02 00:47:21 +00:00
jdolecek
2ff8a38d00
nuke the #include "opt_compat_irix.h", too
2001-12-02 00:46:03 +00:00
tsutsui
1011f9fbcc
Don't define COMPAT_SUNOS here. It is defined in opt_compat_sunos.h
...
and <sys/ioctl.h> and <sys/tty.h> include it properly.
XXX Is this needed for LKM?
2001-12-02 00:35:25 +00:00
tsutsui
babc971829
#ifdef'ed out debug printf.
2001-12-01 23:39:11 +00:00
tsutsui
163114ab3c
Implement pmap_kenter_pa() and pmap_kremove() properly.
...
This should fix `kernel diagnostic assertion "rv" failed' panic
and the problem was tracked down by tsubai.
Also add small optimization in pmap_enter() and pmap_remove(), from tsubai.
2001-12-01 23:34:52 +00:00
thorpej
72dee19a8c
Reset the i80200 ICU and PMU to a pristine state very early.
2001-12-01 23:06:45 +00:00
manu
0e18d4c1b0
Fixed a typo
2001-12-01 22:19:38 +00:00
manu
11ea5b82d7
Fixed a bug in vmcmdset reuse. IRIX binaries seems to pass syssgi(ELFMAP)
...
without crashing now.
2001-12-01 22:14:15 +00:00
chuck
00168f4ce0
fix bug in amap_wiperange() detected by enami tsugutomo.
...
loop control was wrong in one case.
2001-12-01 22:11:13 +00:00
thorpej
a5a8439141
Make the snake slither in a slightly more interesting pattern that
...
also happens to have 8 positions (and thus has a slightly more efficient
implementation).
2001-12-01 21:23:17 +00:00
martin
6e766675c6
Fail early when trying to identify a pppoe interface softc (from a
...
HOST UNIQUE token) and our list of interfaces is empty. Without this
test an unitinalized pointer may be dereferenced.
2001-12-01 18:25:23 +00:00
bjh21
a7297d1928
Slight tweak to AST handling logic -- on return from ast_handler(),
...
IRQs are enabled, so we have to disable them again before checking
astpending.
2001-12-01 17:30:07 +00:00
bjh21
15d94a4c59
On a VT100, the "scanline 5" character is also used for box drawing, so
...
represent it as U+2500 (BOX DRAWINGS LIGHT HORIZONTAL). This makes NetHack
DECgraphics mode work properly on a wscons console using an IBM-encoded font.
2001-12-01 16:07:58 +00:00
fredette
f1673ae4dd
Abstract out a large chunk of the kernel build machinery so that new
...
build features (such as ross's DEBUGLIST) can easily be applied to all
ports. This should reduce the complexity of each port's kernel
Makefile considerably.
2001-12-01 15:23:18 +00:00
bjh21
e4dac015cd
Don't define get_cachetype() unless it's going to be used.
2001-12-01 14:21:18 +00:00
aymeric
6c197325c8
catch up with amiga's conf.h by adding definition of cdev_par_init
2001-12-01 14:14:58 +00:00
aymeric
4680be2d7c
add wscons support so that amiga/conf.c compiles
2001-12-01 14:13:49 +00:00
aymeric
dd4455abf7
catch up with "recent" new egcs check
2001-12-01 14:12:58 +00:00
aymeric
e3ed0e40da
do not include opt_lev6_defer.h when compiling for powerpc
2001-12-01 13:44:22 +00:00
jdolecek
c65c74ab28
regenerate (allocate identifier for NCR 53c90)
2001-12-01 10:44:35 +00:00
jdolecek
8272a293b7
allocate identifier for NCR 53C90
2001-12-01 10:43:36 +00:00
jdolecek
4b334401ca
Nonworking NCR 53c90 attachment. I don't get any interrupts from
...
the device yet, need to find real NCR53c90 docs to figure out what's wrong.
2001-12-01 10:42:38 +00:00
enami
e69c410de5
Shorten wmesg so that they can be distinguished in ps/top output.
2001-12-01 09:42:39 +00:00
enami
b56cddb826
Fix null pointer dereference when EHCI_DEBUG is defined (and
...
debug is enabled).
2001-12-01 09:39:32 +00:00
thorpej
3fd0a58e9d
On the i80200, disable ECC in the Bus Controller Unit early on; we
...
don't really have code to deal with ECC errors yet.
2001-12-01 06:33:40 +00:00
thorpej
216b9b2ea6
- Don't enable FIQs; nothing uses them (yet).
...
- Steer i80200 PMU and BCU interrupts to IRQ# (for lack of a better
place, at the moment).
- Disable all interrupts other than external-IRQ# in the i80200 ICU;
we don't deal with any of the others, yet.
2001-12-01 06:15:36 +00:00
thorpej
5936a89bf5
Add register definitions for the i80200 Interrupt Controller Unit,
...
Bus Controller Unit, and Performance Monitoring Unit.
2001-12-01 05:46:19 +00:00
perry
1564ce55c4
bring back. we need to fix these, not remove them.
2001-12-01 02:15:39 +00:00
thorpej
a7cfcd87fd
Implement a "snake" for the 7-segment display.
2001-12-01 02:04:27 +00:00
thorpej
5f8b540ed9
Remove U from the display seg constants.
2001-12-01 02:02:46 +00:00
bouyer
49aef70ae6
Add st at atapibus, now that it works.
2001-12-01 00:09:07 +00:00
bouyer
c6c2c476eb
Hum, no need to print a message each time we're waiting for the drive.
2001-12-01 00:05:04 +00:00
bouyer
e6922f82d6
Various quirks for the ATAPI OnStream DI-30, mostly from the FreeBSD driver.
...
Many thanks to Chris Pinnock for giving me remote access to his hardware.
2001-12-01 00:03:45 +00:00
bouyer
cd8d64fe2b
For ATAPI tape drives, poll for DSC (using a callout), to get the real
...
status of the command, and make sure the drive is ready for the next one.
2001-12-01 00:00:29 +00:00
manu
cde20c2503
First implementation of syssgi(SGI_ELFMAP).
2001-11-30 21:56:03 +00:00
thorpej
e41179bfd0
Need <arm/cpufunc.h> for cache-related variables.
2001-11-30 19:43:20 +00:00
thorpej
2b08dcc43b
Clarify a comment to state that it is intentional that we attach
...
only the Secondary PCI bus (it's the only bus which can have a
device space hidden from any PCI host on the Primary bus).
Also, use the bus number from the PPB businfo register seecondary bus
field rather than hard-coding "1".
2001-11-30 19:29:44 +00:00
thorpej
e90eccc52c
Clarify a comment.
2001-11-30 19:26:03 +00:00
fredette
d4f3b9c987
Catch-up to revision 1.135 of the sun3 pmap. This revision
...
corresponds tightly to that one.
2001-11-30 18:22:51 +00:00
fredette
a5c8b5d17f
Implement bus_space_mmap.
2001-11-30 18:11:56 +00:00
fredette
d925ceec5b
vm_offset_t -> vaddr_t or paddr_t, as appropriate.
...
Purge register qualifiers.
bcopy() -> memcpy(), bzero() -> memset()
No longer try to protect the kernel with uvm_map_protect,
pmap_bootstrap has already done this.
Now use pmap_kenter_pa/pmap_kremove when dumping, instead
of pmap_enter/pmap_remove.
2001-11-30 18:10:27 +00:00
fredette
bbb634ca9e
vm_offset_t -> vaddr_t or paddr_t or db_addr_t, as appropriate.
...
vm_size_t -> vsize_t
Purge register qualifiers.
bcopy() -> memcpy(), bzero() -> memset()
2001-11-30 18:06:55 +00:00
fredette
94ae8e87a9
Purge vm_offset_t.
2001-11-30 17:52:33 +00:00
fredette
a9847551d5
vm_offset_t -> paddr_t
...
Implement bus_space_mmap.
2001-11-30 17:49:10 +00:00
fredette
450c4305c1
vm_offset_t -> vaddr_t
...
Removed register qualifiers.
2001-11-30 17:47:04 +00:00
kleink
e9d7166203
asm -> __asm.
2001-11-30 16:21:16 +00:00
fredette
66e0981854
Make sure that an unlabeled device gets at least RAW_PART
...
in the default in-core disklabel, instead of only a single
partition, so that applying a new disklabel can work normally.
bcopy() -> memcpy(), bzero() -> memset()
2001-11-30 16:11:10 +00:00
fredette
da1e437744
Implement bus_space_mmap.
2001-11-30 16:04:25 +00:00
fredette
47884ee136
vm_offset_t -> vaddr_t
2001-11-30 16:00:27 +00:00
fredette
b9b98bff66
Convert to use genassym.cf and genassym.sh, as other ports do.
2001-11-30 15:58:24 +00:00
fredette
af0a38f1d6
In kernel config files, now mention the options SCSI_OLD_NOINQUIRY,
...
NFS_V2_ONLY, and VNODE_OP_NOINLINE, commented out as appropriate
for each configuration.
Convert to use genassym.cf and genassym.sh, as other ports do.
2001-11-30 15:54:31 +00:00
christos
420771d7cc
PR/14781: Matthew Fredette: Clamp the number of read-ahead pages to 16 because
...
other code has this limit. Also while I am here, convert the magic 16 into
a #define constant and use it in the appropriate places. This is a temporary
fix, since all this read-ahead business is XXXUBC anyway.
2001-11-30 15:18:39 +00:00