green [Tue, 30 May 2000 22:51:05 +0000 (22:51 +0000)]
Fix the ident server up more: use ssize_t/size_t/socklen_t/int all in the
proper places and make the fakeid parsing code a bit less stupid. Also,
remove an "Rflag" that snuck in there (-R wouldn't be accepted by it,
anyway).
jhb [Tue, 30 May 2000 18:32:58 +0000 (18:32 +0000)]
Fix a 64-bit'ism in the handling of the ident service. sysctlbyname() takes
a size_t as its 3rd argument, which is 64-bits on the alpha. The 'len'
variable used was a int, which is only 32-bits. Use size_t as the type
for 'len' to work-around this.
iwasaki [Tue, 30 May 2000 15:33:56 +0000 (15:33 +0000)]
Add regex(3) matching feature for card line strings.
- This feature will be enabled only if the string is
enclosed by '/' something like;
card "SunDisk" "/.*/"
- Also added matching additional information strings
followed by version string. This is for the card which is
difficult to idendentify by only the manufacturer and
card version strings matching.
card "MACNICA" "MIRACLE SCSI" "mPS100" "D.0"
msmith [Tue, 30 May 2000 15:18:30 +0000 (15:18 +0000)]
De-support 'wd'; with it making a dual appearance with 'ad', things
depending on libdisk to detect a list of actually-there disk devices
were providing duplicate entries (eg. sysinstall).
imp [Tue, 30 May 2000 05:28:14 +0000 (05:28 +0000)]
Lots of entries culled from nomads (some of them may need additional
patches to work properly). These are the ones I managed to save since
the first of the year. While I tried to make sure all the entries
would work, some of them were converted by hand from the PAO entries.
MELCO LPC3-TX (Hiroshi Yamashita-san <bluemoon@msj.biglobe.ne.jp>)
Allied Telesis CentreCOM LA100-PCM-T V2
(hideaki yoshimura-san <Hideaki_Yoshimura@YAM-YAMASYS5.ccgw.nec.co.jp>)
Planex FNW-3600-T (Satoru Sawada-san <sawada@angel.ne.jp>)
Planex FNW-3700-T (Shigeru Ishida-san <ishida@isl.intec.co.jp>)
ADVANTECH COMpad-32/85 (Kuo Chun Fan-san) (one of two ports)
TDK DN1280R (Toshihisa Eto-san <eto@clave.gr.jp> and
<masahiro@inet.isogo.yokohama.jp> Masahiro Higuchi-san)
Panasonic TO-CAF56K FAX/Data Modem (katsutoshi ito
<itokatsu@mns.lsi.melco.co.jp>)
NTT DoCoMo (formerly NTT Personal) Paldio 611S (Yoshihiko SARUMARU-san
<mistral@imasy.or.jp>)
KME (TAXAN ICD-400PN, etc.) (ncv not in tree yet) (HASEGAWA-san Tomoki
<thasegawa@mta.biglobe.ne.jp>)
WORKBIT Ninja SCSI series (nsp not in tree yet) (HASEGAWA-san Tomoki
<thasegawa@mta.biglobe.ne.jp>)
SMC EtherEZ Combo (Masanori Takeishi-san <marina@yaya.forks.co.jp>)
KANSAI ELECTRIC KLA-PCM/T (Hideaki FUKUI-san <hideman@infosakyu.ne.jp>)
Plus Two cards from Kazuya Kodama-san <kodama@rd.nacsis.ac.jp> which
were in the last commit.
dillon [Mon, 29 May 2000 22:40:54 +0000 (22:40 +0000)]
This is a cleanup patch to Peter's new OBJT_PHYS VM object type
and sysv shared memory support for it. It implements a new
PG_UNMANAGED flag that has slightly different characteristics
from PG_FICTICIOUS.
A new sysctl, kern.ipc.shm_use_phys has been added to enable the
use of physically-backed sysv shared memory rather then swap-backed.
Physically backed shm segments are not tracked with PV entries,
allowing programs which use a large shm segment as a rendezvous
point to operate without eating an insane amount of KVM in the
PV entry management. Read: Oracle.
Peter's OBJT_PHYS object will also allow us to eventually implement
page-table sharing and/or 4MB physical page support for such segments.
We're half way there.
guido [Mon, 29 May 2000 19:58:10 +0000 (19:58 +0000)]
Fix a panic resulting from an obvious null pointer deref.
Apparently some other panics still exist in this driver, but with
this fix, it was at least possible to run the Nokia card at SANE 2000.
imp [Mon, 29 May 2000 08:21:19 +0000 (08:21 +0000)]
Add Planex geowave (hosokawa in nomads)
Added two ata devices (Kazuya Kodama <kodama@rd.nacsis.ac.jp> in nomads)
Added CyQ've ELA-110E (mihira-san <sanpei@sanpei.org>)
dillon [Mon, 29 May 2000 02:31:55 +0000 (02:31 +0000)]
Fix bug in vm_pageout_page_stats() that always resulted in a full
scan of the active queue. This fix is not expected to have any
noticeable impact on performance.
dmlb [Sun, 28 May 2000 23:10:12 +0000 (23:10 +0000)]
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
groudier [Sun, 28 May 2000 17:49:18 +0000 (17:49 +0000)]
- 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.
peter [Sun, 28 May 2000 16:35:57 +0000 (16:35 +0000)]
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.
dfr [Sun, 28 May 2000 15:49:55 +0000 (15:49 +0000)]
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.
peter [Sun, 28 May 2000 13:32:49 +0000 (13:32 +0000)]
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.
peter [Sun, 28 May 2000 13:30:44 +0000 (13:30 +0000)]
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.
ache [Sun, 28 May 2000 12:43:24 +0000 (12:43 +0000)]
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>
hoek [Sun, 28 May 2000 05:06:38 +0000 (05:06 +0000)]
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!
hoek [Sun, 28 May 2000 04:41:02 +0000 (04:41 +0000)]
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.
hoek [Sun, 28 May 2000 04:10:33 +0000 (04:10 +0000)]
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>.
gallatin [Sun, 28 May 2000 02:52:54 +0000 (02:52 +0000)]
Add AlphaServer 2000 (demi-sable), 2100 (sable), and 2100A (lynx) support.
Only PCI and on-board ISA peripherials are supported at this time.
This support has been only lightly tested due to a lack of response to my
call for testers on the freebsd-alpha mailing list. It works quite well
on the one AS2100 on which it has been tested, but it may not work on
an AS2100A and should therefore be regarded as experimental.
obrien [Sat, 27 May 2000 21:50:15 +0000 (21:50 +0000)]
MFA: Add {kernel,module}-{depend,clean,cleandepend,tags,install,reinstall}
targets. The {depend,clean,cleandepend,tags,install,reinstall} targets
are composits of the {kernel,module}-* targets (based on NO_MODULES).