Commit Graph

3562 Commits

Author SHA1 Message Date
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
enami
92d5be6614 Explicitly test Intel 82371AB PCI-ISA bridge since *some* of them
identify themselves as miscellaneous bridge rather than isa bridge.
1998-10-26 03:47:19 +00:00
enami
c8a28ce872 Cosmetic change; use tab for basic indentation rather than four space. 1998-10-26 03:43:52 +00:00
christos
62b06e44c3 Add nca driver goo. 1998-10-25 18:40:17 +00:00
thorpej
bfc8ed8a50 Add "exphy" and "lxtphy" drivers. 1998-10-24 00:46:17 +00:00
bouyer
31dec5ddc5 Add config flags for pciide: 0x001 forces the use of DMA when the driver
don't know how to set the controller's modes.
1998-10-22 15:11:39 +00:00
tron
39876df951 Defopt SYSVMSG, SYSVSEM and SYSVSHM. 1998-10-19 22:14:54 +00:00
tron
249f0890d0 Sync with "GENERIC". 1998-10-19 18:19:55 +00:00
bouyer
ec954fdc40 Add 'uk at atapibus'. 1998-10-19 12:29:55 +00:00
bouyer
59000618ac Remove useless 'flags' for wdc ata isapnp. 1998-10-19 12:06:55 +00:00
jtk
c4ffdb9200 dumpsize == 0 also indicates failure to figure out where to dump
(e.g. dump partition too small), so complain in that case when trying to
dump
1998-10-17 00:07:11 +00:00
ws
d65dc0de3b Make ourseg visible to the outside similar to bootsect/start_bootsect.S
(Thanks to hannken@eis.cs.tu-bs.de for pointing this out).
1998-10-16 18:07:35 +00:00
mycroft
79a031f9d3 Configuration for new CVS server. 1998-10-16 00:30:53 +00:00