Commit Graph

26887 Commits

Author SHA1 Message Date
ragge 2298227965 Remove support to execute reno/ultrix binaries. It doesn't work, and
must be done in another way to work.
1998-11-29 15:01:49 +00:00
ragge 015d31ae8d - Save R/M bits after a page is unmapped.
- Keep track of mapping count (for statistics).
- vm_offset_t -> vaddr_t/paddr_t.
- Move away counting of available memory.
1998-11-29 14:55:04 +00:00
ragge f07a586dc6 the btoc/ctob/btop macros must use CLBYTES, not NBPG. How this should
work in the long run is an open issue; some parts must be reworked
in a MI way.
1998-11-29 14:48:51 +00:00
ragge c738e45cd6 Memory disk support. 1998-11-29 14:31:53 +00:00
mycroft 34a1fe3ee3 Fix bogus asm statements; tmp1 and tmp2 need to be outputs rather than inputs. 1998-11-29 10:37:08 +00:00
thorpej 11f3c29221 Add USB devices. 1998-11-29 06:57:46 +00:00
thorpej ff78cf69cf Move cdev_usb_init() and cdev_usbdev_init() to <sys/conf.h> 1998-11-29 06:56:13 +00:00
thorpej 451f7f5edf cdev_usb_init() and cdev_usbdev_init(). 1998-11-29 06:55:42 +00:00
cgd 2690e920cb patch from chuck:
remove bogus permission check in uvm_map_clean().   fixes mmap/msync
problem discussed/reported by jonathan and Andreas Wrede <andreas@planix.com>.
1998-11-29 06:15:58 +00:00
jonathan 7d813b16c3 Add PV_REFERENCED and track as for PV_MODIFIED,.
UVM relies on pmap modules keeping track of modified/referenced bits
after a page has been removed from all mappings.  So *dont* clear
PV_REFERENCED or PV_MODIFIED flags in pmap_remove().
1998-11-29 03:18:32 +00:00
thorpej 2407a4bd22 Regen. 1998-11-29 02:00:33 +00:00
thorpej feb6a5652f Fix the original Rhine's part number (thanks to Greg Oster). 1998-11-29 02:00:13 +00:00
thorpej 17ac4ec4c5 Regen. 1998-11-29 01:54:16 +00:00
thorpej f051479ec7 Garbage-collect some bogus RealTek entries. 1998-11-29 01:54:02 +00:00
thorpej ecaece3f26 Add product IDs for the VIA Rhine and Rhine-II 10/100 Ethernet chips.
(XXX What is the original Rhine's part number?!)
1998-11-29 01:53:33 +00:00
thorpej 96da1decd9 Fix media probe on non-MII chips. 1998-11-29 01:40:46 +00:00
jonathan fa0ee282ff Read icsr in interrupt handler (from development tree). 1998-11-29 00:58:06 +00:00
jonathan 34fe177e8e * Use dc_tty_init() to set serial-console line state both for boot-time
console setup and driver attach-time.
* Dont wire potential console lines as CLOCAL; use softcar.
* #ifdef tests on #ifdef NRASTERCONSOLE, not HAVE_RCONS.
1998-11-29 00:28:29 +00:00
christos dd597a541c regen 1998-11-28 21:53:33 +00:00
christos 298d9e0d50 Deal with {get,set}rlimit{,64} properly, respecting the RLIM_INFINITY,
RLIM_SAVED_MAX, and RLIM_SAVED_CUR values. We should fix our own implementation
to do this and use unsigned numbers for rlim_t as solaris does.
1998-11-28 21:53:02 +00:00
is 0136b1bd69 Add ne (AriadneII). 1998-11-28 21:27:42 +00:00
thorpej 16eabd8a1f Add an RCS ID. 1998-11-28 20:59:26 +00:00
ender a5b3596bc4 Remember to recognize modifier key releases when the Option key is down.
Fixes art of PR 6444.  Tested by Frederick Bruckman <fb@enteract.com>.
1998-11-28 19:42:49 +00:00
is 06f7b24f4c Implement softintr_disestablish(). 1998-11-28 16:39:25 +00:00
is b36e0e66ff Fix typo. 1998-11-28 14:46:53 +00:00
is 36ebc2012e Sorry. Hypercom1 and Hypercom3 code is not yet available. 1998-11-28 12:19:44 +00:00
jonathan cdc3ba978c Remove last vestiges of console special-case handling:
* use dc_coldparam() in dc_tty_init(), dc_kbd_init().
 * use dc_tty_init() to set line for serial console in dc_consinit()
 * only call dc_mouse_init() if the console major-number  is RCONSDEV.
1998-11-28 09:52:55 +00:00
thorpej 18e7f69220 Update for new pcmciabus attribute. 1998-11-27 21:59:18 +00:00
eeh 7010132044 Calculate the size of the TSB correctly. 1998-11-27 20:02:57 +00:00
eeh ff27dd92da Improve page table printing. 1998-11-27 19:58:46 +00:00
christos d7846c84e1 Conflict resolution. 1998-11-27 18:33:21 +00:00
christos f8c52e6cf3 use a symbolic constant instead of just 0 1998-11-27 18:32:09 +00:00
christos 786b3a2c22 regen 1998-11-27 15:22:44 +00:00
christos 87308428af take a stab at implementing resolvepath(2) 1998-11-27 15:08:50 +00:00
drochner b0bb754f03 regen 1998-11-27 10:43:52 +00:00
drochner d5a92a68de add Powerstorm 4D50T graphics found in some Alphas 1998-11-27 10:39:16 +00:00
simonb e931618c25 Don't do a mkdep on SFILES if it is empty. Stops an annoying:
cc: Warning: `-x assembler-with-cpp' after last input file has no effect
    cc: No input files
message.
1998-11-27 01:01:40 +00:00
simonb 8eef08e4ae fix another white space botch 1998-11-27 00:44:46 +00:00
simonb bf95b924c9 White space and comment formatting police 1998-11-27 00:09:33 +00:00
pk 2e89e9144b Turn a bunch of bus_space_*() macros into in-line functions mostly to avoid
variable aliasing.
1998-11-26 23:50:52 +00:00
fvdl 82d0f812ab Save and restore pcb_onfault in a few copy functions that may be called
from a context where we can't afford to clobber it. Mostly from
Charles Hannum.
1998-11-26 23:47:36 +00:00
pk c918193752 Add splserial(). 1998-11-26 22:53:13 +00:00
mycroft 9a7fd5c1ac Sync kcopy() with 32-bit SPARC version. 1998-11-26 22:40:17 +00:00
mycroft 8df55592be Minor changes; indentation for delay slots and NOTREACHED comments. 1998-11-26 22:36:43 +00:00
mycroft 90a44dd270 Clean up kcopy() some more:
* Return EFAULT, not -1.
* Rearrange some instructions for better parallelism.
1998-11-26 22:30:31 +00:00
pk 79bf04ce4f kcopy() must restore pcb_onfault handler. Pointed out by Charles Hannum. 1998-11-26 22:17:33 +00:00
hannken 246a68a003 Add support for `AdLib NSC 16 PNP' as wss, joy.
Record source selection needs work.
1998-11-26 21:45:13 +00:00
ragge 237ff74c36 Fix kcopy fault-handler saving.
Get kernel last address from boot instead.
1998-11-26 21:21:06 +00:00
thorpej e3e5bd6220 Erg, fix the non-error code path, too. 1998-11-26 21:16:08 +00:00
thorpej 8458248eec copyin() and copyout() should return EFAULT if a fault occurs, not
EACCESS.
1998-11-26 21:06:21 +00:00
thorpej e328e13450 Oops, in some delay slot confusion, I ended up clobbering s0 before it
restored pcb_onfault.  Make it the way I wrote it originally, which was
correct.  Pointed out by Michael Hitch and Charles Hannum.
1998-11-26 20:52:45 +00:00
tsubai 35f82ac3eb Save and restore pcb_onfault in kcopy(). 1998-11-26 20:48:45 +00:00
thorpej 958666b11a Oops, restore pcb_onfault if a fault occures in kcopy(). Pointed out by
Charles Hannum.
1998-11-26 20:26:52 +00:00
mcr dcfd79f257 regenerated pcidevs.h and pcidevs_data.h due to kern/6280
(not kern/5847 as originally noted)
1998-11-26 20:05:38 +00:00
mycroft 2aeb226755 Save and restore pcb_onfault for kcopy(), as pointed out by Steve Woodford. 1998-11-26 19:34:38 +00:00
eeh a5f6f68714 Fixup ffstab naming conflict between locore.s, libkern/arch/sparc/ffs.S and
libkern/arch/sparc64/ffs.S
1998-11-26 19:32:10 +00:00
eeh 8cc6435bf8 Forgot to specify a label for the branch target. Oops. 1998-11-26 19:08:21 +00:00
christos 48a6904248 fix renamed constant 1998-11-26 18:58:50 +00:00
kleink abd228c31c Regen: getpgid() prototype change. 1998-11-26 16:13:56 +00:00
kleink 5eb7ae9656 getpgid(2) returns a value of type pid_t. 1998-11-26 16:07:05 +00:00
pk 4dc534f05d Export the `pcmciabus' attribute on the `pcic' controller. 1998-11-26 15:35:58 +00:00
pk bb12def997 Use `pcmciabus' to attach the Sbus to PCMCIA bridge. 1998-11-26 15:33:29 +00:00
pk cfe66472ab Use `pcmciabus' as the PCMCIA attachment 1998-11-26 15:32:44 +00:00
pk 62781c826f Define `pcmciabus'. 1998-11-26 15:31:22 +00:00
leo bea7038c02 The IOMEGA ZIP 100, J.03 does not grok LUN's. 1998-11-26 13:39:14 +00:00
leo 15586aca07 Check-point work on isa-interrupt handling 1998-11-26 13:34:23 +00:00
mrg a94214bdd0 add a patch from darren reed, to make ipfilter use our cksum routine. 1998-11-26 12:21:47 +00:00
mycroft 74ad07cef5 Revert the functional change in rev 1.38; permit a msg_iovlen of 0.
There are two reasons for this:
* We should be able to pass file descriptors without sending any data.
* We could send zero-length iovecs anyway (but we shouldn't have to do this).
Also, msg_iovlen is already a u_int, so delete a bunch of casts.
1998-11-26 02:25:20 +00:00
augustss ca707fcdf2 Make the copyright header conform to the NetBSD template. 1998-11-25 22:32:04 +00:00
augustss 9726cfd1fb Make the copyright header conform to the NetBSD template. 1998-11-25 22:17:06 +00:00
ross 8bc9c17338 Disable sanity checks and unnecessary setup for conblock (-b) mode. 1998-11-25 21:19:35 +00:00
sommerfe 0cdf66e377 Fragments should start with a header mbuf allocated by MGETHDR() 1998-11-25 21:13:58 +00:00
hwr 59acb69be1 Add (commented out) 'gre' pseudo device line. Feedback is welcome.
Inspired by Klaus Klein.
1998-11-25 20:30:44 +00:00
mjacob 6b12feab6d add missing include file 1998-11-25 19:58:47 +00:00
pk b34cd5fdf0 Add IPL_SERIAL 1998-11-25 19:33:02 +00:00
tv 182b5b1d68 Sync with various options in GENERIC that were not added/changed here. 1998-11-25 18:37:48 +00:00
tv e7f7d54046 The wss driver does work (AS200/233 uses it). Uncomment. 1998-11-25 18:37:27 +00:00
bouyer cc6a0ef02b Use bus_dma(9) for the DMA ops in fxp_init() too. Without this the driver
was stuck in the while (!(cbp->cb_status & FXP_CB_STATUS_C)); loop,
I think because the relevent CPU cache entry was never updated.
This was on a compaq deskpro system.
1998-11-25 17:19:09 +00:00
christos 6167bac14c No functional changes. Added Mark Newton's suggested fixes, but since I have
not tested them they are #ifdef'ed notyet.
1998-11-25 15:48:35 +00:00
christos fc1519f1c9 Add a few more constants. 1998-11-25 15:47:51 +00:00
frueauf 04674130a0 pain(void) -> pain(void *), pointed out by Adam Ciarcinski. 1998-11-25 14:50:14 +00:00
mycroft 63f7ee9e53 Return instructions can also be unconditional branches. 1998-11-25 13:58:49 +00:00
mycroft 53698488ff Do not permit a class to be recorded as a master or monitor port. 1998-11-25 13:44:13 +00:00
mycroft 3357fbeefb Minor format change. 1998-11-25 13:39:37 +00:00
mycroft 8fbc327df1 DDB needs the stack pointer at the time of the fault to single step through
returns.  So, adjust the trap frame format to store sp.
1998-11-25 13:09:14 +00:00
mycroft f4b034d33a First whack at making single-stepping work through switch and return
statements.
1998-11-25 06:41:26 +00:00
mycroft 26a93b8985 Do branch forking for inst_return() instructions, too. 1998-11-25 06:38:03 +00:00
castor 813222c472 Allow pattern matching for symbol string to handle GCC's output for mips,
where strings are output as
	.ascii	"foo\000"
instead of
	.ascii	"foo\0"
1998-11-25 06:10:19 +00:00
nisimura 53ac67d9b1 - Fix two bugs; inst_call() is supposed to check OP_SPECIAL opcode with
either OP_JR function code or *OP_JALR* function code (not OP_JAL opcode).
insn_unconditional_flow_transfer() was to read an unintialized variable.
Those MD DDB routines seems not useful work so far.
1998-11-25 01:14:48 +00:00
drochner 5888c5ef44 a small optimization for the compat interrupt handling, possible after
channel_softc is within pciide_channel
1998-11-24 19:54:20 +00:00
kleink 799ebea61d Need declarations of defined inlined spl/sr functions. 1998-11-24 17:07:54 +00:00
kleink cb37e264d2 Need <sys/device.h> to bring configure() declaration in scope. 1998-11-24 16:48:26 +00:00
leo dee282eb12 You also need intr.h, psl.h, pte.h and vmparam.h to build the world... 1998-11-24 15:16:48 +00:00
leo d40f376b56 Implement BUFCACHE option as suggested by lukem. 1998-11-24 15:07:33 +00:00
leo a3f9798019 Make compile with -DDEBUG 1998-11-24 15:05:53 +00:00
leo f65666430f Pull-in device.h for configure() prototype. 1998-11-24 15:03:31 +00:00
kleink 94696a9ac3 Add support for the BUFCACHE config option. 1998-11-24 13:19:48 +00:00
mrg 993fb9ff04 add some missing comment ends. 1998-11-24 13:18:42 +00:00
mrg d4fb975471 bring a prom_printf prototype into scope. 1998-11-24 13:02:59 +00:00
mrg ed2db65750 add WARNS=0 for now. 1998-11-24 12:56:55 +00:00
mrg 7ad164b566 use rm -f. this makefile needs to be fixed.. 1998-11-24 12:56:40 +00:00
mrg 4e85f6d151 remove fixalign prototype, it is now elsewhere 1998-11-24 12:55:56 +00:00
mrg 0a61098abd remove some dead variables. 1998-11-24 12:55:25 +00:00
mrg 1458c370fc #if 0 pv_syncflags as it is not used. avoid comments in comments. 1998-11-24 12:55:06 +00:00
mrg 7fa9d2a08d move now unsed variable under #ifdef NOT_DEBUG 1998-11-24 12:53:27 +00:00
mrg 06dfd0f985 #if 0 an unused declaration 1998-11-24 12:51:19 +00:00
mrg 0bd7e232e2 do not start comments inside comments. 1998-11-24 12:50:56 +00:00
mrg 0a3c644dbc include db_interface.h, remove unused variable & add proto for db_uvmhistdump. 1998-11-24 12:50:27 +00:00
mrg b066708a2e add protos for switchtoctx, fixalign and emulinstr. XXX should all these be here? 1998-11-24 12:49:14 +00:00
mrg 5711320263 these are fpu_xitof & fpu_ftoxi in the code... 1998-11-24 12:48:14 +00:00
mrg 12f8528ba4 add a cast. 1998-11-24 12:47:24 +00:00
tsubai ac7d3e6487 Add PIC definitions. 1998-11-24 11:17:17 +00:00
ender 15f2f5d901 Take emulated button state into account before handing off mouse events.
Fixes part of PR 6444.  Tested by Frederick Bruckman (fb@enteract.com).
1998-11-24 08:34:37 +00:00
tsubai f917584d54 Add more delay in adb_reinit(). 1998-11-24 08:26:50 +00:00
dbj 0a67f72c26 uncommented the "intrnames" definitions used by vmstat to
label interrupt counts.
1998-11-24 07:02:10 +00:00
sakamoto 28c9fd0c8c Fix no check for negative offset in mmap. 1998-11-24 06:34:10 +00:00
mrg 3660a1e953 make sure we do not write more than 7.5k of bootblock. 1998-11-24 00:03:19 +00:00
kenh 1f676cda09 Implement the AT_READREG flag. This is needed for the CHECK POWER MODE
ATA command (among others).
1998-11-23 23:02:11 +00:00
kenh 48f2e0ae6c Add a new flag to wdc_command: ATA_READREG. This will indicate that all
device registers should be read back into the wdc_command structure after
successfull command completion.  Use this this in wdioctl() for
ATAIOCCOMMAND.
1998-11-23 23:00:26 +00:00
kenh 42d7790133 Add a new flag: ATACMD_READREG 1998-11-23 22:58:23 +00:00
mcr 4cb534cca1 added 82443BX_AGP_NOT as per kern/5847 1998-11-23 22:54:02 +00:00
wrstuden f0559087e0 Changes to deal with mac serial ports having clock sources on DCD or CTS.
- When doing a first open, don't enable receive & status interupts before
	the MD layer has had a chance to set things up.
- Enable logic to only enable DCD/CTS interupts if we are looking for/
	expecting interupts on those pins. Disable otherwise.
- in zs_param, only pass up the state of ZSRR0_DCD if we have enabled
	interupts on that pin.

Henry Hotz (<hotz@jpl.nasa.gov>) and Greg walsh <gwalsh@artec.com> have
tried these changes to get certain printers from hanging at boot. They
work in a 1.3.2 kernel for Greg.
1998-11-23 22:10:09 +00:00
christos 3ebca7fd4e regen 1998-11-23 20:49:20 +00:00
christos bb7d20f01a add adaptec aha attachment 1998-11-23 20:48:34 +00:00
christos f2bd402051 add adaptec aha attachment. 1998-11-23 20:47:51 +00:00
christos 1eebc10d76 add aha at isapnp? 1998-11-23 20:47:03 +00:00
scw 6861b95582 Get rid of memset() prototype, it's not used and egcs doesn't like it. 1998-11-23 20:45:26 +00:00
mrg 84826f1771 add installboot 1998-11-23 08:16:10 +00:00
mrg cd3e42513b add a sparc64 installboot script. just dd the bootblk to the right part of the disk. can be improved... 1998-11-23 08:15:11 +00:00
jonathan 89cad55ba4 Make rcons work, if configured, even when using serial console:
do rcons_connect() even if using a serial console.
  identify first attached framebuffer as being `rcons' output device.
1998-11-23 04:26:15 +00:00
mrg fdbb273f39 fix some warnings, and some not DEBUG problems. 1998-11-22 23:56:49 +00:00
pk 701d8366f0 Define `interrupt priority levels'.
XXX - for now, these arbitrary identifiers; NO INTERPRETATION IS DEFINED YET
1998-11-22 23:53:24 +00:00
eeh 4cf9a921c9 Move allocsys() back to cpu_startup(). We're no longer allocating it from
the locked 4MB TLB entry, but it solves the problem where large memory machines
overflow the 4MB TLB entry.
1998-11-22 23:38:53 +00:00
pk cecf78e09d Connect the PCMCIA bus. 1998-11-22 23:36:42 +00:00
mrg 4dd9bebb58 add two more prototypes. noted missing by mjacob. 1998-11-22 23:30:36 +00:00
pk e40c5c3c20 Add busses: PCMCIA, MII, ATA 1998-11-22 23:22:26 +00:00
pk 2814b02ec8 Define STP4020 chipset driver by its nickname `nell'.
XXX - also define a `pcic' attribute here, so we can attach a pcmcia bus
1998-11-22 22:17:27 +00:00
pk 5e4ad115c3 The beginnings of a driver for the Sbus <=> PCMCIA bridge chipset STP4020. 1998-11-22 22:14:35 +00:00
pk 0f7176ff24 Remove unwanted inclusion of an isa header file. 1998-11-22 21:58:50 +00:00
pk 0800aaa223 Move the `wdc' device into `conf/files'. 1998-11-22 21:57:47 +00:00
pk bc98f448b8 Turn the passed tag into "used" arguments. 1998-11-22 21:52:24 +00:00
ws 82fe9b4f90 The last fix in trap.c missed R2.
And correct the size of the fault buffer while being here.
1998-11-22 21:21:32 +00:00
augustss 32dd1a1d5a Make sure the Endpoint Descriptor gets the correct maximum packet size. 1998-11-22 20:21:22 +00:00
eeh 3bb71e68c6 ofwboot.elf is now ofwboot. 1998-11-22 17:22:50 +00:00
eeh 2f274f97e5 Don't ask the firmware to find our partition because it doesn't understand
NetBSD disklabels and gets horribly confused.
1998-11-22 16:21:02 +00:00
tsubai 01a2fb8424 Fix typo. 1998-11-22 15:57:37 +00:00
oster dd377fd943 Remove erroneous duplicate lines in cdev_sw[]. Now things are lined
up right and RAIDframe can find it's block device again.
1998-11-22 15:51:04 +00:00
drochner 1c0cc94837 Update for INT13 support.
XXX We can't easily emulate this here due to the 16-bit-pointer
call interface.
1998-11-22 15:44:03 +00:00
mrg 78db9d7d95 merge ipf 3.2.10 1998-11-22 15:17:18 +00:00
drochner c48ea35c91 include missing SYSV option header - PR kern/6479 by Urban Boquist 1998-11-22 15:00:47 +00:00
drochner 1e2b2f29f2 one more (last?) wdc_channels adaption 1998-11-22 14:55:29 +00:00
mrg d3224441a0 merge ipf 3.2.10 1998-11-22 14:41:29 +00:00
drochner e1244719fd oops - forget update for wdc_channels definition change 1998-11-22 14:36:38 +00:00
oster a8e48ccd6e Fix RAIDframe typo. (Reported by msaitoh@netbsd.org) 1998-11-21 23:41:13 +00:00
fvdl c312dc3f08 Avoid looping forever with cards that can only use one I/O address,
and specify a 0 alignment.
1998-11-21 23:38:11 +00:00
scw 28b6542336 Fix misplaced comma... 1998-11-21 20:37:06 +00:00
tsubai 491966b273 When DSI occurs and pcb_onfault != 0, registers are incorrectly restored.
Fix this.
1998-11-21 20:18:47 +00:00
augustss c73add02ca Fix some typos. 1998-11-21 18:57:09 +00:00
drochner 152d52c171 headers for new hardware support in pciide.c. from Manuel. 1998-11-21 16:06:45 +00:00
drochner 9effbbe436 some restructuring, more or less to get support for weird IDE controllers,
eg the Cypress ISA bridge:
-put channel mapping into the chip specific part, unify with
 channel_probe() into channel_map()
-use pointer to channel data as function call argument wherever possible
 instead of the channel number
-allow the "compat" channel number to differ from the per-controller
 channel number - for mapping and interrupt functions
-add support for SiS5598 and Cypress 82C693 chips
Mostly done by Manuel, I only contributed to the first 2 items.
1998-11-21 15:55:31 +00:00
drochner 3e38051bc5 in wdc_softc: access the per-channel data via a pointer array instead of
an array of fixed-sized channel_softc elements. This way IDE controllers
which more than 1 channel (pciide) can extend the channel data easily
for private needs.
To avoid the double dereference at runtime, change the argument of
wdcstart() to the channel data pointer instead of the array index.
1998-11-21 15:41:41 +00:00
tsubai 13a8c73bb6 Flush write buffer in ZS_DELAY(). 1998-11-21 14:57:59 +00:00
chuck cc2f45083b update outdated an_swslot comments 1998-11-20 19:37:06 +00:00
drochner 7e21eb25d4 Set the p-v list head to NULL if there are no valid mappings.
This should be not necessary because the pv_pmap member is already set to
NULL in this case which should keep the pv_next pointer from being
followed. However, PR port-i386/5291 reports that this measure helps in
at least one case (VINO).
Reviewed by Chuck Cranor, final fix is functionally identical to the PR's
proposal.
1998-11-20 17:44:39 +00:00
leo c9971df573 Follow the amiga vmparam.h, from Ignatios:
Yet another workaround for pmap bugs. Several reports on the port-amiga
list claim this helps with some big-machine situations.
1998-11-20 13:01:12 +00:00
leo b981000a00 If the disklabel on the floppy says that there are more tracks and sectors
than the hardware is capable off, believe the hardware...
1998-11-20 12:58:13 +00:00
leo 6827fd2ff0 Checkpoint my work on et6000 support. 1998-11-20 12:56:09 +00:00
leo 396634e8c7 Adapt to new wd world-order. 1998-11-20 12:54:37 +00:00
leo d8b37265bc Fix parameters of uvm_unmap(). 1998-11-20 12:48:13 +00:00
leo c852714bf9 Make it compile with -DDEBUG again. 1998-11-20 12:46:51 +00:00
leo 394afce1c9 NWDC -> NWD (wdc.h -> wd.h) 1998-11-20 12:43:11 +00:00
tron 45d30cea9d Sync with GENERIC. 1998-11-20 11:50:29 +00:00
itohy 6fca929d87 Moved the manual to share.
Added -L for libc.
Use `&&' instead of `;' for  cd and print-objdir  in order to avoid
infinite fork() if chdir failed.
1998-11-20 10:59:22 +00:00
mhitch 475a5c2afd RZ25 disks seem to need a short delay after a start command; the test unit
ready right afterward succeeds, but the getsize following that failed with
a "not ready".
1998-11-20 06:24:02 +00:00
thorpej 7693f53714 Detach children in reverse order. We are more likely to be able to recycle
cloned unit numbers that way.
1998-11-20 05:20:20 +00:00
kml ba30effcf8 Changes to support a HIPPI Framing Protocol device, which allows raw
HIPPI packets to be written without having to go through the network
stack.
1998-11-20 04:12:57 +00:00
ross 8d957efade Sigh, shuffle the nsio ide frobber yet again. 1998-11-20 03:58:22 +00:00
thorpej 8c2f638d29 Add support for power management and lazy interrupt establishment to the
PCMCIA aic6360 attachment.
1998-11-20 02:12:15 +00:00
thorpej 792462c236 Add support for power management and lazy interrupt establishment
to PCMCIA IDE controllers (include PCMCIA flash cards).
1998-11-20 01:52:22 +00:00
thorpej d0a4fb616f Implement controller reference counting on ATA devices. 1998-11-20 01:23:52 +00:00
thorpej 4ba3417429 Implement reference counting for ATA adapters. 1998-11-20 01:22:37 +00:00
thorpej 6a60e078ee Add adapter reference counting for SCSI and ATAPI devices. 1998-11-20 00:35:39 +00:00
kenh 510830d2c3 Rename WDCIOCCOMMAND (and related structures) to ATAIOCCOMMAND 1998-11-19 23:44:20 +00:00
kenh 5a79273062 Rename wdcio->ataio.h, as per ICB cabal discussion. 1998-11-19 23:41:09 +00:00
kenh 396aa17f77 Sigh, my bad. Check for chp->wdc being NULL before trying to deference it.
(I didn't realize the ISA wdc front-end doesn't fill in chp->wdc).
1998-11-19 22:50:21 +00:00
thorpej baec89716d Add a reference to the adapter when the scsibus is opened, and delete it
when it is closed.
1998-11-19 22:28:20 +00:00
thorpej 54b52fb5f6 Add a reference to the adapter before probing the bus, and delete it
once we are done probing.
1998-11-19 22:25:56 +00:00
thorpej 3b068a6c78 Adapt to the new scsipi_adapter interface. 1998-11-19 21:53:32 +00:00
thorpej 5f0577babc Adapt to the new scsipi_adapter interface. 1998-11-19 21:43:00 +00:00
thorpej e87fa217f4 Add support for reference counting and enabling/disabling SCSI and
ATAPI controllers.  This will eventually be used for power management
of e.g. PCMCIA SCSI and IDE controller cards.
1998-11-19 20:08:52 +00:00
thorpej afc84158d1 Back out revision 1.40. That change couldn't have POSSIBLY worked, since
when wdcprobe() is called, the wdc_softc pointer in the channel_softc
hasn't even been intialized!
1998-11-19 19:52:42 +00:00
kenh 9bc9937238 Add support for the WDCIOCCOMMAND ioctl. This allows the sending of
arbitrary ATA commands from user-space.  Concepts mostly taken from
the implementation of the SCIOCCOMMAND ioctl.
1998-11-19 19:46:12 +00:00
kenh e9c417a673 Definitions used by the WDCIOCCOMMAND ioctl. Mostly inspired by the
SCIOCCOMMAND ioctl.
1998-11-19 19:44:34 +00:00
mrg db3051d720 fix problems in many d_mmap routines:
- returned EOPNOTSUPP rather than -1.
	- no check for negative offset.
many of these fix potential security problems in these drivers.


XXX XXX XXX
the d_mmap cdev routine should be changed to have a prototype like:
	paddr_t (*d_mmap) __P((dev_t, off_t, int));

by someone!
1998-11-19 15:38:20 +00:00
he db360b9524 Bump ramdisk size by 100 blocks -- ran out of space. 1998-11-19 11:43:57 +00:00
dbj 044d782820 Removed unused buserr and addrerr declarations. 1998-11-19 08:32:26 +00:00
nisimura fec5fef8a5 - Fix an error in cursor color manipulation. 24bit RGB value was mistakenly
assigned to unsigned short variable.
- XXX PMAG-DV is supposed to emit virtical retrace interrupt, which can be
used for colormap/cursor update just like other TURBOchannel framebuffers.
1998-11-19 06:52:49 +00:00
jonathan 20cf682664 kernel config file for pmax install via ramdisk. 1998-11-19 06:05:11 +00:00
mrg b4f6a27f69 comment how a diag test is possible broken. 1998-11-19 05:23:46 +00:00
mrg d39ed4e552 check the return value of d_mmap before pmap_phys_address() gets hold of it. 1998-11-19 05:23:26 +00:00