]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
24 years agocomplete_rqe: Remove a race condition in RAID-4 and RAID-5 where a
Greg Lehey [Thu, 6 Apr 2000 03:03:31 +0000 (03:03 +0000)]
complete_rqe: Remove a race condition in RAID-4 and RAID-5 where a
request could be deallocated before the top half had finished
issuing it.  The problem seems only to happen with IDE drives
and vn devices, but theoretically it could happen with any
drive.  This is the most important part of a possible series
of fixes designed to remove race conditions without locking
out interrupts for longer than absolutely necessary.

Reported-by:        sos
Fix-supplied-by: dillon
24 years agoTwo changes:
Warner Losh [Thu, 6 Apr 2000 02:54:35 +0000 (02:54 +0000)]
Two changes:
1) Move an cards to after aic, since an sorts after aic.
2) Add awi cards for the new awi drivers. This is a wireless pcmcia
   card.

24 years agoAwi driver, ported from NetBSD from Atsushi Once-san.
Warner Losh [Thu, 6 Apr 2000 02:48:48 +0000 (02:48 +0000)]
Awi driver, ported from NetBSD from Atsushi Once-san.

From the README:
Any IEEE 802.11 cards use AMD Am79C930 and Harris (Intersil) Chipset
with PCnetMobile firmware by AMD.
   BayStack 650   1Mbps Frequency Hopping PCCARD adapter
   BayStack 660   2Mbps Direct Sequence PCCARD adapter
   Icom SL-200    2Mbps Direct Sequence PCCARD adapter
   Melco WLI-PCM  2Mbps Direct Sequence PCCARD adapter
   NEL SSMagic    2Mbps Direct Sequence PCCARD adapter
   Netwave AirSurfer Plus
  1Mbps Frequency Hopping PCCARD adapter
   Netwave AirSurfer Pro
  2Mbps Direct Sequence PCCARD adapter

Known Problems:
WEP is not supported.
Does not create IBSS itself.
Cannot configure the following on FreeBSD:
selection of infrastructure/adhoc mode
ESSID
...

Submitted by: Atsushi Onoe <onoe@sm.sony.co.jp>

24 years ago Fixed minor annoyance with sysinstall being redundant / braindead in
Murray Stokely [Thu, 6 Apr 2000 01:23:21 +0000 (01:23 +0000)]
  Fixed minor annoyance with sysinstall being redundant / braindead in
the network -> interfaces menu.

Approved by: jkh

24 years agoRemoved unnecessary comma in stf addr printf in hex format,
Yoshinobu Inoue [Thu, 6 Apr 2000 00:24:52 +0000 (00:24 +0000)]
Removed unnecessary comma in stf addr printf in hex format,
which I mysteriously added.

Submitted by: ume

24 years agoAdd a new fortune and remove an email address.
Jim Mock [Wed, 5 Apr 2000 18:44:02 +0000 (18:44 +0000)]
Add a new fortune and remove an email address.

Reviewed by: jkh

24 years agoMFPAO: support wildcard entry for generic serial and fixed
Mitsuru IWASAKI [Wed, 5 Apr 2000 18:39:21 +0000 (18:39 +0000)]
MFPAO: support wildcard entry for generic serial and fixed
disk as fallthrough entry.

Submitted by: MIHIRA Sanpei Yoshiro <sanpei@sanpei.org>, iwasaki
Reviewed by: imp, -mobile ML and nomads ML in Japan
Obtained from: http://www.freebsd.org/~iwasaki/pccard/pccardd-generic.diff
http://home.jp.freebsd.org/~sanpei/4-current/usr.sbin-pccard-pccardd.diff

24 years agoFix a bug where SIGIO was not being delivered to a process requesting
Archie Cobbs [Wed, 5 Apr 2000 18:38:21 +0000 (18:38 +0000)]
Fix a bug where SIGIO was not being delivered to a process requesting
async I/O when a tty device became writable.

PR: kern/8324
Submitted by: Don Lewis <Don.Lewis@tsc.tdk.com>

24 years ago- Remove unused includes.
Ruslan Ermilov [Wed, 5 Apr 2000 14:27:34 +0000 (14:27 +0000)]
- Remove unused includes.
- Minor spelling fixes.
- Make IcmpAliasOut2() really work.

Before this change:

# natd -v -n PUB_IFACE -p 12345 -redirect_address 192.168.1.1 P.P.P.P
natd[87923]: Aliasing to A.A.A.A, mtu 1500 bytes
In  [UDP]  [UDP] X.X.X.X:49562 -> P.P.P.P:50000 aliased to
           [UDP] X.X.X.X:49562 -> 192.168.1.1:50000
