Commit Graph

48915 Commits

Author SHA1 Message Date
imp
89baefda74 Add note about make.conf's J finding bugs in ld and not to use it for
the moment.
2000-05-29 01:49:56 +00:00
dmlb
f15a757188 Remove unused ioctl locking 2000-05-28 23:23:24 +00:00
dmlb
a955b77592 Made RAY_COM_DUMP a real debug called RAY_DCOM
unsed ioctl locking
2000-05-28 23:11:47 +00:00
dmlb
364ec15dcb A bit of a messy monster.
Simple stuff
------------

	Split _download up so that the MIB settings are in their own functions.

	Made "tx completed but status is ..." a recoverable error

	Cut down verbosity of "unloaded" messages

	Moved ccs_free and com_runq from intr_ccs to ecf_done and runq_done
	to avoid embarasing mistakes and waits.

	Merged runq_add and runq_arr into one and called it runq_add

	Made RAY_COM_DUMP a real debug called RAY_DCOM

	Consistnet debugging around tsleeps.

	Use bus_activate_resource for attr/cm mapping, and set the flags
	correctly in the allocation routines (needs more hacks to
	sys/pccard/pcic.c)

	com_malloc is now seperated from the comq initialization. This was
	done whilst trying to set automatic variables for the comqs.

Harder Stuff
------------

	As part of the IFF_RUNNING fixes, remove the panic in runq if we are
	not running.

	Change, again, runq_add. This time we don't do any cleaning up
	if there were errors. This is so that callers get the chance
	to re-try (not that I ever see it being used).

	In runq_add, only sleep when there is something to sleep on!

	ioctl locking routines, stolen from awi.c but not used


Hardest Stuff
-------------

	Dealing with serialing ioctls correctly means that we must QUEUE
	changes to IFF_RUNNING and check it in the QUEUED commands, not
	in the user commands. Whilst simple to state, it took a few
	hours of head scratching to get it right. The realisation was that
	I only have to guarantee that sub-commands from a single process
	are serialised and "atomic", and that they check the status of the
	interface flags when invoked and not when they are queued.

	Another way of looking at it, is that the driver's state is stored
	in the runq and the IFF_RUNNING flag. These must be changed together.

	What this means practically, is that IFF_RUNNING is set after
	we have started/joined/associated with a network. And it is
	cleared by ray_stop via the runq so that unfinsished commands are
	not distrupted.

	I still have to fix up promisc, upp/repparams and mcast.

	Oh yeah, stop is essentially a noop in that it only
	changes IFF_RUNNING
2000-05-28 23:10:12 +00:00
gallatin
bb14193380 Part of AS2100 support that I neglected to commit last night
pointed out by: dfr
2000-05-28 17:52:08 +00:00
groudier
3bf3b0d199 - Make the NVRAM debug code compile and work.
- Get rid of a fiew uselessly `long' variables
  and casts to `long'.
- Estimate the PCI clock for all chips, except
  C1010 for now (we should do that for each PCI BUS)
- Refine a couple of C1010 errata work-arounds.
- For now, make sure AIP generation is disabled
  for the C1010-66.
