Commit Graph

46040 Commits

Author SHA1 Message Date
bouyer
e39a5bdc53 Now that vtophy() is no longuer used, re-enable WDCDEBUG, with
wdcdebug_pciide_mask = 0 (so that one can easily patch this variable and give
me more informations :)
1998-12-03 17:27:57 +00:00
mycroft
3934bd1d8b More bug fixes from Richard Earnshaw:
* Fix problems with moving constants smaller than the word size.
* Fix problems with CSE trying to shortcut PIC references.
1998-12-03 16:05:47 +00:00
mycroft
dedf21f286 Put back code to use pc-relative branches in the PLT, and avoid doing cache
flushes.
1998-12-03 15:56:51 +00:00
mycroft
26fce3548b Use the `first' argument to md_fix_jmpslot(). 1998-12-03 15:46:28 +00:00
bouyer
2b28c858d8 add a udma_mode field to wdc_softc, and use it the same way dma_mode is used
(higthest ultra-dma mode supported). There may be a higther ultra-dma mode
defined ...
1998-12-03 15:38:59 +00:00
oster
1b04131eff Try a bit harder to detect the physical failure of a component, and to
mark that component as dead.  Physical failures are handled much better now.
1998-12-03 15:14:40 +00:00
oster
3f3d8e85e6 If a configuration fails due to a non-existant spare, remember to release
any previously allocated components before bailing.  Credit to Manuel Bouyer
for noticing this.
1998-12-03 15:06:25 +00:00
oster
679de7e878 Fix (potential) referencing of null pointer in (verbose) debugging mode. 1998-12-03 14:58:24 +00:00
bouyer
ba90b4b2d3 Add URLs of documentation source (from Matthias Drochner). 1998-12-03 14:06:16 +00:00
bouyer
7d87d6a5f6 Use correct register when disabling the second channel. 1998-12-03 13:50:38 +00:00
bouyer
8ef785add8 Restore changes from revision 1.17:
"If a channel has no drives, do *not* unmap its I/O regions.
 It's not really safe to use them for anything else, and in legacy mode it
 will just cause us to probe the channel again as an ISA device."
1998-12-03 13:30:00 +00:00
bouyer
1af63c0605 Correct a few bogons in the SiS chip initialisation. 1998-12-03 13:25:44 +00:00
bouyer
09408781c9 Ouh ! Correct the 8-bit PCI registers reading/writing functions: need to
multiply the register offset by 8.
1998-12-03 13:24:11 +00:00
fair
2fc486ea01 This seemingly trivial (and computationally pointless) change shuts up
GCC 2.7.2.2 about "loff" being uninitialized on line 142 on m68k.
1998-12-03 11:20:50 +00:00
tsubai
619952b3ee Not used. 1998-12-03 11:05:18 +00:00
nisimura
3c6a704193 - Use explicite structure member reference with 'struct frame' to alter
register values of exception frame pointed with p->p_md.md_regs.
- Local auto variable 'cpustate' in cpu_coredump() was never used correctly.
1998-12-03 06:28:45 +00:00
sakamoto
64ba00be2c Change r_type bit field size 5 to 6 and reduce unused bit(2 to 1).
Suggested by Mirian Crzig Lennox.
1998-12-03 05:15:06 +00:00
ross
9cbd57c709 Use "infile" and "outfile" consistently. 1998-12-03 04:18:31 +00:00
ross
33038ca087 Tweak this so it will build and run on ILP32 hosts, anyway, 0x...LL constants
are blessed by the C9X draft.
1998-12-03 04:16:18 +00:00
augustss
2228eaca8a Add configuration and interface locators. 1998-12-02 22:57:08 +00:00
augustss
cf75925c7f Even shorter printfs at attach. 1998-12-02 22:54:52 +00:00
thorpej
68cceaeee4 It is no longer necessary to run ldconfig in the build: target. It is
handled by bsd.lib.mk.
1998-12-02 22:53:06 +00:00
thorpej
adab608611 When installing a shared library, run /sbin/ldconfig -m ${LIBDIR} if
DESTDIR is not set and the object format is a.out.
1998-12-02 22:52:21 +00:00
augustss
4b4afb8252 Regen. 1998-12-02 22:51:50 +00:00
augustss
7270b91afe Shorten some vendor names. 1998-12-02 22:49:51 +00:00
augustss
e424a174ba Add stub for a modem driver. 1998-12-02 22:47:19 +00:00
thorpej
da572a137f Argh, fix the ANSI CPP version of the a.out WARN_REFERENCES(). 1998-12-02 21:16:46 +00:00
thorpej
d90b3d3438 Add dump_kmemstats(), callable from DDB to show kmem statistics. From
Chuck Silvers via Chuck Cranor.
1998-12-02 20:35:28 +00:00
thorpej
58e61001ec Warn about references to the compatibility stat(), fstat(), and lstat(),
and direct the user to include <sys/stat.h> to generate the correct
reference.
1998-12-02 19:47:45 +00:00
thorpej
6f91c82be7 Warn about references to the compatibility msync(), and direct the user to
include <sys/mman.h> to generate the correct reference.
1998-12-02 19:37:50 +00:00
thorpej
0c5cf7b38a Warn about references to the compatibility unvis(), and direct the user to
include <vis.h> to generate the correct reference.
1998-12-02 19:33:28 +00:00
thorpej
efd37a7da8 Warn about references to the compatibility vfork() (i.e. the vfork() with
the 4.4BSD non-shared-address-space semantics), and direct the user to
include <unistd.h> to generate the correct reference.

This warning isn't about an ABI compatibility issue, but the new vfork() is
considerably faster.
1998-12-02 19:29:56 +00:00
augustss
fd3af06364 Avoid wrapping lines in attach printfs. 1998-12-02 17:20:20 +00:00
augustss
7d417ca964 Handle compound devices in usbd_get_report_descriptor(). 1998-12-02 17:17:40 +00:00
augustss
c4dc0e3950 Regen. 1998-12-02 17:14:53 +00:00
augustss
65145fce2c Fix typo. 1998-12-02 17:11:51 +00:00
augustss
41095ae62a Add some new devices. 1998-12-02 17:02:59 +00:00
augustss
8cababe387 Fix typo. 1998-12-02 16:37:48 +00:00
kenh
484162b815 Do this for ext2fs as well, because Manuel said so. 1998-12-02 16:15:10 +00:00
bouyer
1d5d5ab40a In struct wdc_xfer, change 'channel' to a pointer to a channel_softc, to avoid
a double-pointer dereference at run-time. Suggested by Matthias Drochner.
1998-12-02 15:53:34 +00:00
tsubai
4cb00b9fe2 Adapt to gcc change (calling sequence). 1998-12-02 14:23:03 +00:00
tsubai
50a875f651 Use egcs by default on powerpc. 1998-12-02 14:12:23 +00:00
bouyer
c0a73358a2 Document the use of flags for PIO/DMA/UDMA settings/disable. 1998-12-02 11:05:59 +00:00
bouyer
ab57245c0f Document the use of flags to set/disable PIO/DMA/UDMA modes. 1998-12-02 10:54:26 +00:00
bouyer
45675ab14b - change drive_flags from u_int8_t to u_int16_t
- keep the modes supported by the drive in struct ata_drive_datas (will be
  later used for downgrading the DMA/PIO mode on error)
- use config flags to force/disable PIO/DMA/UDMA modes
- For the CMD PCI0643/6 setup DMA mode to DMA Read multiple.
1998-12-02 10:52:24 +00:00
bouyer
4787b2ea75 - intentation
- sync LK_* flags with ffs/ufs
1998-12-02 10:44:52 +00:00
bouyer
c2912048fc Cosmectic change in a panic(), so that the panic string printed by savecore
has more meaning.
1998-12-02 10:41:01 +00:00
christos
d72de1a548 PR/6251: ``TheMan'': Delint. 1998-12-02 09:47:20 +00:00
christos
a5d7ea15aa Regen. 1998-12-02 09:43:15 +00:00
christos
8692433023 add the compat id for the aha-1542cp 1998-12-02 09:42:57 +00:00