Out [ICMP] [ICMP] 192.168.1.1 -> X.X.X.X 3(3) aliased to
           [ICMP] A.A.A.A -> X.X.X.X 3(3)

# tcpdump -n -t -i PUB_IFACE host X.X.X.X and "(udp or icmp)"
tcpdump: listening on PUB_IFACE
X.X.X.X.49562 > P.P.P.P.50000: udp 3
A.A.A.A > X.X.X.X: icmp: A.A.A.A udp port 50000 unreachable

After this change:

# natd -v -n PUB_IFACE -p 12345 -redirect_address 192.168.1.1 P.P.P.P
natd[89360]: Aliasing to A.A.A.A, mtu 1500 bytes
In  [UDP]  [UDP] X.X.X.X:49563 -> P.P.P.P:50000 aliased to
           [UDP] X.X.X.X:49563 -> 192.168.1.1:50000
Out [ICMP] [ICMP] 192.168.1.1 -> X.X.X.X 3(3) aliased to
           [ICMP] P.P.P.P -> X.X.X.X 3(3)

# tcpdump -n -t -i PUB_IFACE host X.X.X.X and "(udp or icmp)"
tcpdump: listening on PUB_IFACE
X.X.X.X.49563 > P.P.P.P.50000: udp 3
P.P.P.P > X.X.X.X: icmp: P.P.P.P udp port 50000 unreachable

24 years ago- Moved NULL definition into private include file.
Ruslan Ermilov [Wed, 5 Apr 2000 14:23:42 +0000 (14:23 +0000)]
- Moved NULL definition into private include file.
- Minor spelling fixes.

24 years agoThe MANSECT environment variable was misrepresented as MANSEC. Fixed.
Sheldon Hearn [Wed, 5 Apr 2000 13:57:46 +0000 (13:57 +0000)]
The MANSECT environment variable was misrepresented as MANSEC.  Fixed.

PR: 17745
Submitted by: nordwick@askjeeves.com (Jason "Just Change It" Nordwick)

24 years agoDo not report blocked out NIS password entries as passwordless.
Sheldon Hearn [Wed, 5 Apr 2000 13:42:48 +0000 (13:42 +0000)]
Do not report blocked out NIS password entries as passwordless.

Submitted by: "Sean O'Connell" <sean@stat.Duke.EDU>

24 years agoSynced with sys/conf/Makefile.i386 revision 1.181.
KATO Takenori [Wed, 5 Apr 2000 12:54:13 +0000 (12:54 +0000)]
Synced with sys/conf/Makefile.i386 revision 1.181.

24 years agoDo not panic if request issued by kernel.
Boris Popov [Wed, 5 Apr 2000 10:54:02 +0000 (10:54 +0000)]
Do not panic if request issued by kernel.

Reported by: Vladimir Poliakov <vnp@mail.kccm.ru>

24 years agoPass timezone information to an nwfs mount.
Boris Popov [Wed, 5 Apr 2000 10:48:53 +0000 (10:48 +0000)]
Pass timezone information to an nwfs mount.

24 years agoTry to obtain timezone offset from an environment of mount program.
Boris Popov [Wed, 5 Apr 2000 10:44:04 +0000 (10:44 +0000)]
Try to obtain timezone offset from an environment of mount program.
This helps in cases where CMOS clock set to UTC time.

24 years agoMake it possible to include a device interface description by a single
Doug Rabson [Wed, 5 Apr 2000 10:33:55 +0000 (10:33 +0000)]
Make it possible to include a device interface description by a single
line in files or files.${arch} instead of 13 lines of code.

This is a small chance that this will break the alpha kernel build - I'll
fix it this evening if it does.

24 years agoAllow the calling Makefile to specify a list of device interfaces instead
Doug Rabson [Wed, 5 Apr 2000 10:13:05 +0000 (10:13 +0000)]
Allow the calling Makefile to specify a list of device interfaces instead
of relying on the default list provided here.

24 years agoMinor spelling fixes.
Ruslan Ermilov [Wed, 5 Apr 2000 07:45:39 +0000 (07:45 +0000)]
Minor spelling fixes.

24 years agomake poll() dtrt, previously when playing it would trigger if there was less
Cameron Grant [Wed, 5 Apr 2000 05:54:02 +0000 (05:54 +0000)]
make poll() dtrt, previously when playing it would trigger if there was less
than 1 byte ready to play instead of room for at least 1 byte to be written.
similarly for recording.