2000-05-28 17:49:18 +00:00
obrien
48a0d1fc6c Fix long lines. 2000-05-28 17:18:14 +00:00
dfr
75f437d061 Add documentation for taskqueue apis. 2000-05-28 16:53:50 +00:00
peter
0c9d146093 Oops, nearly forgot to commit this one. Use correct register names, or
this will not compile without COMPAT_OLDPCI.
2000-05-28 16:38:28 +00:00
peter
eda3ab6536 Encapsulate the old PCI compatability support and APIs completely under
"options COMPAT_OLDPCI".  This option already existed, but now also tidies
up the declarations in #include <pci/pci*.h>.  It is amazing how much stuff
was using the old pre-FreeBSD 3.x names and going silently undetected.
2000-05-28 16:35:57 +00:00
peter
deeb13a8db Make this compile without depending on the FreeBSD 2.2 compatability
defines.
2000-05-28 16:31:35 +00:00
peter
256d18b0e2 Make this compile without the old 2.2 compatability defines. 2000-05-28 16:24:17 +00:00
peter
51a6e2c56d Fix a reference to an old FreeBSD 2.2 register name.
s/PCI_COMMAND_STATUS_REG/PCIR_COMMAND/
2000-05-28 16:21:45 +00:00
peter
488ea1ee27 Do not depend on FreeBSD 2.2 compatability defines.
s/PCI_MAP_REG_START/PCIR_MAPS/
2000-05-28 16:18:58 +00:00
peter
e86de1e77c Fix some leakage from inside #ifdef PCI_COMPAT (the FreeBSD 2.2 compat
stuff).
2000-05-28 16:17:18 +00:00
peter
be1e54079f Use the correct register name. s/PCI_COMMAND_STATUS_REG/PCIR_COMMAND/ 2000-05-28 16:13:43 +00:00
peter
41e3b1716f Use the correct name for the PCI command register (PCIR_COMMAND). Don't
use constant that used to be a variable in our (very) old pci code.
2000-05-28 16:06:56 +00:00
peter
f19e7c1acc Use the correct register names. s/PCI_COMMAND_STATUS_REG/PCIR_COMMAND/ 2000-05-28 16:02:05 +00:00
peter
76506d9fe2 Warn that this as an oldpci device.. 2000-05-28 15:59:52 +00:00
peter
cb68f6fdc0 Use correct register values. This one was in aic7xxx and advansys too. 2000-05-28 15:50:40 +00:00
dfr
3d3263476e Add a new pmap entry point, pmap_enter_temporary() to be used during
dumps to create temporary page mappings. This replaces the use of CADDR1
which is fairly x86 specific.

Reviewed by: dillon
2000-05-28 15:49:55 +00:00
peter
2858982d35 Use the correct register names. s/PCI_MAP_REG_START/PCIR_MAPS/ 2000-05-28 15:48:48 +00:00
peter
5ef471a3b8 Use the correct register names, not the FreeBSD 2.2 compatability ones. 2000-05-28 15:47:00 +00:00
dfr
2281181f80 Add taskqueue system for easy-to-use SWIs among other things.
Reviewed by: arch
2000-05-28 15:45:30 +00:00
peter
b67ad017c0 Use the correct name for a mapping register, not the old FreeBSD 2.x
compatability name.
2000-05-28 15:15:14 +00:00
asmodai
c1eb7ccf3c Fix typo. rightous -> righteous. 2000-05-28 15:09:31 +00:00
charnier
aaa781a609 1000000 usecs to 1 sec conversion 2000-05-28 15:06:45 +00:00
charnier
b112a2cd58 Convert to errx() 2000-05-28 15:05:15 +00:00
charnier
fbe9a39586 Add prototype 2000-05-28 15:04:01 +00:00
charnier
03ecd86625 Use .Fx 2000-05-28 15:03:14 +00:00
charnier
2d96b5343d Do not add progname in err() strings, it will be printed twice 2000-05-28 15:02:26 +00:00
charnier
0d13eca3cc Simplify .Nm. Be consistent with subcommand name 2000-05-28 15:01:12 +00:00
charnier
8325f8844a Put ASCII under .Tn 2000-05-28 14:59:54 +00:00
charnier
72a6d2e2dd Dot not dot terminate in FILES and SEE ALSO sections 2000-05-28 14:59:02 +00:00
charnier
dc8bb722f5 match prototype 2000-05-28 14:57:49 +00:00
charnier
9ea62eb3d9 Do not dot terminate lines in FILES section 2000-05-28 14:56:04 +00:00
peter
da78ae6c96 Mass update of isa drivers using compatability shims to use
COMPAT_ISA_DRIVER() so that we can get rid of the evil isa_compat.h table.
2000-05-28 13:40:48 +00:00
peter
8a48a8126e The dreaded isa_compat.h tables are no longer used, so there is no need
for a seperate pc98 version of this stuff.  Applying the same changes
from the i386 version yields identical files so remove these and use the
common ones.
2000-05-28 13:32:49 +00:00
peter
acf1d9baa5 Redo the isa compat driver shim so that each driver is self contained
and does not require that evil list of drivers in isa_compat.h.
It uses the same strategy that pci drivers use, namely a
COMPAT_ISA_DRIVER() macro that creates the glue on the fly.
Theoretically old-style isa drivers should be preloadable now.
2000-05-28 13:30:44 +00:00
groudier
93273a1f23 Reviewed by: David O'Brien
Document driver support for:
- Early NCR53C810/815/825 chips.
- Newer chip architectural improvements (Hardware phase
  mismatch and LOAD/STORE instructions).
