Andrzej Bialecki
0d9ab84751
Fall back to /boot/boot.conf, if /boot/loader.rc was not fount. This is
...
to cover the transition period.
Suggested by: msmith
1999-01-15 00:31:45 +00:00
Mike Smith
118537f287
Add sscanf/vsscanf/strtoq/strtouq to the kernel. Initially these will be used
...
for parsing kernel environment values, although they have utility elsewhere.
1999-01-15 00:03:39 +00:00
Andrzej Bialecki
1b855e4412
Change counter-intuitive pc@ and pc! to inb and outb.
...
Submitted by: jkh
1999-01-14 23:48:03 +00:00
Bruce Evans
3b0db8df3e
Backed out previous commit. MALLOC_DEFINE() needs <sys/kernel.h>.
1999-01-14 23:43:22 +00:00
Nicolas Souchu
602c5d866a
Return error codes to user-land.
...
Submitted by: Takanori Watanabe <takawata@shidahara1.planet.sci.kobe-u.ac.jp>
1999-01-14 22:55:03 +00:00
Nicolas Souchu
78534d41e1
Terminate negociation if Ext. link negociation succeeds. This avoids
...
the unknown mode panic during boot probe.
1999-01-14 21:38:16 +00:00
John Polstra
0ec81012da
Replace includes of <sys/kernel.h> with includes of
...
<sys/linker_set.h> in those files that use only the linker set
definitions.
1999-01-14 06:22:10 +00:00
Justin T. Gibbs
d95bc0d6d2
Add entry for the target mode black hole driver.
1999-01-14 06:16:45 +00:00
Justin T. Gibbs
863c602654
Add support for routing initiator transactions to disabled luns to the
...
black hole device. The controller will now only accept selections if
the black hole device is present and some other target/lun is enabled
for target mode.
Handle the IGNORE WIDE RESIDUE message. This support has not been tested.
Checkpoint work on handling ABORT, BUS DEVICE RESET, TERMINATE I/O PROCESS,
and CLEAR QUEUE messages as a target.
Fix a few problems with tagged command handling in target mode.
Wait until the sync offset counter falls to 0 before changing phase
after a data-in transfer completes as the DMA logic seems to indicate
transfer complete as soon as our last REQ is issued.
Simplify some of the target mode message handling code in the sequencer.
1999-01-14 06:14:15 +00:00
Justin T. Gibbs
c8bead2a12
Add support for wildcard device entries in the EDT. The target mode
...
'Black Hole' device uses this feature to schedule itself against any
target or lun attached to a controller that receives an unwanted request
from an initiator instead of having an instance per potential target/lun
request.
Use the wildcard entries to simplify wildcard async callback storage.
Don't announce devices twice to peripheral drivers. The devices will
be announced as soon as the AC_PATH_REGISTERED event is registered by
the peripheral driver, so no manaul push of this event is required.
Reviewed by: Kenneth Merry <ken@FreeBSD.org>
1999-01-14 06:03:59 +00:00
Justin T. Gibbs
6fda903f5b
The target mode 'Black Hole' device. This peripheral driver provides inquiry
...
data and sense information for target mode devices for which no other
peripheral driver is attached. This simplifies the task of dealing with
luns that are not otherwise enabled for target mode if the controller
does not have firmware that automatically deals with this case (e.g.
the aic7xxx driver).
1999-01-14 06:00:29 +00:00
Justin T. Gibbs
443af83864
Properly handle transfers that only consume partial buffers.
1999-01-14 05:57:32 +00:00
John Polstra
045205a869
Move the linker set definitions into a new header file
...
<sys/linker_set.h>. <sys/kernel.h> includes the new header, so
functionally everything is still the same.
1999-01-14 05:48:46 +00:00
Mike Smith
84252d6300
dftp -> dtfp Get it right...
1999-01-14 03:47:55 +00:00
Kenjiro Cho
34f3320ef4
add HZ missing in options.
...
changing HZ used to break xntpd's PLL but it should be ok now (unless
xntpd is misconfigured).
1999-01-14 03:30:48 +00:00
Kazutaka YOKOTA
47d8621a0b
Fix various breakage after the recent keyboard driver change.
...
- Don't try to set typematic rate if there is not a keyboard.
- Fix wrong test on error code.
- Don't try to claim the keyboard twice. The second call will fail.
1999-01-14 03:17:32 +00:00
Nick Hibma
5f2848a953
Removal unneccessary definitions
1999-01-14 01:35:12 +00:00
Nick Hibma
1c8fa23724
Corrected the latent fact that the uhub driver was providing a driver for
...
the usb device class instead of the uhub devclass. Only a problem with more
than one USB host controller.
1999-01-14 01:28:15 +00:00
Nick Hibma
86d7ad019e
Added Entrega Parallel and Serial Connectors to the information
...
file.
1999-01-14 01:18:44 +00:00
Robert Nordier
05c7fdda18
In the event of a disk error, boot2 is expecting an error
...
code to be returned: give it one
1999-01-13 23:30:07 +00:00
Andrzej Bialecki
fb0b33b136
Change /boot/boot.conf to /boot/loader.rc - this name reflects what it
...
really is.
Agreed upon by: jkh, msmith and many others
1999-01-13 21:59:58 +00:00
Andrzej Bialecki
c82de3cb3f
Add words "pc!" and "pc@" which allow to manipulate I/O ports. This can
...
be helpful when directly fiddling with PC hardware.
Also, define "arch-i386" appropriately, as suggested by Daniel C. Sobral.
1999-01-13 21:31:50 +00:00
Kazutaka YOKOTA
00f19754a4
Use the correct macro to test flags; we need KBD_IS_INITIALIZED here,
...
not KBD_IS_PROBED.
1999-01-13 11:19:19 +00:00
Kazutaka YOKOTA
15401862e4
Calculate the number of bitmap colors in the correct way.
...
The bug found by: Kevin Street <street@iname.com>
1999-01-13 09:59:30 +00:00
Kazutaka YOKOTA
e1b5fc4c59
Move notes on some flags for AT keyboard. They used to be for sc0,
...
and now for atkbd0.
# I know I should be writing a man page rather than editing LINT...
Spotted by: tom@geotec.net (Tom Jackson)
1999-01-13 09:55:19 +00:00
Mike Smith
4e24cd8e44
Typo in patch application.
...
PR: kern/9459
Submitted by: "Daniel C. Sobral" <dcs@newsguy.com>
1999-01-13 08:11:41 +00:00
Mike Smith
4f029d3999
Assign cdev major 84 to 'dftp' for "Louis A. Mamakos" <louie@UU.NET>
1999-01-13 08:05:16 +00:00
Bruce Evans
92e81ca475
Let drivers specify interrupt flags (INTR_EXCL and/or INTR_FAST)
...
using the new pci_map_int_right() variant of pci_map_int(). Fast
interrupts work for PCI devices if and only if they are exclusive.
(The PCI interrupt mux doesn't support fast interrupts and can't
support a mixture of fast and slow interrupts even in principle.)
Don't assume that intrmask_t == unsigned in pci_map_int().
1999-01-13 04:59:19 +00:00
Julian Elischer
38ffc07d37
Add support for the ACER LABS Aladin chipset UDMA controller.
...
Submitted by: Lee Cremeans <lee@st-lcremean.tidalwave.net>
1999-01-13 04:40:50 +00:00
Julian Elischer
d8c85307b2
Re-enable the options in ps(1) that were disabled with the Linux
...
threads support.
Submitted by: "Richard Seaman, Jr." <dick@tar.com>
1999-01-13 03:11:43 +00:00
Kazutaka YOKOTA
97f2835300
Oops, I accidentaly left the debug option on by default.
...
It's set to off now.
1999-01-13 01:16:39 +00:00
Kazutaka YOKOTA
aae6a996c3
Get conditional compilation right so that unnecessary reference
...
to splash-relatec call won't be made if there is no splash pseudo
device.
1999-01-13 01:14:26 +00:00
Nick Hibma
bc2093747f
Changed 'xxxdebug = 0' to '...= 1' (Brian Feldman)
1999-01-13 01:09:14 +00:00
Nick Hibma
eda0ec0e06
Removed warning and comments
1999-01-13 01:05:43 +00:00
Nick Hibma
796a3c0d00
1) Bug fix: Interrupt transfers worked only for the first packet.
...
The second packet was not seen as finished.
2) Textual changes
1999-01-13 00:50:02 +00:00
Eivind Eklund
0189b9a1fd
... _and_ the (void*) casts for %p. Next, I'll forget my own name :-(
1999-01-12 16:43:52 +00:00
Eivind Eklund
e23c7d8612
Avoid unnecessary GCCism - I hadn't noticed the __unused macro.
1999-01-12 16:40:57 +00:00
Eivind Eklund
fcfc314003
Make dsopen() and dsioctl() use cdstrategy1 instead of cdstrategy.
...
This silence the warnings and makes it more obvious where the bugs
have to be fixed.
1999-01-12 16:26:19 +00:00
Eivind Eklund
037e944431
Cast argument to avoid warning.
...
Reviewed by: Nick Hibma <n_hibma>
1999-01-12 12:46:36 +00:00
Eivind Eklund
f65b39828c
Remove two cases of unused variable sp3.
1999-01-12 12:39:14 +00:00
Eivind Eklund
f210792ad4
#ifdef out unused function key_freetables.
1999-01-12 12:38:31 +00:00
Eivind Eklund
74065ea29e
Remove functions that are no longer in use.
1999-01-12 12:37:18 +00:00
Eivind Eklund
19e5ea73d0
* Print pointers using the correct type (%p) instead of %x.
...
* Use the correct type for timeout function.
* Add missing #include.
1999-01-12 12:27:54 +00:00
Eivind Eklund
dee383e043
Add #ifdef's to avoid unused label warning in some cases.
1999-01-12 12:25:00 +00:00
Kazutaka YOKOTA
fc8be383ec
Fix PIO_KEYMAPENT/GIO_KEYMAPENT. They used to copy from/to a wrong place.
...
The bug found by: Mike Zanker <A.M.Zanker@open.ac.uk>
1999-01-12 12:23:00 +00:00
Eivind Eklund
ab54eac7a1
Remove unused statics.
1999-01-12 12:16:50 +00:00
Eivind Eklund
d67ba04e42
De-staticize and add prototype for main debug function. I'll turn
...
this into a DDB command in the next staticization run.
1999-01-12 12:09:27 +00:00
Eivind Eklund
1db59ce607
Remove unused variable & clean up a couple of style issues.
1999-01-12 12:07:00 +00:00
Eivind Eklund
a32c99f35e
Silence warnings.
1999-01-12 11:59:34 +00:00
Eivind Eklund
ea2e827716
Remove declarations for undefined functions and a couple of unused
...
enotsupp implementations.
1999-01-12 11:49:30 +00:00