24 years agoAdd a new options: -m enables searching for memory-mapped files.
Brian Feldman [Wed, 5 Apr 2000 05:45:40 +0000 (05:45 +0000)]
Add a new options: -m enables searching for memory-mapped files.

It is not default because it's an expensive option by nature, making the
search take 2-3 times as long.

PR: 17555
Submitted by: Ian Dowse <iedowse@maths.tcd.ie>

24 years agoCorrect a typo and interchanged library names
Kris Kennaway [Wed, 5 Apr 2000 04:09:51 +0000 (04:09 +0000)]
Correct a typo and interchanged library names

Submitted by: Ben Rosengart <ben@narcissus.net>
Matthew D. Fuller <fullermd@futuresouth.com>

24 years agoThis commit was generated by cvs2svn to compensate for changes in r59024,
David E. O'Brien [Wed, 5 Apr 2000 04:09:32 +0000 (04:09 +0000)]
This commit was generated by cvs2svn to compensate for changes in r59024,
which included commits to RCS files with non-trunk default branches.

24 years agoImport the Sparc bits of GNU binutils 2.9.1.
David E. O'Brien [Wed, 5 Apr 2000 04:09:32 +0000 (04:09 +0000)]
Import the Sparc bits of GNU binutils 2.9.1.

Requested by: steve

24 years agodecrease buffer size to 4k
Cameron Grant [Wed, 5 Apr 2000 02:14:26 +0000 (02:14 +0000)]
decrease buffer size to 4k
use a seperate channel for generating irqs so we get a buffer-half-empty
interrupt, prevents repeating on underflow

24 years agoAlways give mktime a timeval with tm_isdst set to -1, otherwise
Brian Somers [Wed, 5 Apr 2000 01:59:36 +0000 (01:59 +0000)]
Always give mktime a timeval with tm_isdst set to -1, otherwise
things get a bit out-of-phase when we step backwards 1 hour from
between 0:00 and 1:00 on the first of the month following the
transition into Summer time.  This is probably actually a bug
in mktime().

PR: 10963

If mktime() fails and 68 < year < 138, assume that the reason is
because of Summer time and adjust up or down according to our
adjusting context by one hour.  This assumes that all DSTs are
multiples of 1 hour.

PR: 6223, 17750

24 years agoallow /dev/dsp to be opened seperately for reading and writing.
Cameron Grant [Wed, 5 Apr 2000 01:13:42 +0000 (01:13 +0000)]
allow /dev/dsp to be opened seperately for reading and writing.

24 years agotry increasing 2ndbuffer size to 64k
Cameron Grant [Wed, 5 Apr 2000 00:56:02 +0000 (00:56 +0000)]
try increasing 2ndbuffer size to 64k

24 years agomove buffer size definition to .c file for consistency, and reduce it to 4k
Cameron Grant [Wed, 5 Apr 2000 00:38:00 +0000 (00:38 +0000)]
move buffer size definition to .c file for consistency, and reduce it to 4k

24 years agoAdd automatic rescan on connect. This happens already if the drive is
Nick Hibma [Tue, 4 Apr 2000 22:15:13 +0000 (22:15 +0000)]
Add automatic rescan on connect. This happens already if the drive is
connected during boot and the vpo module is in the kernel/loaded.

In the case where the module is loaded at some later stage with kldload,
the CAM bus is now rescanned as well.

24 years agoFix _zget() so that it checks the return from kmem_alloc(), to avoid
Mike Smith [Tue, 4 Apr 2000 21:00:39 +0000 (21:00 +0000)]
Fix _zget() so that it checks the return from kmem_alloc(), to avoid
zttempting to bzero NULL when the kernel map fills up.  _zget() will
now return NULL as it seems it was originally intended to do.

24 years agoAdd information about the dangarous apollo MPV3 chipset. Several
Warner Losh [Tue, 4 Apr 2000 17:14:18 +0000 (17:14 +0000)]
Add information about the dangarous apollo MPV3 chipset.  Several
people have suggested the workaround to me (use only PIO mode) and
I've not seend a message saying ths was fixed.  I'll removed the bold
warning stars after the issue is corrected.

24 years agoUpgrade the bktr driver from 2.07 to 2.10.
Roger Hardiman [Tue, 4 Apr 2000 16:54:13 +0000 (16:54 +0000)]
Upgrade the bktr driver from 2.07 to 2.10.

 - The driver now uses bus_space() and runs on NetBSD 1.4.2
   Submitted by Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>

 - Remove startup quirks for video and vbi capture for PAL users.
   PAL TV users can now run FXTV and Alevt in any order.

 - Add support for cable channels >100
   Submitted by Scott Presnell <srp@zgi.com>

 - New MSP3410/3415 setup code added. This is experimental.
   Please set the sysctl hw.bt848.slow_msp_audio to 1 for this.
   Submitted by Frank Nobis<fn@radio-do.de>

