joda
81bac16312
add CARDBUS_SUBCLASS_COMMUNICATIONS_SERIAL
2000-04-13 10:11:15 +00:00
mrg
fa13d97855
this does not need auxreg.h
2000-04-13 09:54:43 +00:00
mrg
b60fe7f45a
store all the physical address bits.
2000-04-13 09:53:49 +00:00
mrg
e7f3d69787
this does not need auxreg.h
2000-04-13 09:52:46 +00:00
mrg
542f08a422
add a version file.
2000-04-13 09:38:12 +00:00
mrg
f2ab01bf42
copy the "sparc" clean/cleandir target code, so that "cleandir" actually does a "clean"
2000-04-13 09:23:38 +00:00
chs
c81c7aa367
always define PI_MAGIC so this compiles in all cases.
2000-04-13 00:44:19 +00:00
scw
d5d6c20e74
Regen
2000-04-12 21:13:12 +00:00
scw
e083abcad8
Add support for the SOHOware PCMCIA Ethernet card, model ND5100-E.
...
This seems to be a re-badged NDC (National Datacomms. Corp) card.
It needs a quirk entry due to lack of manufacturer tuple in the CIS.
For some reason, the 'Tx/Rx' LED on the connector module is inverted
such that it is off during network activity...
2000-04-12 21:07:55 +00:00
christos
44c22dc618
make this compile with -DDEBUG_SVR4 [wrong variable name]
2000-04-12 15:13:15 +00:00
christos
e3004f2598
make this compile with -DDEBUG_SVR4 [lossage because sizeof is u_long now]
2000-04-12 15:12:13 +00:00
takemura
a3c99d2662
Dialog Box style key function. You can push space key to boot.
2000-04-12 15:07:34 +00:00
pk
eba24e4799
* Spell shift counts in decimal and masks in hex
...
* Optimize numerous array references
* Cleanup whitespace turds
2000-04-12 14:22:28 +00:00
simonb
6008cfd5de
Remove bogus "#ifdef EIDRM" checks and warnings that BSD doesn't define
...
EIDRM - EIDRM was added over two years ago!
2000-04-12 13:08:26 +00:00
pk
a388797ed5
Ignore unknown devices on mainbus.
2000-04-12 11:40:12 +00:00
fvdl
ea3e5a38b8
Fix from Ethan Solomita <ethan@geocast.com> to avoid a livelock problem
...
where the buffer cache code would be recycling B_AGE buffers with
dependencies.
2000-04-12 11:33:43 +00:00
itojun
c24f5b5068
add more IPv6 cases. not tested.
...
TODO: IPv6CP support. currently IPv6 packet will be generated right
after link up (spec violation)
2000-04-12 10:51:15 +00:00
itojun
ecb5f2e56a
revisit in6_ifattach().
...
- be persistent on initializing interfaces, even if there's manually-
assigned linklocal, multicast/whatever initialization is necessary.
- do not cache mac addr in the kernel. grab mac addr from existing cards
(this is important when you swap ethernet cards back and forth)
now ppp6 works just fine!
call in6_ifattach() on ATM PVC interface to assign link-local, using
hardware MAC address as seed.
(the change is in sync with kame tree).
2000-04-12 10:36:38 +00:00
matthias
397c7cc20c
Merge all missing changes from sys/i386/i386/pmap.c;1.88.
2000-04-12 06:23:21 +00:00
nisimura
e7206926ef
Add a comment block describes what the intent of safepri global variable
...
as "During autoconfiguration or after a panic, a sleep will simply ..."
2000-04-12 04:40:50 +00:00
nisimura
cce3288e2f
Backout the previous change; safepri is an evil idea after all.
2000-04-12 04:30:35 +00:00
chs
6040f9fa38
remove sunos stuff.
2000-04-12 04:21:22 +00:00
chs
b9c0393d3f
remove support for sunos and ancient BSDs.
2000-04-12 04:20:47 +00:00
chs
1f7a988bd2
unconditionalize "ifdef sparc".
2000-04-12 04:06:41 +00:00
nisimura
19156689a9
- Abandon processor type check for R3000 or R4000/R4400 because VAX
...
processor is unlikely able to boot the kernel.
- Correct comments about what mach_init() and cpu_startup() do.
- Relocate cn_tab = &promcd to make ROM console printf() work in the
earliest stage of boot.
2000-04-12 03:05:08 +00:00
christos
aca4545896
Markus Kilbinger <kilbi@rad.rwth-aachen.de>, reported that https: does not work.
...
The reason is that netscape tries to do stream operations on a plain file. So
we avoid that...
2000-04-12 02:46:41 +00:00
nisimura
a889c809fd
MIPS1_PSL_LOWIPL -> PSL_LOWPSL. No functional change is expected.
2000-04-12 02:01:07 +00:00
nisimura
ce0937324b
- Move a loop invariant of 'if (CPUISMIPS3)' out of pagemove().
...
- XXX I'm not sure whether the anticipatory MachTLBUpdate(to, pte) is
a gain or loss on runtime. If not a loss, it should be MIPS_TBIS().
2000-04-12 01:37:58 +00:00
nisimura
85f3855a8c
- Implement mips3_TBIAP().
...
- Remove obsoluted routines in locore_mips3.S
- addiu -> addu, andi -> and, ori -> or.
2000-04-12 01:05:34 +00:00
mrg
1fdef1b204
deja vu: add "struct device *booted_device;" so raidframe links.
2000-04-12 00:47:10 +00:00
uch
441ca96c28
sync with new mips trap.c
2000-04-11 17:57:42 +00:00
castor
4ebaf4d105
Taken from Jeff Smith <jeffs@geocast.com>:
...
Fix regress/lib/libc/ieeefp/except for MIPS. Newer FPE handling code
did not generate SIGFPE, but always SIGILL. Add this back to the
assembly code. The QED 5231 requests the kernel emulates some of
the conditions that generate an SIGFPE, but when the emulation code
did a ctc1 to fsr with an exception the kernel got a FPE in kernel mode.
Fix this by saving the fp regs earlier, then saving the new FSR in
the context. This allows the FSR value to be seen by the SIGFPE
handler.
Add fp emulation for 8 mips2 fpu instructions to handle exceptions
(round.w.fmt, trunc.w.fmt, ceil.w.fmt, floor.w.fmt). This lets
perl5 run when compiled -mips2.
2000-04-11 16:28:05 +00:00
nisimura
8bbdc89989
One more line escaped from trap.c rework.
2000-04-11 12:05:35 +00:00
pk
741c324930
Finish previous.
2000-04-11 08:12:14 +00:00
leo
7d08f8e623
Add dummies for barrier methods (copied from i386).
2000-04-11 07:12:47 +00:00
leo
9b47c7431d
Now what are we doing with the return value of splx()? (probably a pasto)
2000-04-11 07:08:45 +00:00
haya
21837796b8
Maintenace: add NetBSD tag and correct the name of the auther.
2000-04-11 06:57:59 +00:00
nisimura
678a23b345
Forgot to remove mips_hardware_intr global variable.
2000-04-11 06:50:37 +00:00
matthias
156e51244a
Fix typo, DIAGNOSITC -> DIAGNOSTIC
2000-04-11 06:30:28 +00:00
chs
45c43091fb
add a cast for clarity.
2000-04-11 05:26:27 +00:00
nisimura
aa4f967e51
Abandon rather random distinctions in andi/addiu coding and make
...
them consistent with and/addu instrunction mnemonics which produce
exactly same binaries.
2000-04-11 04:53:57 +00:00
nisimura
dba7b560cd
Load delay slot is automagically adjusted at runtime since MIPS II
...
architecture.
2000-04-11 04:39:14 +00:00
chs
a6d33cc1f2
add a new function vn_marktext() for exec code to let others know
...
that the vnode is now being used as process text.
2000-04-11 04:37:47 +00:00
nisimura
3dd5742b63
Change to have cpu_intr() peculiar to DECstations; have ssir global
...
variable and cpu_intr() body in machdep.c. Reorder and rename
model specific interrupt handler arguments. Fixup machine/intr.h and
machine/cpu.h appropriately.
2000-04-11 02:43:51 +00:00
chs
8724ec3b5c
avoid declarating "i" as a local variable in a macro.
...
it's too easy to shadow another local.
2000-04-11 02:34:19 +00:00
chs
43003128d4
tidy.
2000-04-11 02:30:32 +00:00
nisimura
e342080364
Introduce cpu_intr() whose body is now provided by target ports in
...
their own ways. Ugly fixup #define in machine/intr.h have gone.
mips_hardware_intr global variable patch work has gone.
2000-04-11 02:30:14 +00:00
chs
b937447204
actually add buf- and vnode-printing commands to the table.
2000-04-11 02:21:16 +00:00
nisimura
4f3093c121
Remove various TLB manipulation routines which have been unused
...
long time, commented out and is unlikely useful; TLBWriteIndexed(),
TLBWriteRandom(), TLBFlush(), TLBFlushPID() and TLBFind().
2000-04-11 01:32:19 +00:00
uch
b16a6100aa
comment out SOFTDEP
...
add upl, uvisor.
2000-04-10 17:44:06 +00:00
mrg
b2d31a5cc9
- fix a speeling error
...
- rename some numbered labels to be a bit less confusing.
- remove dead code
- fix a debug error message (argh!)
2000-04-10 16:28:56 +00:00
mrg
cb2b15a484
- UltraSPARC IIi does not have streaming buffers; don't try to find it's
...
diag regsiter to work out why the (non-existant) strbufs don't work.
- check for malloc failure in _all_ places.
- setup the PCI control register as recommended in the IIi users manual.
2000-04-10 16:11:23 +00:00
mrg
79f22c2c51
UltraSPARC IIi CPU has bits 6-10 of the INO hardwired to 1. when we
...
install an interrupt handler, make sure we set these bits to 1. now,
interrupt_vector in locore can find our registered interrupt handlers
and at least try to setup a call to them.
2000-04-10 16:07:50 +00:00
mrg
304778e6c2
- IRSR_BUSY is bit 5 not bit 4.
...
- IRSR_MID(x) is &'d with 0x1f (5 bits) not 0xf.
2000-04-10 16:05:13 +00:00
mrg
f7618dcb04
add 4 more bits for the PCI control register
2000-04-10 16:04:02 +00:00
itojun
6db43d2c0e
cosmetic (space before EOL), to ease diff against kame
2000-04-10 15:45:24 +00:00
pk
cfadc0991a
Get a kernel without DDB to build.
2000-04-10 13:34:18 +00:00
nisimura
53e7a8c8d5
- Fix a bug in mips1_TBIAP() misbehaving like as mips1_TBIA().
...
- Adjust comments to reflect what it does.
2000-04-10 11:38:16 +00:00
simonb
3d6b29f228
Use UVM_PGA_ZERO in uvm_pagealloc() calls instead of using pmap_zero_page().
2000-04-10 08:50:20 +00:00
haya
f0f4d101b2
Add rl cardbus attachment.
2000-04-10 07:58:18 +00:00
haya
1e921e0bd3
Regen.
2000-04-10 07:46:51 +00:00
haya
e49807d100
Incorporate the changes of RL81x9 driver provided by M. Kanaoka
...
<kanaoka@ann.hi-ho.ne.jp>. He separated the driver into IC specific
portion and bus attachment portion and added cardbus attachent.
2000-04-10 07:42:55 +00:00
bouyer
73fe3e3323
Add dependancy to wdc for ata.c, so that 'atapibus at umass' will compile
...
without wdc or pciide. Closes kern/9842 from Gary Duzan.
2000-04-10 06:43:38 +00:00
thorpej
d37f3bd4ee
Use UVM_PGA_ZERO in pmap_alloc_ptp().
2000-04-10 06:34:11 +00:00
simonb
856c6ff149
Remove duplicate CTL_MACHDEP definitions (duplicated in <alpha/cpu.h>).
2000-04-10 06:04:28 +00:00
nisimura
ea23dc6364
Make sure ASID management is done in the same way of NetBSD/alpha. Rename
...
and change 'pmap_alloc_asid()' into 'pmap_asid_alloc()'
2000-04-10 05:34:27 +00:00
nisimura
c84ed44f75
Make (sure) ASID management same as what NetBSD/alpha does for ASN.
...
ASID#0 is reserved for pmap0 shared between proc0 and kthreads,
and every TLB for KSEG2 has G (global) bit to have wildcard match
regardless of the process' ASID. MIPS1 would flush TLBs belong
to user spaces upon ASID generation bump. Change for MIPS3 is
to be done.
2000-04-10 04:59:46 +00:00
matt
9434b7b19e
Add fix for VS4000 SCSI hangs on disk writes. Add a VAX_BUS_DMA_SPILLPAGE
...
and use it in the asc_vsbus driver.
2000-04-10 03:49:56 +00:00
chs
1c084aee4f
add ddb commands for printing vnodes and bufs.
2000-04-10 02:22:13 +00:00
chs
66014d2dff
sparc -> __sparc__
...
print lock status in uvm_object_printit().
2000-04-10 02:21:26 +00:00
chs
061ecbff46
tidy.
2000-04-10 02:20:06 +00:00
chs
545ce9be22
remove unused macro.
2000-04-10 02:19:29 +00:00
chs
9faf1824c8
in pool_put(), fill the entire object with PI_MAGIC instead of just the
...
first element.
2000-04-10 02:17:42 +00:00
chs
8ad280f815
sparc -> __sparc__
...
sun3 -> __sun3__
2000-04-10 02:16:15 +00:00
simonb
e2b66b68da
Small white space and 80col wraparound cleanups.
2000-04-10 01:53:11 +00:00
thorpej
b6e1cd056f
Make `whichqs' volatile so that C code can safely loop around it.
2000-04-10 01:48:56 +00:00
chs
ef20427f07
sparc -> __sparc__
2000-04-10 01:22:44 +00:00
chs
19de42337d
add rudimentary support for tracing stacks back into user space.
2000-04-10 01:22:09 +00:00
chs
7e160e9e20
add newline at end of debug printf.
2000-04-10 01:21:06 +00:00
chs
64bb56dcc8
add decls for fd driver.
2000-04-10 01:19:13 +00:00
thorpej
eeb3a38cfc
Use UVM_PGA_ZERO in the promote-zero-fault case of uvm_fault().
2000-04-10 01:17:41 +00:00
thorpej
a9f69b00d2
Use UVM_PGA_ZERO.
2000-04-10 00:48:35 +00:00
thorpej
345b3d2136
Use UVM_PGA_ZERO in a few (easy) places.
2000-04-10 00:32:46 +00:00
thorpej
2c48131727
Add UVM_PGA_ZERO which instructs uvm_pagealloc{,_strat}() to return a
...
zero'd, ! PG_CLEAN page, as if it were uvm_pagezero()'d.
2000-04-10 00:28:05 +00:00
christos
e6baf1c570
Follow the unused convention.
2000-04-09 22:40:11 +00:00
ragge
8d2f5fd273
Fix TOY clock reading/writing on KA820.
2000-04-09 21:05:39 +00:00
augustss
b0789bc4f4
Add upl(4) driver. Uncomment uvisor(4) driver.
2000-04-09 18:34:02 +00:00
augustss
40b25953db
Add driver for Prolific PL2301/PL2302 host-to-host adapter.
2000-04-09 18:23:23 +00:00
ragge
d9c7f72cf3
Device driver for the DEC DEBNA/DEBNT/DEBNK ethernet device.
...
This is for sure the most overkill hardware I've ever seen! For example,
it needs the VAX page tables so that it can access all data structures
and mbufs in virtual memory! It will be a real challenge to make this
device work on mips and Alpha systems :-)
2000-04-09 16:49:57 +00:00
ragge
9b917327ac
Add insqti/remqhi macros. These macros are interlock queue instructions
...
used in multiprocessor systems as well as in uniprocessor environments
with intelligent I/O devices.
2000-04-09 16:37:09 +00:00
uch
b6627b36a0
add rnd, IPV6 etc.
2000-04-09 14:14:50 +00:00
takemura
f83087efc5
Add pseudo device 'rnd' for /dev/random.
2000-04-09 08:28:00 +00:00
takemura
2c13222ffc
Delete needless #if.
2000-04-09 08:26:15 +00:00
mrg
5e32788ad7
regen
2000-04-09 06:49:16 +00:00
mrg
a20d930808
rename some unimplimented (because they are OLD in sunos) syscalls to avoid confusion.
2000-04-09 06:47:39 +00:00
christos
93f27a1a74
Print the extra bits in the SS_ flags. Somehow lwp uses 0x6f00000b0. What is
...
0x6fxxxxxx. Inquiring minds would like to know :-) It does not appear to be
documented.
2000-04-09 06:28:28 +00:00
christos
0884c7e58f
Disable previous; it makes things worse.
2000-04-09 05:48:07 +00:00
christos
9813882e34
Add new sysconfig bits.
...
Fix the bogus numbering of the old bits.
2000-04-09 05:33:04 +00:00
christos
a8d9661557
Try to do something more reasonable in the ASLWP case. Unfortunately
...
we don't support the semantics needed.
2000-04-09 05:30:17 +00:00
christos
926a3cecf8
print the extra SA_ bits we don't support.
2000-04-09 05:29:28 +00:00
christos
d1ea7c73a4
Try to emulate the svr4 setpsr trap. Needed by lwp.
2000-04-09 05:25:37 +00:00
soren
e48983aa08
Add some IRIX constants.
2000-04-09 01:09:59 +00:00
mark
b9156eec05
Add missing include of vm/vm.h
2000-04-09 00:18:12 +00:00
soren
ea5325726d
Be a little more careful parsing boot parameters.
2000-04-09 00:13:54 +00:00
soren
579f97d5c5
The interrupt line registers for the devices wired directly to the CPU
...
are not meaningfull. Instead match them by {bus,device,pin}.
2000-04-09 00:13:27 +00:00
soren
43a7ae04c9
Disabling PCI Memory Read Multiple improves Tulip transmit performance 30%.
2000-04-09 00:11:51 +00:00
soren
09ad839ab3
This file has been superseded by the MI ELF code.
2000-04-08 22:30:26 +00:00
tsarna
12188e5241
A GENERIC-like configuration for the Netpliance i-opener.
2000-04-08 21:27:07 +00:00
augustss
8fb6cb9b81
Remove usused field.
2000-04-08 20:54:38 +00:00
augustss
2d88a5d886
Regen.
2000-04-08 20:35:13 +00:00
augustss
e75e18b138
Add another ISD IDE adapter.
2000-04-08 20:14:00 +00:00
kleink
87e3081158
Make this actually configure.
2000-04-08 18:16:42 +00:00
mrg
e2ed27832e
with these two, POWEROFSEVEN now compiles cleanly.
2000-04-08 15:15:41 +00:00
tsutsui
909b096cf8
Remove #ifdef __NetBSD__ code inside !__NetBSD__ part.
2000-04-08 13:49:43 +00:00
tsutsui
de19673726
Add vaddr_t cast to vtophys() arg. (for powerpc)
2000-04-08 13:44:12 +00:00
mrg
171d3a1576
don't use -Wuninitialized
2000-04-08 04:46:15 +00:00
mrg
d0be8351d9
add casts to stop gcc complaining
2000-04-08 04:45:41 +00:00
mrg
4583d39d24
correct the pci ino->ipl table. shut up gcc once more.
2000-04-08 04:35:01 +00:00
mrg
5b5f175f38
- store the ebus's parent so we can find the IOMMU
...
- use generic iommu routines in the ebus code (uses the above)
- add some more comments.
2000-04-08 04:33:09 +00:00
mrg
d360a37afd
- remove unused variable.
...
- include <sparc64/sparc64/cache.h> to get cache_flush() prototype.
- remove an unnecessary cast.
2000-04-08 04:17:31 +00:00
tsarna
9964217571
Fix fms_free like auvia_free
2000-04-08 03:50:48 +00:00
tsarna
a1ea15c0e1
Fix auvia_free, clean up more on close, and be more careful in interrupt
...
handler.
2000-04-08 03:33:58 +00:00
mrg
34d04ff6db
include <ddb/db_output.h> to get the db_printf() prototype.
2000-04-08 03:09:00 +00:00
mrg
748cfc6b99
rearrange a little to accommodate real SUNW,psycho support.
2000-04-08 03:08:20 +00:00
mrg
70e38e4034
actually, i wrote these in 2000
2000-04-08 03:07:07 +00:00
itojun
d65678850d
fix build of ucom. (static/non-static)
2000-04-08 01:22:26 +00:00
soren
aa4c70110e
Move the start of the user stack down a little to account for the
...
virtual address checking done by the R8000 and some QED CPUs.
From Jeff Smith.
2000-04-07 21:50:08 +00:00
aymeric
8e8e291c78
Prevent serial port from hanging when used as both console and terminal.
2000-04-07 19:47:18 +00:00
augustss
ef57f37442
Regen.
2000-04-07 19:00:17 +00:00
augustss
4ca1044eb8
Add Prolific host-host adapter.
...
I'll write a driver in a few days.
2000-04-07 18:59:58 +00:00
thorpej
0ed7436590
Add a patchable variable `tlp_srom_debug' that enables dumping of
...
SROM output, etc.
2000-04-07 18:58:15 +00:00
nathanw
69b1a83709
Restore sysbeep (accidentally removed in last commit).
2000-04-07 18:58:09 +00:00
thorpej
4044b5a41c
Use separate callouts for motor-on and motor-off. Fixes a condition
...
where the floppy driver would wedge because a motor-on timeout would
be cancelled by another I/O operation cancelling a motor-off timeout.
From enami tsugutomo <enami@sm.sony.co.jp>.
2000-04-07 16:58:53 +00:00
thorpej
6dd5a9db6e
Use dev/isa/fd.c.
2000-04-07 16:35:19 +00:00
thorpej
91d6998394
Combine the Alpha, BeBox, and i386 ISA floppy drivers with a sledgehammer.
...
Not a perfect solution, but this is two less versions of this driver I
now have to modify.
2000-04-07 16:32:03 +00:00
tsubai
2ca39ceddf
Make this compile again.
2000-04-07 14:35:58 +00:00
augustss
3b05a69aa2
Remove a couple of Static that shouldn't be there.
2000-04-07 12:40:16 +00:00
tsutsui
85bebee4a9
Use proper virtual address for some devices.
...
The transparent translation register is no longer required.
2000-04-07 12:09:30 +00:00
chs
d75d6fb164
restore a brelvp() that I removed in a moment of overzealousness.
...
Debugged by: Brian Grayson <bgrayson@netbsd.org>
2000-04-07 08:27:28 +00:00
chs
f1196b666f
change "ifdef sparc" to "ifdef __sparc__".
...
this fixes solaris shared libraries.
2000-04-07 07:02:11 +00:00
wiz
afc40c7421
comment out (erroneously?) added mcabus, until dev/mca exists
2000-04-06 23:55:04 +00:00
augustss
9355847b78
Fix typos in comments.
2000-04-06 23:44:20 +00:00
augustss
af0c0d535a
Fix a bug in HID Pop handling. From UCHIYAMA Yasushi.
2000-04-06 22:58:32 +00:00
tsutsui
cae6a3d2a4
Fix bogus byte-swap code in ncr_snooptest().
...
XXX This snoop test is not needed if ncr had real bus_dma(9) support...
2000-04-06 14:42:06 +00:00
augustss
7859835446
Add another #if NATAPIBUS > 0 in case there is no atapibus attached.
2000-04-06 13:52:04 +00:00
mrg
580ccd66ad
make this work with years-old new-style mdsetimage, etc.
2000-04-06 13:39:26 +00:00
jdolecek
cef3c93f82
Switch to MI ns_cksum.c - the MD ns_cksum.c is equivalent to it
...
(modulo some u_intX_t vs. u_char type usage). In particular, the
MD version didn't contain any MD code.
2000-04-06 13:37:49 +00:00
augustss
cf248f12dd
Add some, remove some.
2000-04-06 13:33:47 +00:00
mrg
966add799c
avoid some more compiler warnings, and fix a couple of errors.
2000-04-06 13:32:49 +00:00
augustss
a302716de4
Let the parent device of a ucom decide what size the read and write
...
buffers should be since it knows about the speed.
Increase the buffer size of uvisor.
XXX The uvisor is still pitifully slow. There must be a problem somewhere.
2000-04-06 13:32:28 +00:00
mrg
6b64191106
add some more casts to shut up gcc.
2000-04-06 12:49:00 +00:00
mrg
736ce53ae5
- #include "opt_ddb.h" to get correct Debugger() prototype.
...
- add some (u_long) casts to shut up GCC.
2000-04-06 12:17:26 +00:00
mrg
2809e2c3c4
cast to u_int64_t before shifting by 32 bits; avoids compiler warning.
2000-04-06 12:08:34 +00:00
haya
7bc5a1ca36
Add CardBus interrupt enable flag. When this flag is asserted, a
...
CardBus interrupt is routed to the child devices and vice versa. This
flag is negated when a pccbb receives a suspend or stanby event.
2000-04-06 09:11:57 +00:00
augustss
1acb380bf7
Make it compile without USB_DEBUG. From Chris Jones.
2000-04-05 21:24:11 +00:00
nathanw
bac9153774
Advance index into rasops_cmap for each color, not per triplet.
...
This makes highlighing and color possible on truecolor displays.
2000-04-05 20:33:28 +00:00
is
1edce49e66
Bug fixes for 68020only or 68030only machines, by Aymeric Vincent.
2000-04-05 19:38:33 +00:00
phil
799abe9329
Quiet some printfs unless VERBOSE.
2000-04-05 18:39:09 +00:00
ad
031d0221e7
Only spew about every interrupt that gets hooked up if DEBUG is defined
...
(i.e. not DIAGNOSTIC).
2000-04-05 17:49:55 +00:00
mrg
c4436b3c73
add some comments, clean this up a bit.
2000-04-05 14:30:44 +00:00
mrg
410a32c515
enable auxio at ebus.
2000-04-05 14:28:55 +00:00
mrg
21adbdd7d0
after enabling the streaming buffer, check to see that it is actually
...
there and enabled. if it appears to be missing or not enabled, do
not use it.
2000-04-05 14:26:51 +00:00
mrg
ff95126059
add a couple of comments.
2000-04-05 14:23:45 +00:00
mrg
b986c284fe
correct a message
2000-04-05 14:23:27 +00:00
mrg
cb71509569
be slightly more verbose when attaching ebus devices.
2000-04-05 12:30:42 +00:00
jdolecek
2a0b424186
LKM fixes:
...
* fix a typo in callout_stop() call
* prototype fd_mod_init(), fd_mod_free() to avoid warnings
* include iwm_mod.h
Fix sent in port-mac68k/9787 by Dave Huang.
2000-04-05 11:37:13 +00:00
augustss
1b535c32fc
Make this driver actually work.
...
(Noone did any testing for me, so I had to buy a Handspring Visor myself.)
2000-04-05 11:12:48 +00:00
augustss
8b5373dd2e
Use reference counting on the softc so detach doesn't blow it away prematurely.
2000-04-05 11:11:33 +00:00
jdolecek
8857b94a5c
winchip_cpu_setup(): restructure code to avoid warning when I586_CPU is not defined
2000-04-05 10:09:50 +00:00
mrg
add6dbf96c
clean this up some.
2000-04-05 08:03:03 +00:00
mrg
f4e31c4b14
attach auxio at ebus
2000-04-05 07:58:44 +00:00
mrg
9933bfdf9c
driver for the PCI/ebus AUXIO registers.
2000-04-05 07:52:48 +00:00
jdolecek
7bc4915fcd
Disable TSC on WinChip C6, add WinChip 2 & WinChip 3 entries.
...
From Kamo Hiroyasu <wd@ics.nara-wu.ac.jp> OpenBSD kern/991
via Takahiro Kambe <taca@sky.yamashina.kyoto.jp>.
2000-04-05 07:46:33 +00:00
scottr
3ca0215f69
Correct a pasto in pm_pmgrop_pm1(); while there were no negative side
...
effects, the place this code ended up couldn't have had any positive
effect, either.
2000-04-05 07:29:18 +00:00
scottr
15a3a17a43
Correct a few instances where we returned from a function that
...
had set splhigh() but returned without restoring the previous spl.
The PowerBook keyboard works better, now, but still starts to flake
out pretty badly at 70+ wpm.
2000-04-05 07:18:07 +00:00
mrg
952f1cf1d0
avoid using uninitalised variables inside WDCDEBUG.
2000-04-05 06:27:36 +00:00
mrg
508af4078f
- go through a list of kernels like other ports do.
...
- don't drop off the partition from the boot device, so that we
can boot from partitions that aren't the start of the disk...
2000-04-05 06:23:33 +00:00
mrg
66ca8568fe
minor cleanup.
2000-04-05 06:21:14 +00:00
mrg
f3468bd3d8
use DPRINTF() style debug messages; s/sbus/iommu/ in a few remaining places.
2000-04-05 05:59:03 +00:00
mrg
36b65b7d48
return if we can't map DMA buffers
2000-04-05 05:54:02 +00:00
enami
07702f68a6
Introduce new filesystem type FS_CCD so that an operator can mark the
...
ccd component partition. Note that the ccd driver still allows partitions
of any types as components since an on-disk BSD disklabel isn't available
on some port.
2000-04-05 04:03:20 +00:00
mrg
fe2a55b12c
include opt_ddb.h. use generic iommu enter/remove/flush routines
2000-04-05 03:08:03 +00:00
mrg
ef18ba9083
include opt_ddb.h
2000-04-05 03:05:15 +00:00
mrg
7928eb6d98
add "hme at pci" support. also, add "nsphy at mii" and other mii stuff
2000-04-05 02:34:19 +00:00
mrg
710872c1d0
add "hme at pci" support.
2000-04-05 02:31:19 +00:00
pk
99dbc425e9
Use copyin/copyout to get a colormap from/to user space.
...
Also, prepare for the case of a colormap maintained in kernel space.
2000-04-04 21:47:17 +00:00
nathanw
2d78be17d1
Fix computation of ri_xorigin in RI_CENTER case; convery from bytes to
...
pixels, not from bytes to bytes^2/pixel.
2000-04-04 20:59:17 +00:00
augustss
36b5d25ca8
Make protocol message more accurate.
2000-04-04 20:16:47 +00:00
augustss
a94b555441
Put a ratecheck on error messages from the interrupt pipe.
2000-04-04 20:16:19 +00:00
thorpej
5ecdfa3fc0
Rearrange the 21142/21143 SROM/CIS handling code to give it a chance
...
of working, and last-ditch default to MII-over-SIO with no reset routine
if we don't find an ISV SROM or quirk.
2000-04-04 19:33:21 +00:00
thorpej
5a41b5bf56
- if_tlp_cardbus.c: Use the `pmreg' pointer passed by by
...
cardbus_get_capability() [mirror change already made to if_tlp_pci.c]
- if_tlp_cardbus.c: If we don't find an ISV SROM, try to grab the
Ethernet address from the CIS.
- if_tlp_cardbus.c: set CardBus cards to store-and-forward mode from
the get-go.
- Put the TxThresh tables in tulipvar.h, and use them in the CardBus
and PCI front-ends to go to store-and-forward mode.
- Document the Xircom X3201-3 clone a little more.
2000-04-04 19:22:50 +00:00
thorpej
d11a9a62e2
Fix fallout from callout.
2000-04-04 17:20:54 +00:00
bouyer
77f1e5eb02
Add checks to detect busy-waits, conditionnal on new debug flag
...
DEBUG_DELAY (0x40). This will print how much time we did loop in wdcwait(),
if we had to read registers more than one time.
2000-04-04 12:43:13 +00:00
bouyer
fcb3e9ddac
Better fix to previous: delay(100) before the IDENTIFY, and if it fails
...
delay(1000000) and retry. The 1s delay is needed for some special case only,
no need to hang the machine for that long everytime (especially for PCMCIA).
2000-04-04 09:25:51 +00:00
jdolecek
c78399fc88
Add a new sysctl variable vfs.ffs.log_changeopt - if this is true,
...
an optimalization strategy change is logged into syslog. Default
is 0 (to not log). This replaces the recent not quite "right"
change to only log the change if kernel is compiled with DEBUG.
2000-04-04 09:23:20 +00:00
jdolecek
2deec9c018
add a comment regarding FATMIRROR bit usage and restructure the code
...
slighly to make the check more explicit
2000-04-03 18:12:12 +00:00
aymeric
fdbfdd90f2
added two vaddr_t casts so that this compiles again with -DDEBUG
2000-04-03 15:07:07 +00:00
joda
d3b06b0596
regen
2000-04-03 15:05:05 +00:00
joda
0caed62b03
add some NVIDIA chipsets
2000-04-03 15:04:42 +00:00
augustss
358b947b7b
Correct a typo.
2000-04-03 13:40:05 +00:00
augustss
d063047593
Enable QIC157 command set. Untested.
2000-04-03 12:31:34 +00:00
augustss
dc3ce0b35e
Enable UFI protocol. Still untested in NetBSD. Used by, e.g., Y-E Data
...
floppies.
2000-04-03 12:12:38 +00:00
augustss
b9d50c36a7
Regen.
2000-04-03 12:10:04 +00:00
augustss
e0b4887adf
Add more vendors and devices. From FreeBSD and Nick Hibma.
2000-04-03 12:09:43 +00:00
augustss
b94d546033
Change #define CMSG_ALIGN so it's not recursive. Now the kernel compiles
...
again.
2000-04-03 11:49:25 +00:00
soda
1c5551f260
splsoftnet() should block softclock() too.
2000-04-03 11:44:19 +00:00
tsubai
c1acffff5c
When call a signal handler, don't pass the kernel (local) address in r5.
2000-04-03 10:23:24 +00:00
chs
60a7a67f71
remove uvm_shareprot(). no longer needed since the demise of share maps.
2000-04-03 08:09:02 +00:00
chs
03a4ef3a79
remove the "shareprot" pagerop. it's not needed anymore since
...
share maps are long gone.
2000-04-03 07:35:23 +00:00
simonb
9edec906b5
Removing trailing comma from enum declaration.
2000-04-03 05:58:31 +00:00
sato
8bf945e9b3
push power button, send POWERCONTROL_LCD event.
2000-04-03 04:32:00 +00:00
sato
0f3ba7133a
MCR-300, MC-CS LCD on/off port.
2000-04-03 04:31:05 +00:00
enami
6442efb498
Make this file compiles under some condition:
...
- #if 0'ed out the umass_reset for now.
- some atapibus specific code is conditionalized by NATAPIBUS.
2000-04-03 03:56:49 +00:00
enami
97ba34b80b
- Unselect the multicast outgoing interface if it is being detached.
...
- Drop the multicast membership if we are joining through the interface
being detached.
2000-04-03 03:51:16 +00:00
enami
107aabc200
Bump the reference count of ifaddr while it is refered through in_multi.
2000-04-03 03:50:05 +00:00
sato
126ead3471
add some events.
2000-04-03 03:48:42 +00:00
sato
c1f0f12753
- hpcmips_verbose
...
- pbsdboot -v option
- WIN I/O setting
- vrisa IRQ GPIO mapping
- memory banks.
2000-04-03 03:39:58 +00:00
enami
c560e9a77b
When killing pending xfers on device detach, we can't expect scsipi_done
...
to remove all xfers from the pending queue. It removes only xfers for
asynchronous transactions. So, simply loop over all pending xfers
with calling scsipi_done and wait xfers to drain. Addresses PR#9703.
2000-04-03 03:37:33 +00:00
sato
7782859d5b
mips_hardware_intr is defined in <mips/intr.h>
2000-04-03 03:37:25 +00:00
sato
1e2f627e0b
- virtual TEXT vram implimentation.
...
- optimize scroll.
- hardware accelerator hooking mechanism (initianly, maybe change..)
- multiscreen (some bugs, so currently disabled)
- if you want disable above codes, #define HPCFB_DISABLE.
2000-04-03 03:35:37 +00:00
itojun
07f0b2299b
hide CMSG_ALIGN() from the userland, it is not part of RFC2292/Posix.1g.
2000-04-03 02:06:11 +00:00
cgd
1f0de7e7d2
actually put a _comment_ before the second read of the ident register
...
that Charles added in rev 1.58. Not only is it good programming practice
to explain magic, but code that looks like:
reg = pcic_read(h, PCIC_IDENT);
reg = pcic_read(h, PCIC_IDENT);
is _gonna_ be interpreted as a cut-n-paste error by someone eventually.
2000-04-03 01:55:25 +00:00
thorpej
156114a02f
Use the new cpu_amask variable rather than calling alpha_implver() and
...
alpha_amask() ourselves.
2000-04-03 01:48:07 +00:00
thorpej
55287d7159
Print any architecture extensions present on the primary CPU.
2000-04-03 01:47:28 +00:00
enami
ae8fb348b3
Fold long line.
2000-04-03 01:40:51 +00:00
thorpej
dbcb4cee48
Fix a typo in a previous revision, and add bit names for amask bits for
...
use with bitmask_snprintf().
2000-04-03 01:10:17 +00:00
mycroft
cfeee7a4ef
Enable de, since tlp doesn't support one of my cards.
2000-04-03 01:04:36 +00:00
soren
076e3ffa1c
Update.
2000-04-03 00:20:11 +00:00
augustss
9a31a8c77f
Add atapibus* at umass?
2000-04-03 00:03:28 +00:00
augustss
e126f0d1b3
New and shiny version of the umass driver. This is a port of the new
...
FreeBSD umass driver by Nick Hibma <n_hibma@freebsd.org> and
MAEKAWA Masahide <bishop@rr.iij4u.or.jp>.
Improvements:
uses asynchronous USB requests
supports more transport protocols (Bulk-only and CBI)
supports more command sets (SCSI and ATAPI)
Tested with Zip100 and Imation Superdisk.
2000-04-02 23:46:53 +00:00
augustss
60057aca5c
Allow atapibus to be attached to umass.
2000-04-02 23:40:41 +00:00
augustss
b6cee95eb7
Let the device thet gets an atapibus attached specify how to kill pending
...
transfers by giving a function pointer.
The old method always called wdc specific code.
2000-04-02 23:38:19 +00:00
mycroft
b1c28384dc
If the SROM size is to far out of range, issue a diagnostic and set the size
...
to 1Kb. Some boards (e.g. my SMC9332) have a broken MicroWire interface.
2000-04-02 23:38:05 +00:00
augustss
0a425e1f3d
Generate an error message if starting a transfer fails.
2000-04-02 21:25:41 +00:00
thorpej
2bc5adb20e
Instead of checking vm_physmem[<physseg>].pgs to determine if
...
uvm_page_init() has completed, add a boolean uvm.page_init_done,
and test against that. Use this same boolean (rather than
pmap_initialized) in pmap_growkernel() to determine if we are
being called via uvm_page_init() to grow the kernel address space.
This fixes a problem on some i386 configurations where pmap_init()
itself was needing to have the kernel page table grown, and since
pmap_initialized was not yet set to TRUE, pmap_growkernel() was
choosing the wrong code path.
Fix tested by Havard Eidnes.
2000-04-02 20:39:14 +00:00
thorpej
d8be1024c1
Make this compile again after the callout changes.
2000-04-02 19:54:29 +00:00
mycroft
8aeb8df354
Add a flag to tell whether a MAC address was actually found in the CIS.
...
XXX This whole piece of code should go away ASAP. We should use a callback
as in the PCMCIA code. In fact, we should use the PCMCIA code...
2000-04-02 19:11:37 +00:00
thorpej
dc680eb373
Slight correction to last: really only do it if it's a 21142 or 21143.
2000-04-02 19:02:34 +00:00
nathanw
f5b5bbbf21
Add code to read and write bt463-style ramdacs; pick ramdac interface
...
functions based on type returned from tga_getconf().
Adapt to change in ramdac interface.
Fix race condition in tga_sched_update().
Make tga_sched_update() work before interrupts are enabled.
2000-04-02 19:01:11 +00:00
nathanw
bc3260fcb0
Restore ramdac-type field to TGA configuration structure.
2000-04-02 18:59:32 +00:00
nathanw
c0a4c9e67d
Move bt463 code to dev/ic and adapt to the new ramdac interface.
...
Set default window type to 24-bit truecolor.
Correctly set pseudocolor mode.
2000-04-02 18:57:36 +00:00
nathanw
c66f54d73d
Adapt to change in ramdac interface.
2000-04-02 18:55:01 +00:00
nathanw
2b4ac6a7b9
Add ramdac_register() to interface structure.
2000-04-02 18:54:33 +00:00
mycroft
e70fd4b33c
During the socket probe, read the ident register twice.
...
I don't understand why, but sometimes the clone chips in hpcmips boxes read
all-0s the first time.
2000-04-02 18:29:14 +00:00
augustss
7246364f07
With SCSIVERBOSE, only print sense data if there actually is a problem.
2000-04-02 17:58:17 +00:00
augustss
7797648425
Change the initial field in struct ata_atapi_attach and struct scsipi_link
...
slightly to allow scsibus and atapibus to attach to the same device.
Furthermore, only attach a scsibus when the bus type is BUS_SCSI.
2000-04-02 17:25:52 +00:00
mycroft
229fcf5bbe
When using MII on 2114[23] chips, zero the SIA TXRX register to disable the
...
internal Nway engine. This fixed a major performance problem.
Thanks to Matt Thomas for pointing this out.
2000-04-02 17:23:33 +00:00
minoura
78b105698a
Move dl* function definitions to libc on ELF.
...
Based on the patch supplied by Takuya Shiozaki <tshiozak@astec.co.jp>.
See http://mail-index.netbsd.org/tech-userlevel/2000/02/23/0000.html .
2000-04-02 15:35:47 +00:00
tsubai
b18b370715
Make sure color rgb:0/0/0 is black.
2000-04-02 12:53:05 +00:00
tsubai
7df13bfec7
Enable wdc1 (needed on StarMax).
2000-04-02 12:36:38 +00:00