Commit Graph

3574 Commits

Author SHA1 Message Date
bouyer ab57245c0f Document the use of flags to set/disable PIO/DMA/UDMA modes. 1998-12-02 10:54:26 +00:00
thorpej a6f7e0c05a Implement WARN_REFERENCES(). 1998-12-02 00:58:42 +00:00
thorpej 1e7ec4d50e Use _C_LABEL() to generate C labels in assembly code, don't prepend an
underscore (_) directly.  (XXX Except in a few places, where traditional
CPP's macro evaluation semantics break things, so we test for __ELF__
directly in those places).
1998-12-01 04:30:59 +00:00
thorpej ff78cf69cf Move cdev_usb_init() and cdev_usbdev_init() to <sys/conf.h> 1998-11-29 06:56:13 +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 4dc534f05d Export the `pcmciabus' attribute on the `pcic' controller. 1998-11-26 15:35:58 +00:00
christos 1eebc10d76 add aha at isapnp? 1998-11-23 20:47:03 +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
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
tron 45d30cea9d Sync with GENERIC. 1998-11-20 11:50:29 +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
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
oster cf5710c839 Added a (commented out) configuration line for the RAIDframe device driver. 1998-11-16 16:44:55 +00:00
marc c48ce4626f Avoid irq 5 and 7, the most likely cause of problems on modern laptops. 1998-11-16 07:23:28 +00:00
perry 0c20c72cf9 (mostly) fix kernel tags support. from Frederick Bruckman in pr-6445. 1998-11-15 20:36:30 +00:00
christos 9a95622add cast _mcount args to u_long, to avoid lint warnings. 1998-11-13 13:50:52 +00:00
lukem 6ff594779a oops - missing "," 1998-11-13 06:11:42 +00:00
oster c74d32c5fc Updating of bdev's and cdev's to support RAIDframe. 1998-11-13 04:47:03 +00:00
rvb b148b1ea84 Oops, I didn't mean to let that last commit get out. Though
maybe Havard should look at the changes (to make INSTALL smaller)
and see if any are general/reasonable for everyone.
1998-11-12 21:51:02 +00:00
thorpej 05c4e40b41 defopt the APM options. 1998-11-12 21:32:16 +00:00
rvb 7f2a4a5331 Perry said I should ... enable pms0 for GENERIC 1998-11-12 21:12:34 +00:00
thorpej b29c33e2a0 Update for the new state of the world: pciide, wscons, and a slight
change in how PCI-Host bridges are matched.
1998-11-12 01:04:06 +00:00
tron 76a221aca5 Sync with "GENERIC". 1998-11-12 00:57:29 +00:00
ws 18f9174133 Some BIOSs insist on patching the Bios Parameter Block for some drives
(e.g. LS-120).  Make room for this.
1998-11-11 16:46:38 +00:00
thorpej 49c62c4336 Changes to support fork_kthread():
- cpu_set_kpc() now takes void *arg third argument, passed to the
  entry point.
- cpu_fork() allows parent to be non-curproc iff parent is proc0.
  When forking non-curproc, assume its state has already been saved.
- Adjust various pieces of machine-dependent code to account of all of this.
1998-11-11 06:41:23 +00:00
bouyer 5f9fa9aaaa Add and enable the pciide driver. 1998-11-10 14:09:15 +00:00
drochner 1f23f4e047 add poll entry for (optional add-on) i4b raw device 1998-11-07 17:28:57 +00:00
jonathan cdd3abe7a9 Pull MBR-scanning code and NetbSD-partition-finding into a separate
function, rathe than duplicating in readdisklabel() and writedisklabel().

XXX should really  make MBR code MI, and share with other MBR-using ports
(e.g., arc, arm32 MBR label-scanning code).
1998-11-07 04:39:03 +00:00
jonathan a581370fce apply previous change to writedisklabel() as well as readdisklabel(). 1998-11-07 01:30:57 +00:00
jonathan 45aa097296 Change COMPAT_386BSD_MBRPART: don't break on match, so that if there's more
than one DOSTYP_386BSD partition, we pick the last one, not the first.
That's what our install tools do/did with multiple ID-165 partitions.
1998-11-07 01:08:00 +00:00
tron 63b722221a Sync with "GENERIC". 1998-11-06 20:29:52 +00:00
mellon 3cc58a69cc Fix a signed/unsigned thinko (this is cgd's fix) 1998-11-05 15:59:00 +00:00
thorpej 74b81e824e Add "ukphy". 1998-11-05 00:38:10 +00:00
fvdl 21ab4a980a Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. 1998-11-04 00:31:59 +00:00
thorpej 6768f892cc Add sqphy. 1998-11-03 23:52:50 +00:00
thorpej ec38cdc6d9 Add icsphy*. 1998-11-03 00:12:45 +00:00
hubertf e45fa5e3bb add version for libkeycap 1998-11-01 17:14:27 +00:00
hubertf eccf9ccdd8 s|share/misc|share/pcvt| 1998-11-01 16:37:06 +00:00
lukem d04b2d9043 implement BUFCACHE, which sets the size of the buffer cache to BUFCACHE %
of physmem. if not set (or == 0), falls back to old sizing method.
1998-11-01 09:51:09 +00:00
lukem 80e1cdcee7 s/milieconds/milliseconds/ 1998-10-30 13:47:02 +00:00
ws 2791cf041a Fix a thinko which still prevented this to run on non-int13-ext machines.
Thanks to entropy@zippy.bernstein.com for pointing this out and testing the fix.
1998-10-30 12:16:59 +00:00
hubertf bc70dd6bc5 Cleanup includes-installation, ACK'd by Matthias Drochner. 1998-10-28 14:14:45 +00:00
hubertf c884556c3d Prevent loop caused by custom includes-target 1998-10-28 01:46:46 +00:00
christos 12fd61ebc9 PR/6356: Hubert Feyer: Linux emulation has problem w/ pipes
On linux we don't have syscalls that use retval[1] (edx). So don't
corrupt edx, because the compiler assumes that it has the same
value as before the syscall. Also, compute if we are running under
linux emulation in one place.  XXX: Someday we should have a syscall
function per emulation and avoid the mess.
1998-10-27 18:04:27 +00:00
ws 6463d10c79 Fix typo which prevented this from working
on disks without int13-extension support.
1998-10-27 14:08:55 +00:00
ws a541c86a76 Update version number and mention int13 extension support
(sorry, forgot this on the recent commit of the above).
1998-10-27 12:59:02 +00:00
hubertf 7e430fc3fd Install programs & files for pcvt. 1998-10-26 21:01:28 +00:00
sommerfe 116ab7954f This file has no real dependancies on SYSV ipc gunk.. so don't drag in headers 1998-10-26 19:11:57 +00:00