24 years agoAdd multiple #include protection
Roger Hardiman [Tue, 4 Apr 2000 16:46:19 +0000 (16:46 +0000)]
Add multiple #include protection

Submitted by:  Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>

24 years agoWhitespace change:
Sheldon Hearn [Tue, 4 Apr 2000 15:32:37 +0000 (15:32 +0000)]
Whitespace change:

Remove single-space hard sentence break introduced in the previous
commit.

Reviewed by: jmb

24 years agoFixed prototype for setflags(). setflags() returns int, not u_long,
Bruce Evans [Tue, 4 Apr 2000 14:12:35 +0000 (14:12 +0000)]
Fixed prototype for setflags().  setflags() returns int, not u_long,
and "extern" in function prototypes is a style bug.  The type mismatch
broke chflags(1) on i386's with 64-bit longs and may have broken it on
alphas.

24 years agoRemove obsolete reference to PCVT_FREEBSD.
Hellmuth Michaelis [Tue, 4 Apr 2000 13:14:43 +0000 (13:14 +0000)]
Remove obsolete reference to PCVT_FREEBSD.

24 years agoAdd a '+' to the first LDADD, otherwise it clobbers the LDADD in
Gary Jennejohn [Tue, 4 Apr 2000 11:12:55 +0000 (11:12 +0000)]
Add a '+' to the first LDADD, otherwise it clobbers the LDADD in
Makefile.alpha such that the -lkvm disappears and the link fails.

This time I tested it, honest :)

24 years agoAdd an example of how to tweak CXXFLAGS in a make.conf file.
David E. O'Brien [Tue, 4 Apr 2000 09:27:59 +0000 (09:27 +0000)]
Add an example of how to tweak CXXFLAGS in a make.conf file.

This is in responce to several people breaking their world builds by
incorrectly assigning to CXXFLAGS.

24 years agoPass me the pointy hat.
Gary Jennejohn [Tue, 4 Apr 2000 09:20:53 +0000 (09:20 +0000)]
Pass me the pointy hat.

It was not a good idea to remove csu_header from struct cspace, it had
ramifications which I didn't notice.

Restore src/usr.sbin/ppp/slcompress.h to the way it was, since MAX_HDR
was already defined as 128 there and it's a user program anyway.

In sys/net/slcompress.h make MAX_HDR 128 intead of MLEN to avoid
bloat.

My apologies for any inconvenience.

24 years ago- implement logfile archivation to a separate, user
Hellmuth Michaelis [Tue, 4 Apr 2000 08:50:01 +0000 (08:50 +0000)]
- implement logfile archivation to a separate, user
  configurable directory
- implement alternate and more flexible way to specify
  logfile rotation time in addition to the ISO 8601
  restricted format
- cleanup the source which was a mix of several styles
  of persons who maintained it so far, ran through
  knfom script got from bde.

Reviewed by: (in part) sheldonh and garyj

24 years agoRun newsyslog source through knfom script obtained from Bruce Evans.
Hellmuth Michaelis [Tue, 4 Apr 2000 08:38:30 +0000 (08:38 +0000)]
Run newsyslog source through knfom script obtained from Bruce Evans.
Joerg Wunsch suggested to do this to make the functional changes in
the next commit to newsyslog (which were run through the same script)
better visible.

24 years agoAllow MAXDEP dependants, not MAXDEP-1.
Doug Rabson [Tue, 4 Apr 2000 07:48:04 +0000 (07:48 +0000)]
Allow MAXDEP dependants, not MAXDEP-1.

24 years agoAdd libcrypto to LDADD. This fixes problems seen with e.g. apache-modssl
Kris Kennaway [Tue, 4 Apr 2000 07:31:01 +0000 (07:31 +0000)]
Add libcrypto to LDADD. This fixes problems seen with e.g. apache-modssl

Submitted by: Jim Bloom <bloom@acm.org>

24 years agoAdd a missing PXE API call and structure.
Paul Saab [Tue, 4 Apr 2000 07:28:54 +0000 (07:28 +0000)]
Add a missing PXE API call and structure.

24 years agoFix mbuf leaking - duh!
Duncan Barclay [Tue, 4 Apr 2000 06:43:30 +0000 (06:43 +0000)]
Fix mbuf leaking - duh!

