Commit Graph

53243 Commits

Author SHA1 Message Date
jkh
aa761fd55e Cause fatal error messages to be a little more helpful to the programmer
concerning where they're taking place.

Switch from [r]index() to str[r]chr() functions, which are more ISO
compliant.

Prompted by:	Edward Welbourne <eddy@vortigen.demon.co.uk>
2000-10-22 09:53:27 +00:00
scottl
80bf139704 First attempt at timeouts for bio commands sent to the controller. No retry is
attempted right now; the failure is merely passed up.  This may help with the
mysterious lockups seen by some with Pablano controllers.
2000-10-22 09:21:19 +00:00
imp
58dbf3b8df Make usual 1-line cardbus support modification.
I'm committing this over an Intel PRO-100 CardBus II card.
2000-10-22 06:41:46 +00:00
gshapiro
0980fc23cf Remove obsolete setting. The directory src/usr.sbin/sendmail/cf hasn't
existing since sendmail was moved to contrib.  Also, we now provide the cf
subdirectory in /usr/share/sendmail/cf/.
2000-10-22 05:57:50 +00:00
imp
2a2d2cee67 Cleanup the rman_make_alignment_flags function to be much clearer and shorter
than the prior version.
2000-10-22 04:48:11 +00:00
imp
63aa08dd3a o Remove lots of kludges with iospace and irq.
o Make sure that I/O space is aligned properly based on the length of the
  resource we're allocating.
o Add bootverbose message when we fail.
2000-10-22 04:46:56 +00:00
imp
959285ef14 Cleanup allocation of resources for 16-bits. We now do the right
thing in pccbb bridge (the pcic bridge will be updated as I merge the
two copies of the code that were in the original cardbus commit).
2000-10-22 04:37:57 +00:00
sanpei
e3271eb957 add Toshiba Mobile HDD MEHDD20A (Type II)
(Shigeru Ishida <ishida@isl.intec.co.jp>, [bsd-nomads:14564])

add Melco IGM-PCM56K
(IMAI Hidetoshi <hidepin@infonets.hiroshima-u.ac.jp>, [bsd-nomads:14649])

add Panasonic KX-PH405
(Norio Suzuki <nosuzuki@e-mail.ne.jp>, [bsd-nomads:14620])

add TDK Grey Cell GCS2000 Ethernet Card
(PR: 22184)

add new wi cards(tested by imp)
2000-10-22 02:57:48 +00:00
sanpei
c9c5941e1e add TDK Grey Cell GCS2000 Ethernet Card
PR:		22184
2000-10-21 15:09:27 +00:00
des
1fdbda80ba If the scheme is HTTP or HTTPS, percent-escape whitespace in the document
part.

Submitted by:	green
2000-10-21 14:58:18 +00:00
ume
aab4ecfb05 Popup IPv6 dialog, again. 2000-10-21 14:06:24 +00:00
nyan
c04d6eb2e8 Use kern.disks sysctl on PC-98. 2000-10-21 10:08:57 +00:00
dwmalone
5e89f1a757 Claim maintainership of inetd. 2000-10-21 09:44:46 +00:00
dwmalone
4e9f258d91 Don't leak a file discriptor if a service we've called accept() for
loops.

Submitted by:	Ian Dowse <iedowse@maths.tcd.ie>
2000-10-21 09:43:12 +00:00
nyan
89f2a8f4c5 if_ed_cbus.c is required from PC-98 only, and if_ed_isa.c is not necessary
for PC-98.
2000-10-21 02:44:11 +00:00
nyan
52b8fdee1a Add '-DPC98' to CFLAGS if MACHINE == pc98. 2000-10-21 02:37:17 +00:00
bmilekic
de141593df (Introduce something sitting in my repo for 3 weeks now...)
Have if_ti stop "hiding" the softc pointer in the buffer region. Rather,
use the available void * passed to the free routine and pass the softc
pointer through there.

To note: in MEXTADD(), TI_JUMBO_FRAMELEN should probably be TI_JLEN. I left it
unchanged, because this way I'm sure to not damage anything in this respect...
2000-10-21 00:13:35 +00:00
jhb
8fa82d6020 Propogate the 'const'ness of mutex descriptions to the witness code to
quiet warnings.
2000-10-20 22:45:01 +00:00
jhb
43348dd1d2 Define the mtx_legal2block() macro used in the witness code that managed
to get lost during the MI mutex conversion.

Reported by:    Steve Kargl <sgk@troutmask.apl.washington.edu>
2000-10-20 22:44:06 +00:00
jhb
9dc6ec674a Revert the init_clocks change in revision 1.72. On the alpha we use an
ISA device for our clock, so trying to initialize the clock before probing
devices introduces a chicken and egg problem.