2000-05-28 12:59:18 +00:00
ache
5af33bc3d0 Manipulate with AltGR Led (really CapsLock Led) only in K_XLATE mode, because
all other modes not set ALKED flag and it means that CapsLock always turned
off for them.
Real bug example is X11 which never turn on CapsLock with Russian keyboard.

PR:		18651
Submitted by:	"Mike E. Matsnev" <mike@po.cs.msu.su>
2000-05-28 12:43:24 +00:00
peter
ac0a007a38 ncr.c is no longer a COMPAT_OLDPCI device - remove the warning. 2000-05-28 10:45:06 +00:00
peter
6c19cf0ba1 Remove haveseen_iobase() - it is no longer called from anywhere in the
kernel.
2000-05-28 10:11:49 +00:00
sos
54c29c9155 Cosmetics: dont say Unknown but Generic chipset in probe.. 2000-05-28 07:51:23 +00:00
sos
f305c115e1 Fix alignment problem on the alpha reported by several parties. 2000-05-28 07:50:19 +00:00
hoek
339be60a22 Remove a couple of dups and fix a typo. This doesn't touch dups that
are dupped between here (fortunes2) and fortunes.
2000-05-28 05:21:45 +00:00
hoek
ffd17067a9 A set of diffs to bring the new murphy into line with the
fortune/Notes fortmatting instructions.  Also fix a couple typos.
I did a bit of this, by Cy Schubert did most of it.  Thanks Cy!
2000-05-28 05:06:38 +00:00
hoek
31a084a0cd Quoting submitter:
This is a recent conversion of an old IBM Mainframe application
 to the fortune datafile format.

 The "laws" were extracted from a S/370 Assembler program on a SHARE tape.
 The comments in the program:

 *---------------------------------------------------------------------*
 *        'MURPHY'  THE OLE PHILOSOPHER              18 AUGUST 1988    *
 *                                                                     *
 *        MURPHY WAS FOUND ON A JES2 TAPE OF ALL PLACES WITH ABOUT     *
 *        500 OR SO SAYINGS. GOT ANOTHER 250 FROM AN UNKNOWN SOURCE    *
 *        AND HAVE ADDED ABOUT 100 OR SO MYSELF.                       *
 *                                                                     *
     [list of changes omitted]
 *                                                                     *
 *        JIM MARSHALL, CAPT, USAF                                     *
 *        (301) 688-6829                                               *
 *                                                                     *
 *---------------------------------------------------------------------*

Fortunes that a sufficiently twisted mind could perceive as offensive
have been moved to murphy-o.  Thanks to the submitter for reviewing
these fortunes.

The copyright issues were considered before approval.

PR:		misc/8519
Submitted by:	Cy Schubert (misc/8519)
Approved by:	The Fortune Teller
2000-05-28 04:41:02 +00:00
hoek
8d4fe8f117 By overwhelming demand, revert the one=two joke to its previous form.
Also, fix a couple whitespace formatting errors and typos.

Note that the Klingon joke has a 12-point version in the
-chat list, mesg-id: <19990717120618.C269@marder-1> (thanks to
DES and to submitter doug@gorean).  Also, note that the following
people need to learn to double-space after a period: <DougB@gorean.org>,
<des@flood.ping.uio.no>, <mellon@pobox.com>, <jeroen@vangelderen.org>,
and <rsidd@physics.iisc.ernet.in>.
2000-05-28 04:10:33 +00:00
obrien
c0f2f68d1f Move adv.4, adw.4, aha.4, ahb.4, bktr.4, bt.4, dpt.4, ed.4, joy.4, ppc.4,
sym.4, and wi.4 to the MI area.
2000-05-28 03:27:49 +00:00