24 years agoFix pcic_detach_socket to get right pcic_handle.
Warner Losh [Tue, 4 Apr 2000 04:12:43 +0000 (04:12 +0000)]
Fix pcic_detach_socket to get right pcic_handle.
Pass sc->dev rather than a bogusly cast pccard_softc *sc.

This allows us to insert and remove cards w/o panicing the kernel.
However, the cis isn't mapped in, so the pccard_scan_cis function
fails.

24 years agoBe consistant about using the right child to get the ivars, which is
Warner Losh [Tue, 4 Apr 2000 03:47:51 +0000 (03:47 +0000)]
Be consistant about using the right child to get the ivars, which is
the pcic_handle structure for the socket.

24 years agoenable emu10k1 (sblive) driver, though still playback only
Cameron Grant [Tue, 4 Apr 2000 02:34:45 +0000 (02:34 +0000)]
enable emu10k1 (sblive) driver, though still playback only

24 years agomake the click on starting output go away
Cameron Grant [Tue, 4 Apr 2000 02:16:15 +0000 (02:16 +0000)]
make the click on starting output go away

24 years agoAdd all the PXE related structures from the 2.1 PXE spec from Intel.
Paul Saab [Tue, 4 Apr 2000 00:38:59 +0000 (00:38 +0000)]
Add all the PXE related structures from the 2.1 PXE spec from Intel.
Fix exsisting code to match the spec.

24 years agoDereference a pointer (print int instead of pointer value)
Nick Hibma [Mon, 3 Apr 2000 22:28:13 +0000 (22:28 +0000)]
Dereference a pointer (print int instead of pointer value)

24 years agoNumerous fixes brought in by Lennart Augustsson from NetBSD:
Nick Hibma [Mon, 3 Apr 2000 22:19:44 +0000 (22:19 +0000)]
Numerous fixes brought in by Lennart Augustsson from NetBSD:

- Request the maximum number of LUNs on a device if it is
  a Bulk-Only device.

- Handle NO_TEST_UNIT_READY case for SCSI

- Add NO_START_STOP quirk for LS-120

- Fix a KASSERT which was the wrong way around.

- Kickstart the LS-120 with the infamous LS-120 specific command of
  which no one knows what it doesn, apart from the fact that it appeared
  in the Linux code someday.

24 years agoDocument that the flags can be specified as an octal number.
John Polstra [Mon, 3 Apr 2000 22:10:58 +0000 (22:10 +0000)]
Document that the flags can be specified as an octal number.

24 years agoOpenBSD has a broken debugger that does not grok static. Use a
Nick Hibma [Mon, 3 Apr 2000 20:58:30 +0000 (20:58 +0000)]
OpenBSD has a broken debugger that does not grok static. Use a

        #define Static  static

that the OpenBSD folks can define it to be empty if they like.

24 years agoPlug two file descriptor leaks
Brian Somers [Mon, 3 Apr 2000 19:56:49 +0000 (19:56 +0000)]
Plug two file descriptor leaks

24 years agoNuke csu_hdr from struct cspace. csu_hdr is not used anywhere in the
Gary Jennejohn [Mon, 3 Apr 2000 19:54:33 +0000 (19:54 +0000)]
Nuke csu_hdr from struct cspace. csu_hdr is not used anywhere in the
tree. This considerably reduces unnecessary bloat in struct slcompress.

I'm running with this change right now and have seen no negative
side-effects.

On my sytem this reduced kernel BSS by about 25KB.

Submitted by: bde
Approved by: brian for user-ppp

24 years agoAdd note on SCSI floppy on DEC3000 series
Wilko Bulte [Mon, 3 Apr 2000 19:32:22 +0000 (19:32 +0000)]
Add note on SCSI floppy on DEC3000 series

24 years agoEnable etc/defaults/pccard.conf which is default configuration file
Mitsuru IWASAKI [Mon, 3 Apr 2000 19:24:25 +0000 (19:24 +0000)]
Enable etc/defaults/pccard.conf which is default configuration file
for pccardd.
Please install /etc/defaults/pccard.conf and update /etc/defaults/rc.conf
as well.
Note that old pccard.conf.sample still remains for while but
no longer to be maintained.

Reviewed by: imp, -mobile ML and nomads ML in Japan.

24 years agoRegen.
Nick Hibma [Mon, 3 Apr 2000 15:15:50 +0000 (15:15 +0000)]
Regen.

24 years agoAdd Freecom + product; Update NetBSD's copyright
Nick Hibma [Mon, 3 Apr 2000 14:47:43 +0000 (14:47 +0000)]
Add Freecom + product; Update NetBSD's copyright

24 years agoExplain static numbering.
Sheldon Hearn [Mon, 3 Apr 2000 13:07:33 +0000 (13:07 +0000)]
Explain static numbering.

