Commit Graph

9135 Commits

Author SHA1 Message Date
cgd c20292b01b fix casts; should cast pointers to longs, not ints. 1995-11-20 20:43:33 +00:00
thorpej b92924680d Garbage collect some stuff that isn't used. Rename the relocation info
structure to be consistent with the other m68k ports.  XXX that struct needs
to move to an m68k common file.
1995-11-20 01:15:26 +00:00
thorpej 22ab83eff0 We don't have, and have never had, a kern/exec_hpux.c 1995-11-20 01:01:05 +00:00
thorpej df59198ddc Put doshutdownhooks() in the right place. Pointed out by cgd. 1995-11-20 00:58:54 +00:00
thorpej 8272af3168 Re-arrange boot() a bit; call doshutdownhooks(), if we're rebooting, say so,
etc.  Modeled after the alpha port's boot().
1995-11-19 23:24:15 +00:00
thorpej 8122bc0e33 Prevent the ITE_ACTIVE bit from being cleared in iteoff() if the ITE_ISCONS
bit is set.  Works around the fact that the last process to have the
console open exits, the bit is cleared, and "syncing disks...", etc. is
not seen if the system is rebooted with reboot(8).  Fixes PR #1455.
1995-11-19 23:14:22 +00:00
thorpej 31430a5279 Cosmetically change one #include directive. 1995-11-19 22:32:38 +00:00
thorpej 905cb9dda1 Re-arrange things such that we can print out disk geometry regardless of
COMPAT_NOLABEL.

XXX One day when the world doesn't assume DEV_BSIZE bytes/sector, we'll be
able to actually use the stuff sensed from the drive, rather than a table.
1995-11-19 19:07:18 +00:00
thorpej d0e01feb5c Do an indirect driver a little more like an indirect driver would like to
be done.  Set up a structure filled with function pointers in the
controller-specific probe routines, and jump through them, instead of
if()'ing our way though each operation.

Be a little more discriptive; print out the controller type found
during the probe in a way that's somewhat meaningful.
1995-11-19 17:57:15 +00:00
gwr 97fc3b8321 get size of softc right 1995-11-17 23:33:34 +00:00
gwr 86f10d8343 Switch to ncr_si (will just do PIO for now) and cleanup 1995-11-17 23:31:11 +00:00
gwr 0ee10ff487 Give translated label a valid magic number 1995-11-17 23:30:19 +00:00
gwr c01eb77976 cosmetic 1995-11-17 23:29:30 +00:00
gwr 5d5c8d0d4b Latest, greatest version of the new NCR driver.
DMA works!  Interrupts work!  Disconnect/reselect works!
To be paranoid, leave that all disabled for now...
1995-11-17 23:27:41 +00:00
gwr 6b20139b41 Add copyright 1995-11-17 23:24:56 +00:00
gwr 92b8a2d9e5 just cleanup 1995-11-17 23:23:44 +00:00
jtc ce0b404f4e fixup copyright notice before the release 1995-11-17 06:47:27 +00:00
cgd e9ef628234 don't link against libkern, so that boot blocks will work properly.
(pulled down from 1.1 release branch.)
1995-11-16 22:38:16 +00:00
thorpej b2f1fb085b Fix transposed copyin() args, from Niklas Hallqvist <niklas@appli.se>. 1995-11-16 18:42:05 +00:00
cgd bd4a0a45ea note that COMPAT_OSF1 requires ECOFF, in a comment. 1995-11-15 05:42:17 +00:00
pk 0c031adc76 Not all v2 proms understand the `mac-address' word (from Theo). 1995-11-14 15:04:01 +00:00
briggs 83604dcbd6 Add call to doshutdownhooks() before we attempt to reboot. 1995-11-14 04:05:49 +00:00
christos d125a07adb My previous changes broke the pcmcia support. For now assume that all non
PCI cards look identical to ISA cards.
1995-11-13 20:50:22 +00:00
christos 7a68425190 Don't use the softc at probe time on pci devices because it has not been
allocated yet. Thanks Charles...
1995-11-12 20:55:26 +00:00
ragge 826b97635f No longer needed; interrupt vectors now dynamic allocated. 1995-11-12 15:19:49 +00:00
ragge bfc2ca40b8 Function call definition on stack. (calls frame) 1995-11-12 15:07:30 +00:00
ragge 763fd0a011 Macros for locore mapping added. 1995-11-12 14:41:41 +00:00
ragge d96cac4b8e pt_entry_t now struct pte. cleanup. 1995-11-12 14:40:26 +00:00
ragge e6db353726 extern struct scb *scb; added. 1995-11-12 14:38:31 +00:00
ragge 7aac03e745 11/750 specific things moved to ka750.h 1995-11-12 14:37:18 +00:00
ragge 2a23f39e82 struct ivec_dsp for interrupt vector allocation added. 1995-11-12 14:33:11 +00:00
mycroft 7edc899fdd ffs -> ufs 1995-11-11 22:00:15 +00:00
pk c7d1d39b3e dk_device => device in controller structure (noted by Jason Thorpe). 1995-11-11 21:12:50 +00:00
mycroft fbecb8d22b Remove the gratuitous code to check for a disc at boot time. 1995-11-11 20:07:57 +00:00
gwr 70065d9d16 Fix a comment while I'm here... 1995-11-10 22:05:52 +00:00
gwr 01655dec81 Need to define KERNTEXTOFF for kvm_mkdb 1995-11-10 22:04:48 +00:00
gwr 3dcdca7c52 Allow unit != 0 1995-11-10 21:59:30 +00:00
christos e4c4e9cb07 Add support for the 3c59x (pci) cards in the 3c5x9 driver. In addition
add the necessary bits for the 3c589 (pcmcia) card without adding any
of the pcmcia framework.
1995-11-10 19:39:21 +00:00
christos ffa8bfeda1 pcidevs was changed 1995-11-10 19:36:29 +00:00
christos c3ae59171a - pcidevs: add 3c590 and adaptec ultra
- aic7xxx.c: fix the probe routines to use pcidevs.h
1995-11-10 19:36:08 +00:00
christos c0aaa86553 Add a config line for 3c590 ethernet cards 1995-11-10 19:34:54 +00:00
ragge f51faf62ac Dynamic allocate uba_softc and interrupt vectors.
Allow for more that one uba.
1995-11-10 19:25:46 +00:00
ragge d16c357ab9 A couple of CPU specific defines moved away. 1995-11-10 19:14:43 +00:00
ragge c9be4b2e09 Removed some warnings. 1995-11-10 19:09:56 +00:00
ragge 42edf9d2b4 _idsptch added, _physcopypage removed. 1995-11-10 19:08:59 +00:00
ragge eca544e6fc sysarch() -> sys_sysarch. 1995-11-10 19:07:16 +00:00
ragge ae0f1d45d8 Allow for dynamic allocation of interrupt vectors.
COMPAT_RENO removed.
Handle memory errors.
uap->sigcntxp -> SCARG(uap, sigcntxp)
1995-11-10 19:05:46 +00:00
ragge 33bd27fa3c Major rewriting of pmap_bootstrap; CPU dependent allocations moved
to related file.
1995-11-10 18:52:54 +00:00
mycroft d3c61be30b Convert IRQ, DRQ, and port numbers to int. 1995-11-10 05:01:05 +00:00
mycroft 38a7c4b007 Correct the format of some diagnostics. 1995-11-10 04:41:58 +00:00