Debug help from:	peter
2000-10-20 22:12:16 +00:00
jhb
5333a41c62 Actually enable the witness code if the WITNESS kernel option is enabled. 2000-10-20 21:58:11 +00:00
imp
33eb42398e Allow interrupts to be sharable.
This allows us to probe, but not attach.
2000-10-20 20:29:59 +00:00
imp
54ae811765 Get the interrupt correct. 2000-10-20 20:27:22 +00:00
jhb
0cdcbe5ac0 Fix a braino in the ASS_SIEN() macro in the MUTEX_DEBUG case by using
mtx_saveintr instead of saveintr.
2000-10-20 20:27:12 +00:00
ache
17b105603e Back out increasing entropy file size workaround and wait for real fix instead.
Requested by: markm
2000-10-20 20:26:05 +00:00
jhb
1b2b9bc04a Doh. Fix a 64-bit-ism by using uintptr_t for a temporary lock variable
instead of int.
2000-10-20 20:24:40 +00:00
jhb
e6801485e2 Don't bother setting the saved IPL in the sched_lock mutex as it doesn't
really do anything since the first mtx_enter() will overwrite the value
saved here.
2000-10-20 20:14:55 +00:00
joe
2176f28a9e Fix a typo in the last commit; should be 'remove' not 'insert'.
Noticed by:	sanpei
2000-10-20 20:02:31 +00:00
jhb
7fa25a44d8 Catch up to some of the changes to _getlock_spin_block. Specifically,
use _obtain_lock() instead of a manual atomic_cmpset_ptr.
2000-10-20 19:54:47 +00:00
jhb
830be7efea Grrrr. Fix the order of the #define's so atomic_cmpset_{acq,rel}_long
are defined before atomic_cmpset_{acq,rel}_ptr tries to call them.
2000-10-20 19:53:52 +00:00
jhb
be3ae8af99 Fix the atomic_cmpset_{acq,rel}_ptr() functions to do proper type-casting. 2000-10-20 19:46:02 +00:00
jon
9e1866fdd1 note the new preliminary support of cardbus stuff 2000-10-20 19:44:36 +00:00
jon
267418cbbf remove old pccbb bridge code.
(argh, I thought I already did this in the original commmit)
2000-10-20 19:37:51 +00:00
wosch
5cb5ed7ebb update URL and copyright 2000-10-20 18:27:53 +00:00
wosch
2905e93575 Added upcoming FreeBSD 4.2 2000-10-20 18:21:44 +00:00
phk
b68243ba85 Introduce the M_ZERO flag to malloc(9)
Instead of:

        foo = malloc(sizeof(foo), M_WAIT);
        bzero(foo, sizeof(foo));

You can now (and please do) use:

        foo = malloc(sizeof(foo), M_WAIT | M_ZERO);

In the future this will enable us to do idle-time pre-zeroing of
malloc-space.
2000-10-20 17:54:55 +00:00
jkh
eaed6594ff Redirect the stderr of dd to /dev/null so the user doesn't see rather
weird dd output on bootup as /dev/random is being reseeded.  Also,
can't this happen in the background since /dev/random blocks?
2000-10-20 17:41:46 +00:00
ache
40ce94638c Increase entropy file size from 4096 to 16384 because 4096 actually is not
enough to cause reseeding
2000-10-20 16:32:05 +00:00
archie
bdb02ef625 Add actual URL for XMAC II datasheet in comments. 2000-10-20 16:18:16 +00:00
ache
e26904360a Add i815 host to PCI bridge ID 2000-10-20 16:05:47 +00:00
ache
d11a94dee4 Return -10000 in pci_hostb_probe to allow agp driver (disabled otherwise) 2000-10-20 15:40:05 +00:00
ache
992c52b8cc Add i815 Host to Hub 2000-10-20 15:14:51 +00:00
ache
70956e150a Add i815 IDs 2000-10-20 15:12:57 +00:00
ru
d0376d286f Save a few CPU cycles in IP fragmentation code. 2000-10-20 14:10:37 +00:00
sanpei
570de28bbf add -I option, ``Don't get and use a list of free
IRQs from kernel.''..

With IBM ThinkPad600.  ``sio1'' was disabled in BIOS
and irq 3 was free (also not listed in dmesg), I think.
But I could not use irq 3 for PC-Card with new(PIOCSRESOURCE
ioctl enabled) pccardd.
2000-10-20 13:08:18 +00:00
hm
b0ab69633f Submitted by: Hans Petter Selasky <hselasky@c2i.net>
Remove double 0x7e flags between hdlc-frames.
2000-10-20 11:20:58 +00:00
kato
fb0fcac9f4 Used kbio.h and consio.h instead of machine/console.h. 2000-10-20 10:35:44 +00:00
kato
48345f55cb Merged from sys/i386/isa/npx.c revision 1.86. 2000-10-20 10:20:27 +00:00
kato
ae0b8da4c2 Merged from sys/i386/isa/clock.c revision 1.160. 2000-10-20 10:19:40 +00:00
kato
f4eed09cc6 Merged from sys/i386/i386/machdep.c revisions 1.417 and 1.418. 2000-10-20 10:17:26 +00:00