Reviewed by: asmodai

24 years agoEntry for Zip drive no longer needed. We do automatic rescans on connect
Nick Hibma [Mon, 3 Apr 2000 11:16:41 +0000 (11:16 +0000)]
Entry for Zip drive no longer needed. We do automatic rescans on connect
now.

24 years agoAdd a hack to cam that makes the cam_xpt available to the rest of the
Nick Hibma [Mon, 3 Apr 2000 11:11:12 +0000 (11:11 +0000)]
Add a hack to cam that makes the cam_xpt available to the rest of the
kernel. Justin agress that there is no other reasonable alternative to
do automatic rescans on connect.

The problem is that when a new device attaches to a SIM (SCSI host
controller) we need to send a XPT_SCAN_BUS command to the SIM using
xpt_action. This requires however that there is a peripheral available
to take the command (otherwise xpt_done and later bomb). The RESCAN
ioctl uses the same periph.

This enables a USB mass storage drive to do an automatic rescan on
connection of the drive.

The automatic dropping of a CAM entry on disconnection was already
working (asynchronous event).

The next thing to do is find someone to commit a change to vpo to do the
same thing. Just port umass_cam_rescan and friends across to that
driver.

Approved by:   gibbs

24 years agoSilence some warnings.
Poul-Henning Kamp [Mon, 3 Apr 2000 10:09:18 +0000 (10:09 +0000)]
Silence some warnings.

24 years agoFix unsafe tempfile creation. This file is already off the vendor
Sheldon Hearn [Mon, 3 Apr 2000 09:49:49 +0000 (09:49 +0000)]
Fix unsafe tempfile creation.  This file is already off the vendor
branch.  Although this problem has been reported to the GNU folks,
it's unlikely that any solution they may come up with will involve
the use of mktemp(1).

PR: 16942
Submitted by: Colin Phipps <crp22@cam.ac.uk>

24 years agoBrush up the last commit.
Kazutaka YOKOTA [Mon, 3 Apr 2000 09:40:04 +0000 (09:40 +0000)]
Brush up the last commit.

- Change some expressions.
- Wrap "resume" in single quotes to maintain consistency.

Submitted by: sheldonh

24 years agoBrush up the last commit.
Kazutaka YOKOTA [Mon, 3 Apr 2000 09:38:52 +0000 (09:38 +0000)]
Brush up the last commit.

- Expand contractions.
- Change some expressions.
- Reword the sections that describe the reporting of down events.

Submitted by: sheldonh

24 years agoUnbreak LINT.
Kazutaka YOKOTA [Mon, 3 Apr 2000 09:24:16 +0000 (09:24 +0000)]
Unbreak LINT.

24 years agoregenerate with MPSAFE from syscalls.master
Alfred Perlstein [Mon, 3 Apr 2000 06:36:57 +0000 (06:36 +0000)]
regenerate with MPSAFE from syscalls.master

24 years agoMake makesyscalls.sh parse an optional field 'MPSAFE' that specifies
Alfred Perlstein [Mon, 3 Apr 2000 06:36:14 +0000 (06:36 +0000)]
Make makesyscalls.sh parse an optional field 'MPSAFE' that specifies
that a syscall does not want the BGL to be grabbed automatically.

Add the new MPSAFE flag to the syscalls that dillon has determined to
be MPSAFE.

24 years agoRemove the !(I386 & SMP) tests; we don't run SMP on an i386 system, and
Mike Smith [Mon, 3 Apr 2000 06:02:00 +0000 (06:02 +0000)]
Remove the !(I386 & SMP) tests; we don't run SMP on an i386 system, and
they break the LINT build.

24 years agoAdd support for sunos_big_vec to support 'make world's on Solaris
Steve Price [Mon, 3 Apr 2000 03:51:46 +0000 (03:51 +0000)]
Add support for sunos_big_vec to support 'make world's on Solaris
boxes.

24 years agoAdd support for the sunos_big_vec format as well.
Steve Price [Mon, 3 Apr 2000 03:48:49 +0000 (03:48 +0000)]
Add support for the sunos_big_vec format as well.

24 years agoBuild and install the elf32_sparc ld(1) scripts and make elf32_sparc
Steve Price [Mon, 3 Apr 2000 03:42:07 +0000 (03:42 +0000)]
Build and install the elf32_sparc ld(1) scripts and make elf32_sparc
the default emulation.

24 years agofix missing defines and prototype for emu_vdump()
Cameron Grant [Mon, 3 Apr 2000 00:28:43 +0000 (00:28 +0000)]
fix missing defines and prototype for emu_vdump()

