Commit Graph

47994 Commits

Author SHA1 Message Date
jkoshy
bcf41d55dd Fix typo. Use `.Fa' to denote a function argument.
PR:		docs/18214
Submitted by:	Ben Smithurst <ben@scientia.demon.co.uk>
2000-04-26 05:09:22 +00:00
jhb
85e4002ebb Don't disable interrupts when calling a vm86 mode interrupt or routine
from user mode.  Don't disable interrupts when returning from vm86 mode
to user mode either.  Now, we only disable interrupts before calling a
hardware interrupt handler, which is the only time we _should_ be
disabling interrupts.

Because of this, err, feature, any routine that one called in vm86 mode
had to re-enable interrupts by setting the interrupt flag or interrupts
would remain disabled even after the routine returned.  For example, I
have a simple debugging routine that uses a vm86 mode function to dump
any arbitrary memory word that I use to read the BIOS timer or any other
memory location.  This function does 1 load instruction from memory and
then returns.  Since it didn't re-enable interrupts, the first time I
called it to read the BIOS timer, it disabled interrupts.   This also
affected the PXE bootstrap as it needs interrupts enabled while it is
processing.  This patch fixes both of those situations so that those
functions do not worry about having to enable interrupts.  Hardware
interrupt handlers worked fine with the old code because they always
enable interrupts as part of their routine.

If you have any problems with the loader after this commit, please
let me know.  I'd like to MFC it in a week or two since PXE support
needs it.

Noticed by:	ps, Michael Johnston <michael.johnston@intel.com>
2000-04-26 04:35:25 +00:00
kjc
448f92fc1b remove "register" specifiers to supress compiler warning. 2000-04-26 02:40:33 +00:00
wollman
0da05adfcf Hello, getconf. This is a slight reinvention of the
wheel^H^H^H^H^HPOSIX.2 and X/Open utility, and rather
more complicated than necessary.
2000-04-26 02:36:54 +00:00
mjacob
9ca89dce6c Remove unused variable. 2000-04-26 00:20:01 +00:00
phk
ded9455194 Ignore tulip chips on LanMedia WAN cards. 2000-04-25 21:45:45 +00:00
dwhite
ca3d3a02eb Remove mistakenly added {o}init. The build system adds it automatically. 2000-04-25 19:03:31 +00:00
dwhite
de8b1605ae Commit PicoBSD mega-patch:
. Bring PicoBSD up to date with -CURRENT reality.
. Make PicoBSD smart and not spam /dev/vn0 and /mnt.  Now it uses the first
  unused vn device and creates a temporary mountpoint in /tmp.
. Miscellaneous build cleanups and optimizations.

Unfortunately the bridge, isp, and router floppies are too big and need
the axe treatment.  The install floppy needs updating to -CURRENT. Dial and
net build and (appear to) run OK.  I will be adressing these in the
near future (unless someone beats me to it :-) ).

PR:		misc/17737
Submitted by:	Omachonu Ogali <oogali@intranova.net>
2000-04-25 19:00:08 +00:00
wollman
5b41d2de63 Add punctuation to make a sentence more readable. 2000-04-25 16:40:57 +00:00
joerg
b13c8f158a Reassemble a sentence that has been botched in rev 1.4.
Reported by:	Alexander Leidinger <Alexander@leidinger.net>
2000-04-25 13:53:48 +00:00
phk
a708c222de Clone the {b|bio}_offset field, and make sure it is always initialized
in struct bio.  Eventually, bio_offset will probably obsolete the
bio_blkno and bio_pblkno fields.

Remove the special hack in atapi-cd.c to determine of bio_offset was valid.
2000-04-25 10:51:18 +00:00
sheldonh
7dbc44ea92 Fix excessive use of parenthesis in previous commit.
Requested by:	bde
2000-04-25 08:59:51 +00:00
imp
349f5760a2 First cut at adding CIS reading to xe driver. I don't have a card
that seems to be working (I have a MF card that has a 336 modem and
ethernet that the probe routine finds, but the attach fails on because
pccardd doesn't do what you'd like with MF cards all the time).
2000-04-25 06:09:54 +00:00
imp
6d95189245 Checkin my first batch of New Mexico changes:
o minor whitespace things (bad because this is also a functional commit)
o Backport reading in of CIS entries from the driver level.
2000-04-25 06:07:27 +00:00
bp
dbdba2da0a More machdep/random.h -> sys/random.h fixes. 2000-04-25 05:06:31 +00:00
grog
097f16c8b7 Fix a long-standing bug which caused massive character loss in remote
serial gdb: interrupts were causing either overruns or stealing
characters.  Put splhigh() around the routines which transfer packets
across the line.  Since this happens when the system is halted in
debug, this doesn't cause any particular problem.  Now it is possible
to run the link at 115,200 bps.

PR:    (not assigned yet, must be in limbo somewhere)

Add partial support for detecting non-existent gdb devices.

Add $FreeBSD$ tag.
2000-04-25 01:41:57 +00:00
obrien
66cb354e5f Add linker_if.m to the mix. 2000-04-24 23:08:23 +00:00
obrien
1736996c17 Use kern/kern_random.c. 2000-04-24 21:53:54 +00:00
jasone
b1932c6651 Automated regression test harness for libc_r. Existing tests are integrated,
a new test for POSIX semaphores was added, and examples of harness usage are
included.
2000-04-24 21:07:45 +00:00
msmith
cf670bded4 Disable the returning of "wedged" commands; this is wrong and needs to be
rethought.
2000-04-24 19:56:26 +00:00
wpaul
8fb731fdd7 Update the Tigon firmware to 12.3.21. This fixes a few bugs and adds support
for cards with 2MB of on-board SRAM.
2000-04-24 17:44:45 +00:00
obrien
a8c8e00c91 * Use sys/sys/random.h rather than a i386 specific one.
* There was nothing that should be machine dependant about
  i386/isa/random_machdep.c, so it is now sys/kern/kern_random.c.
2000-04-24 17:30:08 +00:00
dfr
f85fa734fa * Rewrite to use kobj(9) instead of hard-coded function tables.
* Report link errors to stdout with uprintf() so that the user can see
  what went wrong (PR kern/9214).
* Add support code to allow module symbols to be loaded into GDB using
  the debugger's "sharedlibrary" command.
2000-04-24 17:08:04 +00:00
dfr
83cf368bcb Remove a debugging define which I left by mistake. 2000-04-24 16:59:46 +00:00
dmlb
c9de40ccbc Cosmetic to make errors messages look similar. 2000-04-24 15:49:20 +00:00
dmlb
5c4854774d Moved debugging definitions to a header file.
Removed NETBSDTX spares.

Renamed a load of functions - specifcally
	start -> tx
	init has download, sj and assoc as sub-functions
	report_params and update params move to repparams/upparams

Tidied up old #define's

Got rid of old DPRINTF, made printf's RAY_PRINTF and panic's RAY_PANIC

All code KNF

Removed checking the ECF_TO_HOST area in ray_init - this gets hosed
when someone updates/read a parameter from the card so causes
unneeded grief. This required moving the tib check into ray_attach.

Changed handling of interface flags in ioctl so that promiscous mode
changes are only done as needed.

Sequences of comq entries can be added to an array and automatically
dealt with - used in ray_init_user and others.

Moved IFF_RUNNING checks from the comq commands to com_runq - still
not sure what to do so we PANIC - will be fixed.

ray_sj now checks to see if any of the parameters it can update can be
updated.

ray_sj_done now updates parameters to the current n/w set if we changed
them earlier. I was being a bit thick in earlier comments as to why this
check was done - the ECF never changes the parameters.

Assocication with APs is handled outside of ray_sj - need to add
WEP stuff if I ever get my hands on an AP.

ray_stop, ray_unload and ray_reset are currently broken - reset isn't used anyway.

ray_tx_XXX and ray_rx only have cosmetic changes.

Interrupt handler now gets command out of ccs. This is so ray_intr_ccs and
ray_intr_rcs don't need to remap CM (I'm trying to roll things up a bit as
it must be slowing us down).

ray_intr_ccs just vectors commands to functions or error checks - a
jump table could replace it in ray_intr.

Ditto for ray_intr_rcs.

mcast is currently broken - I need to do more work for ALLMULTI etc. This is reasonably easy to fix becuase of the comq array stuff.

Added a few more checks into repparams so that it is firmware version aware. It also uses the new comq framework.

Parameter updating is also much better with the update parameter return routine re-worked.

Added a couple of runq entry helper functions - one that malloc's a new
entry and fills it in with sensible defaults and another that adds and
runs a seqencue of entries.
2000-04-24 15:19:40 +00:00
dmlb
b0746a4f96 Bit mask definitions for firmware versioning.
Added versioning info to the MIB sizes array so that both raycontrol
and if_ray have a better chance of not sending duff data to the ECF.
2000-04-24 14:51:25 +00:00
dmlb
dda9c57ee4 Initial import. 2000-04-24 14:50:01 +00:00
dmlb
5ff2ea4801 Make the moved about version compile and run 2000-04-24 10:10:01 +00:00
yokota
db28fdf265 - Added support for 1bpp and 4bpp BMP files.
(PC98 part of the commit will follow.)

Submitted (50%) by: Chiharu Shibata <chi@bd.mbn.or.jp>
2000-04-24 10:09:42 +00:00
mpp
74b21e46e5 Fix the grammar in my previous commit "lose" -> "loss".
I should have done it that way in the first place.

Pointed-out-by:  bde
2000-04-24 08:50:15 +00:00
ache
2fbb47bdb5 Activate ja nls if WANT_KANJI
Fix 'make release'
Suppress 'make distribute'
2000-04-24 08:14:16 +00:00
wpaul
4aaedabaa2 Add "device miibus" to SYNOPSIS section. 2000-04-24 02:01:56 +00:00
jkh
a43b0da399 Make FTP_PASSIVE_MODE check more specific.
Suggested by:	Eric D. Futch <efutch@nyct.net>
2000-04-23 21:23:34 +00:00
obrien
4dc20c0e9e Don't refer to non-existent automount(8).
Submitted by:	Alexey M. Zelkin <phantom@cris.net>
2000-04-23 18:16:16 +00:00
cg
ea94bdbf08 implement settrigger according to spec
fixes for non-blocking mode
2000-04-23 18:09:18 +00:00
obrien
ce5fa178d7 Pass "WANT_KANJI" from make.conf to the compiler. 2000-04-23 18:08:49 +00:00
obrien
aab240f546 MBYTEDEBUG not needed for "WANT_KANJI"
Submitted by:	Hajimu UMEMOTO <ume@mahoroba.org>
2000-04-23 18:08:10 +00:00
cg
33a9f13a32 maybe make cmi8330 work - no feedback yet
implement bass/treble for yamaha opl-sax chips
2000-04-23 17:57:35 +00:00
mpp
88db00dc43 ancontrol first appeared in FreeBSD 4.0, not 3.0.
Also fix a couple of minor mdoc style things as long as I'm in here.

Submitted by:	Allen Campbell <allenc@verinet.com>
2000-04-23 16:40:02 +00:00
mpp
0b58458c47 Fix a typo in the comments.
Submitted by:	Allen Campbell <allenc@verinet.com>
2000-04-23 16:32:21 +00:00
wollman
6f323e4920 Spell MAP_NOSYNC correctly.
Submitted by:	allenc@verinet.com
2000-04-23 15:15:15 +00:00
phantom
6caa8faccc Correct uk_UA.KOI8-U locale ALPHAs specification
Submitted by:	Vadim Chekan <vadim@etc.lviv.ua> (PR: conf/17826)
Submitted by:	<matey@cis.ohio-state.edu> via ache
2000-04-23 15:07:51 +00:00
phantom
d78753fd1e Add note about synchronization of .Lb macro code and its section
in mdoc.samples(7)
2000-04-23 14:53:57 +00:00
phantom
f585d93a0a Add expanded information about .Lb macro 2000-04-23 14:50:38 +00:00
phantom
40d2f93ad8 Add information about newly added .Lb macro 2000-04-23 14:49:22 +00:00
phantom
cc05420259 Suggest to use .Lb macro in 2nd/3rd section manpages. 2000-04-23 14:47:26 +00:00
markm
639d2aa33f Use Garrett's new (clearer) names. 2000-04-23 14:18:18 +00:00
nyan
c3d51a520d Disable PCI BIOS on PC-98. 2000-04-23 10:30:09 +00:00
markm
4896965c0a Cosmetic - fix RCS tag. 2000-04-23 10:01:30 +00:00