Commit Graph

57855 Commits

Author SHA1 Message Date
thorpej ddbe03436b Add some of the Compaq RAID controller IDs. 1999-12-04 04:40:57 +00:00
simonb bd63bac162 Revert previous but move "cd share/tmac" later down so that any
generated files will go in obj dirs if they are created.  After
discussion with the two Bill's on tech-userlevel.
1999-12-04 03:52:28 +00:00
mjacob 53ecdaee6c Some queue related functions now use a u_int16_t. Turn some messages into
CFGPRINTF messages. Clear up the f/w download slightly. If less than
rev 5 2100 chip, turn off loop fairness. Clean up a botch or two.
1999-12-04 03:08:18 +00:00
mjacob 5854be051d Make sure we have a big enough buffer to sprintf into (noticed by
deraadt@openbsd.org).
1999-12-04 03:06:54 +00:00
mjacob 0f0fbfa802 Roll core version minor. Clean out some target mode stuff. Respecify some
queue related functions to take u_int16_t's. Restructure the softc a bit.
1999-12-04 03:06:05 +00:00
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
sommerfeld 26d13bd6c3 When building obj symlinks, if there's already a link pointing at the right target,
do nothing rather than deleting and recreating an identical link.
1999-12-04 02:44:07 +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
sommerfeld 60446e1a26 Mention, vaguely, that fxp drives the '559, too 1999-12-04 01:58:52 +00:00
hubertf b8a04b1a7e Document -U switch (displays processes belonging to given user/uid).
Reported in PR 8943 by WL <wliao@dura.spc.uchicago.edu>
1999-12-04 01:23:09 +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
explorer 5bfb624265 Put the function prototype back. Grr. 1999-12-03 23:34:41 +00:00
explorer bb10ce81bd Do this a bit differently.
On platforms where we can use weak aliases, use
	__weak_alias(__errno, __errno_func);
and on platforms where we cannot, just compile the function as
__errno, since on those platforms we cannot make libc thread-safe,
at least using this trick.

Are there any platforms where we cannot do __weak_alias() anymore?
1999-12-03 23:31:20 +00:00
explorer c9227efe70 Make __errno() be a weak alias for __errno_func(), so thread packages
can actually override what plain old 'errno' looks like.
1999-12-03 23:24:33 +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
mjl 183e61b9cf Use /bin/sh to take care of the EDITOR command parsing instead of home
grown method. Fixes PR/8935 by myself. Fix is from OpenBSD. Also pull
in a couple of minor changes like checking the return value of vfork().
1999-12-03 16:23:58 +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
mason 02a7de3c63 Fixed wording error. 1999-12-03 15:09:24 +00:00
simonb 072b91d324 Move the "${MAKE} obj" above the share/tmac stage so that the generated
files in that directory don't pollute the source tree before the obj
dirs are created.
1999-12-03 15:09:01 +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
fair b426e15b59 The never-sufficiently-damned Network Solutions has whacked around
the WHOIS service, again. New target: whois.networksolutions.com

This program should be replaced with one that does WHOIS++ so that it
can hit all the registries for data.
1999-12-03 08:22:09 +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 6ceceb260b clarify getaddrinfo() loop. try to contact all possible addresses
unless we experience fatal error.
XXX changed location of setuid(getuid()), may need someone's review.
1999-12-03 06:52:13 +00:00
thorpej 4a9e81df67 Pass in the appropriate machine directive to the assembler if an -mcpu=...
option is given to the compiler.  It's silly to have to specify it twice
on a command line (e.g. -mcpu=ev56 -Wa,-mev56), especially considering
that if you don't, and the compiler emits e.g. a BWX instruction, the
assembler will treat it as a macro, open-coding an equivalent, which can
have some serious unwanted side-effects in some situations.

Also, don't treat e.g. 21164 and ev5 as equivalent; the assembler treats
them differently: 21164 enables PALcode-only instructions, while ev5
does not.
1999-12-03 06:37:47 +00:00
explorer 179a2df725 add. This holds the global __isthreaded variable, to indicate that threading
is (or is not) present.
1999-12-03 06:37:34 +00:00
explorer 7d1b0fabbc typo 1999-12-03 06:36:55 +00:00
itojun 4b402f1483 clarify reverse address lookup (-N). AI_NUMERICHOST is for forward lookup.
XXX RFC2553 does not say that AI_CANONNAME means reverse lookup.
we need to check if getaddrinfo(3) implementation is correct.
1999-12-03 06:34:24 +00:00
itojun 05e574f6a9 fix memory leak in fetch_url (no freeaddrinfo was there).
sync with recent KAME.
1999-12-03 06:10:01 +00:00
itojun f816cfa0ca don't make "-prefixlen 64" a default in -inet6 case. the past behavior
was not compatible with past practice ("route get" did not work right).

sync with recent KAME.
1999-12-03 05:43:00 +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