24 years agoSync with NetBSD: Add a few id's and correct numerous typo's
Nick Hibma [Mon, 3 Apr 2000 00:07:43 +0000 (00:07 +0000)]
Sync with NetBSD: Add a few id's and correct numerous typo's

24 years ago- Add HPFS and NWFS vnode tags.
Chris Costello [Sun, 2 Apr 2000 23:53:57 +0000 (23:53 +0000)]
- Add HPFS and NWFS vnode tags.
- Update ``struct vnode'' changes from revisions 1.91, 1.94, 1.98, 1.101,
  1.102.

Reviewed by: alfred

24 years agoSync with NetBSD: Keep the bit position even when the report descriptor says POP.
Nick Hibma [Sun, 2 Apr 2000 23:15:08 +0000 (23:15 +0000)]
Sync with NetBSD: Keep the bit position even when the report descriptor says POP.

24 years agoEnable Haifa on sparc64 as well.
Steve Price [Sun, 2 Apr 2000 22:51:02 +0000 (22:51 +0000)]
Enable Haifa on sparc64 as well.

24 years agoFirst cut at the (non-contrib) bits needed to build the binutils
Steve Price [Sun, 2 Apr 2000 22:36:56 +0000 (22:36 +0000)]
First cut at the (non-contrib) bits needed to build the binutils
distribution for FreeBSD/Sparc64.

Reviewed by: obrien

24 years agoShoot. Did a compile in the wrong directory and missed this compiler
Nick Hibma [Sun, 2 Apr 2000 22:04:18 +0000 (22:04 +0000)]
Shoot. Did a compile in the wrong directory and missed this compiler
error.

Could someone pass me the pointy hat, please?

24 years agoRemove a static variable, a uniquifier for a SCSI command. It might have
Nick Hibma [Sun, 2 Apr 2000 21:59:27 +0000 (21:59 +0000)]
Remove a static variable, a uniquifier for a SCSI command. It might have
produced inadvertently failed transfers in the case were multiple
Bulk-Only devices are connected and a command is prepared at the same
time.

24 years agoAdd a comment about the fact that the usb module is automatically
Nick Hibma [Sun, 2 Apr 2000 21:09:19 +0000 (21:09 +0000)]
Add a comment about the fact that the usb module is automatically
loaded.

24 years agoThe ld directory is in ${SRCDIR} not ${BINUTILSDISTDIR}.
Steve Price [Sun, 2 Apr 2000 20:23:58 +0000 (20:23 +0000)]
The ld directory is in ${SRCDIR} not ${BINUTILSDISTDIR}.

24 years agoCorrect Charles Mott's email address
Brian Somers [Sun, 2 Apr 2000 20:23:34 +0000 (20:23 +0000)]
Correct Charles Mott's email address
Requested by: cmott@scientech.com

24 years agoThe FreeBSD/Sparc64 port will also have an __ELF_WORD_SIZE of 64.
Steve Price [Sun, 2 Apr 2000 20:22:04 +0000 (20:22 +0000)]
The FreeBSD/Sparc64 port will also have an __ELF_WORD_SIZE of 64.

24 years agoCorrect Charles Mott's email address
Brian Somers [Sun, 2 Apr 2000 20:16:45 +0000 (20:16 +0000)]
Correct Charles Mott's email address

Requested by: Charles Mott <cmott@scientech.com>

24 years agoClone bio versions of certain bits of infrastructure:
Poul-Henning Kamp [Sun, 2 Apr 2000 19:08:05 +0000 (19:08 +0000)]
Clone bio versions of certain bits of infrastructure:
        devstat_end_transaction_bio()
        bioq_* versions of bufq_* incl bioqdisksort()
the corresponding "buf" versions will disappear when no longer used.

Move b_offset, b_data and b_bcount to struct bio.

Add BIO_FORMAT as a hack for fd.c etc.

We are now largely ready to start converting drivers to use struct
bio instead of struct buf.

24 years ago Make the sigprocmask() and geteuid() system calls MP SAFE. Expand
Matthew Dillon [Sun, 2 Apr 2000 17:52:43 +0000 (17:52 +0000)]
Make the sigprocmask() and geteuid() system calls MP SAFE.  Expand
    commentary for copyin/copyout to indicate that they are MP SAFE as
    well.

Reviewed by: msmith

