Commit Graph

33507 Commits

Author SHA1 Message Date
mjacob
f5c2acedc2 (wow- I thought I'd already committed most of this).
Clean up some isp_attach time stuff- if ISP2100_FABRIC is defined try *really*
hard to make sure that we get the firmware state to FW_READY and see the
loop state where the Port Database is ready to be gathered- if we don't do
this it's unlikely we will be able to correctly query the nameserver because
we won't see that we're on a fabric.

Clean up the completely broken and stupid attempts to hot switch the
'slow' start routine out of the way. Sigh.

Turn speed announcements into CFGPRINTF functions (available only if DEBUG
defined).
1999-12-04 03:04:59 +00:00
mjacob
e363023daf Rearrange defines to make the file diff cleaner with OpenBSD. Change CFGPRINTF
and default verbose levels. Add in a forced compile in f/w define unless
either IS_DISABLE_FW or ISP_COMPILE_FW defined.
1999-12-04 02:59:29 +00:00
mjacob
e6da5abb16 Add back in inclusion of microcode and rationalize it. request/response
queue indices need to be u_int16_t wide.
1999-12-04 02:56:30 +00:00
mjacob
e5835e36c3 request/response queues now indexed via u_int16_t. Add back in f/w inclusion
and clean up it's compilation. get chip rev out of pci header.
1999-12-04 02:54:54 +00:00
takemura
adf3bfa79d Fix file mode of pbsdboot.exe. 1999-12-04 02:43:48 +00:00
sommerfeld
878fa4790f Fix "make includes" since pckbc moved to dev/ic from dev/isa
(Hi, Jason!)
1999-12-04 02:16:24 +00:00
sommerfeld
97cb535e46 change comment to mention that this driver also handles the '558 and '559 1999-12-04 02:02:30 +00:00
thorpej
08d1d1b378 Actually, the 2100_A500 has 64 interrupts, not 16. 1999-12-04 00:22:54 +00:00
lukem
a63bfb3c6a add atomic.h (missed by thorpej; approved by thorpej) 1999-12-04 00:18:15 +00:00
thorpej
4560ac465a Split the PC-like keyboard controller driver into chip back-end and
bus front-end.
1999-12-03 22:48:22 +00:00
kleink
eab9ce05b7 A PCI Revision ID of 0x02 is what ESS happens to be calling ES1946 Revision E. 1999-12-03 22:34:28 +00:00
mjacob
04debef27a add back firmware with BSD style copyright as approved by Qlogic 1999-12-03 21:48:49 +00:00
perseant
22979769c0 Handle the case of a vnode flush while dirops are active correctly in
lfs_segwrite.  Also, make sure a flush is called in SET_DIROP before sleeping
on its results.  Addresses PR #8863.
1999-12-03 21:47:44 +00:00
ragge
184f8b2c39 First round of discarding the CL* macros. 1999-12-03 21:43:19 +00:00
thorpej
d8719f61c9 Get ready for some needed flexibility; put the IRQs to use for each slot
in the softc.
1999-12-03 19:02:49 +00:00
thorpej
cc0eadd619 Make pmap_main_lock a spin lock, not a sleep lock. 1999-12-03 18:49:37 +00:00
uch
1917e12c8a CS:CARD1/CARD2 8bit port support. 1999-12-03 18:15:41 +00:00
mjacob
fe61f2db84 add ISP_DISABLE_FW defopt 1999-12-03 18:02:15 +00:00
sakamoto
816e27676c s/ELF32_HDR_SIZE/sizeof (hdr)/ 1999-12-03 15:44:41 +00:00
sakamoto
7a77d2bc71 add cast for pmap_extract(). 1999-12-03 15:43:47 +00:00
simonb
04f70ed884 Add a flags variable to dc softc, and when attaching a dc determine
(via systype) whether or not it is possible for a keyboard and mouse
to be attached.  The console on a 5100 now works!
1999-12-03 13:07:35 +00:00
nisimura
54c58da2e5 The first order approximation of PMAGD SFB+ framebuffer. Proven not
working with 32bit PMAGD TURBOchannel option card (I got rainbow
colour virtical stripes on screen).
1999-12-03 09:50:53 +00:00
thorpej
0aa48d5c55 New delay(), more carefully coded:
- Use explicit assembly; don't want the compiler optimizing things too
  much here.
- Subtract 2 for each iteration of the loop, rather than 3.  The loop
  consists of only 2 instructions (even the C version compiled to a
  loop of 2 instructions).

The latter change has squashed a fairly annoying timing bug in the
mii_bitbang module as used by the `ex' driver on my AlphaStation 500.

XXX delay() should maybe be rewritten again, to use the rpcc instruction.
1999-12-03 07:29:57 +00:00
thorpej
fafcf62fd6 Update my main Alpha development machine's kernel config file to
reflect current reality.
1999-12-03 07:03:43 +00:00
itojun
19ada0968b declare new malloc types for IPv6 router renumbering use.
(part of KAME sync to latest)

XXX reorder them to make IPv6 items together?
1999-12-03 04:52:05 +00:00
mhitch
901e4b0219 Fix IOASIC DMA alignment problems. Buffers not aligned on doubleword (8
byte) boundaries don't work correctly.  Make use of the SDR0/SDR1 registers
to adjust the buffer alignment when starting the DMA transfer.  Block device
I/O done by the filesystems will usually be aligned correctly, but character
device I/O may not be aligned correctly.  This should fix the problems with
dump(8) failing randomly on DECstations.
1999-12-03 04:26:17 +00:00
oster
bed152a4e7 We don't support RF_DAG_TEST_ACCESS. 1999-12-03 03:35:30 +00:00
simonb
9991550466 Change debugging printf() so that it compiles if enabled. 1999-12-03 03:34:36 +00:00
oster
128e2e90c5 Nuke some duplicate code. 1999-12-03 03:18:45 +00:00
oster
a038f90588 Kernel memory is not to be wasted. If we're bailing out because of an error,
give any allocated memory back to the kernel so someone else can use it.
1999-12-03 03:06:44 +00:00
nisimura
d782dfb5f7 Cleanup rambling codes. 1999-12-03 03:06:11 +00:00
nisimura
6944e3acfe Remove a now defunct file. Most of the contents were already displaced
by others.
1999-12-03 03:03:48 +00:00
nisimura
ba72fb5211 Decouple DECstation binding, use 'dev/dec/mcclock_pad32.h' for
implementation consistency.
1999-12-03 02:56:37 +00:00
oster
3888a71ad1 Move LIST_INIT() to a more appropriate place. 1999-12-03 02:43:22 +00:00
nisimura
31f8115d20 Add _splrestore() to manipulate processor interrupt control bits. 1999-12-03 02:15:55 +00:00
thorpej
a51be1961c lock_machdep.c is gone. 1999-12-03 01:13:51 +00:00
thorpej
5d0a62da53 Remove now-obsolete atomic operations. 1999-12-03 01:13:17 +00:00
thorpej
2d8ef60c51 This file is obsolete. 1999-12-03 01:12:00 +00:00
thorpej
2a97466824 Rewrite the atomic locking primitives using in-line assembly. 1999-12-03 01:11:34 +00:00
itohy
169af5c51b Add a dummy read just after enabling receiver interrupt.
If the receiver already has datum, no further arrival of
data is possible and no interrupts will occur.
This change fixes problem that pressing key during boot
may sometimes disable the keyboard.

Remove unreferenced variable "in" in kbdcngetc().
1999-12-03 00:14:06 +00:00
thorpej
d89260177d In pmap_page_protect(), don't reference a pmap we're unlocking via
the PV entry we just freed (D'OH!)
1999-12-02 23:40:27 +00:00
drochner
a00a9ff012 Convert to use rasops/wsfont, enabling colors.
For now, only the "putchar" and "copyrows" accelerations are used.
1999-12-02 23:04:44 +00:00
drochner
5c69a4c489 -initialize the colormap completely at compile time, to allow drivers
to use it early
-now we can declare it "const" (as "rasops_isgray[]", while we are here)
-don't use the fg/bg colors in ...alloc_attr() if the WSATTR_WSCOLORS
 flag was not given - use reasonable defaults instead
-add an opaque "ri_hw" member to "rasops_info", for driver use
1999-12-02 22:57:13 +00:00
thorpej
9f7d189f05 Inline most of the remaining PALcode calls. 1999-12-02 22:08:04 +00:00
thorpej
90bc415584 Pull in the BWX inlines. We expect the arch to be set appropriately for
the assembler before these files are pulled in by the chip-sepecific files.
1999-12-02 19:44:49 +00:00
thorpej
4e08cc6996 CIA core logic with BWX enabled appears on EV6. We require at least
EV56 for the assembler to emit BWX opcodes, so set the arch to "ev6".
1999-12-02 19:43:58 +00:00
thorpej
dc362cf369 CIA core logic with BWX enabled appears on both EV56 and PCA56. We
require at least EV56 for the assembler to emit BWX opcodes, so set
the arch to "ev56".
1999-12-02 19:43:25 +00:00
thorpej
0a2ea99c42 Inline the BWX instructions. 1999-12-02 19:41:39 +00:00
uch
8ccf786b08 remove nonrequired include file line (fb.h) 1999-12-02 18:50:54 +00:00
uch
9bd4956230 BUSSPACEDEBUG -> BUS_SPACE_DEBUG 1999-12-02 18:41:56 +00:00