24 years agoI got the CAM numbers (path id's, buses, unit numbers) and newbus
Nick Hibma [Sun, 2 Apr 2000 16:59:16 +0000 (16:59 +0000)]
I got the CAM numbers (path id's, buses, unit numbers) and newbus
unit numbers all wrong. This did not show up because most of them where
zero anyway.

Use a separate buffer for command transforms instead of fiddling with
the existing cdb_bytes.

Take CAM_CDB_POINTER into account. Nobody is using it, but someone might
in the future.

Be more picky about what to accept in the UFI command set.

First attempt at implementing the ATAPI command protocol transforms.
This should at least make Imation Superdisk and other e-Shuttle based
devices show as attached. Maybe they even work to some extent.

24 years agoPrint out more hints at illegal cksum len value.
Yoshinobu Inoue [Sun, 2 Apr 2000 16:23:16 +0000 (16:23 +0000)]
Print out more hints at illegal cksum len value.

24 years agoMove htons() ip_len to after the in_delayed_cksum() call.
Yoshinobu Inoue [Sun, 2 Apr 2000 16:18:26 +0000 (16:18 +0000)]
Move htons() ip_len to after the in_delayed_cksum() call.
This should stop cksum error messages on IPsec communication
which was reported on freebsd-current.

Reviewed by: jlemon

24 years agoMake sure to use IPv4 mapped IPv6 address when mapped address is
Hajimu UMEMOTO [Sun, 2 Apr 2000 16:11:14 +0000 (16:11 +0000)]
Make sure to use IPv4 mapped IPv6 address when mapped address is
requested in /etc/inetd.conf.

Reviewed by: shin

24 years agoMove B_ERROR flag to b_ioflags and call it BIO_ERROR.
Poul-Henning Kamp [Sun, 2 Apr 2000 15:24:56 +0000 (15:24 +0000)]
Move B_ERROR flag to b_ioflags and call it BIO_ERROR.

(Much of this done by script)

Move B_ORDERED flag to b_ioflags and call it BIO_ORDERED.

Move b_pblkno and b_iodone_chain to struct bio while we transition, they
will be obsoleted once bio structs chain/stack.

Add bio_queue field for struct bio aware disksort.

Address a lot of stylistic issues brought up by bde.

24 years ago Add support for the LinkSys USB10T network adapter that
Jonathan M. Bresler [Sun, 2 Apr 2000 12:43:34 +0000 (12:43 +0000)]
Add support for the LinkSys USB10T network adapter that
contains the ADMtek Pegasus AN986 USB chipset.  The
adapter supports both 10BaseT and 100BaseT (including
full-duplex).  The product code for these adapters is
0x2206.

24 years agoAdd and install BUS_SETUP_INTR.9.
Jeroen Ruigrok van der Werven [Sun, 2 Apr 2000 12:00:52 +0000 (12:00 +0000)]
Add and install BUS_SETUP_INTR.9.
This effectively replaces BUS_CREATE_INTR.9 and BUS_CONNECT_INTR.9.

Reviewed by: n_hibma

24 years agoAvoid rawname() stupidly prepending an `r' before the device name even
Joerg Wunsch [Sun, 2 Apr 2000 10:16:40 +0000 (10:16 +0000)]
Avoid rawname() stupidly prepending an `r' before the device name even
in cases where the supplied name was already pointing to a character
special device.  This fixes the breakage that occured when trying to
dump a filesystem by name (e. g. /usr), with an fstab already
mentioning the raw device name (like /dev/rda0g) where dump attempted
to use /dev/rrda0g then.

Also removed the now obsolete remark that fstab were carrying block
special names.

24 years agoThis new driver version uses the DMA mapping interface
Gerard Roudier [Sun, 2 Apr 2000 10:07:54 +0000 (10:07 +0000)]
This new driver version uses the DMA mapping interface
introduced in FreeBSD-4.0. The driver is now full up-to-date
with regards to the current kernel interfaces.

Another significant change in this driver version applies
to the checking of the data direction. The driver is now
able to check against the expected data direction in any
circumstance and will not hang either if direction is wrong
at the start of the IO, or if for some weird reason,
the device changes to the wrong direction during the IO.

This driver version is still usable under FreeBSD 3.2/3.3,
since it only requires CAM, other kernel interface dependencies
being #if'ed in the sources according to kernel version.
But, in order to use the driver under those early kernel
versions, user has to move the driver sources by hand and make
appropriate tiny changes to let the kernel know about the driver.

Other changes:
- Remove the debugging stuff for WSR bit.
- Get rid of some warnings about volatile being discarded.

24 years agoDraw the outline of "struct bio".
Poul-Henning Kamp [Sun, 2 Apr 2000 09:26:51 +0000 (09:26 +0000)]
Draw the outline of "struct bio".

Struct bio is the future carrier of I/O requests for "struct buf".