Commit Graph

36150 Commits

Author SHA1 Message Date
agc 5e87acd0dd Move the inclusion of bsd.own.mk back to the correct place in
bsd.port.mk, but this time use a definition before the inclusion,
which stops <bsd.own.mk> defining its own install target when
using the package system.

This makes the package system take notice of the definitions in
/etc/mk.conf
1998-01-15 09:37:25 +00:00
thorpej 2cfef7a0ec Oops, something snuck in there that shouldn't have... 1998-01-15 07:40:06 +00:00
thorpej 86adfd8033 Switch to MI IDE drivers, add ATAPI devices. 1998-01-15 07:17:19 +00:00
thorpej c60855e116 Switch to the MI IDE drivers. 1998-01-15 07:09:24 +00:00
thorpej f127dfb6f0 Undo the wdc -> awdc mapping kludge. 1998-01-15 07:02:21 +00:00
thorpej 76e4297b91 No longer needed; we use the MI IDE driver now. 1998-01-15 07:01:51 +00:00
thorpej b9ed745f83 Add DDB key sequences for alpha and mvme68k. 1998-01-15 06:38:18 +00:00
thorpej 525b092c2e Get include file paths correct. 1998-01-15 06:15:08 +00:00
thorpej 1f93872e5c Kludge around i/o port overlap w/ the "wdc" driver. 1998-01-15 06:11:55 +00:00
thorpej 28fa7254b3 Define the O_SYNC flag to open(2) per XPG4.2, using the same value as the
historic O_FSYNC flag (the semantics are identical).  Hide the historic
O_FSYNC flag if _POSIX_SOURCE or _XOPEN_SOURCE are defined, and define it to
be O_SYNC.
1998-01-15 02:33:12 +00:00
thorpej 1e4cac0c75 Document the O_SYNC flag, and where its semantics are defined (XPG4.2).
Be more clear about how file access modes are specified, and do a bit
of general cleanup.
1998-01-15 02:30:18 +00:00
cgd d6e5187749 add 'sd* at atapibus? drive ?' to all kernel configs already containing
an analogous line for 'cd'.
1998-01-15 02:26:26 +00:00
cgd 24972c51a4 #include a just-added scsipi header. 1998-01-15 02:23:43 +00:00
cgd 3b207eaf83 add support for an ATAPI attachment for 'sd'.
fix 'cd' driver's NCD_SCSI bogosity (was using testing wrong macro!)
clean up in various ways:
* make common atapi_mode_{sense,select}() functions.
* put ATAPI data structures in more sensible headers, split up by
  device type.
* include headers a bit more carefully.
* pass flags to attachment-specific cd functions, and use them.
* get rid of SCSI bits in scsipi_base.h's scsipi_make_xs(), move
  them into the correct place in scsi_base.c.
* fix minor typo in struct name in scsipiconf.h (which was apparently
  never used except in a #define later in the same file).
* use __attribute__ to force 4-byte alignment for xs command store,
  so that architectures trying to bus_space_write_multi_N() (where
  N > 1) that data to a controller won't lose.
* clean up a few comments in typos, and make a few #defines easier to
  understand/maintain.
* rename cd_link.h to cdvar.h (via repository copy).  This is exactly
  what a 'var' file is supposed to be.
1998-01-15 02:21:27 +00:00
cgd 8540a31ee3 kill a couple of unnecessary #ifs 1998-01-15 01:26:13 +00:00
cgd aa872229e1 fix typo in comment that i just added 1998-01-15 00:35:38 +00:00
cgd 4fdd07b4c5 remove 'ata' interface attribute. it now is define in the MI conf/files. 1998-01-14 23:56:23 +00:00
cgd aaede4d8d8 Various cleanups and bug fixes to the wdc/wd code:
* Fix bug in wdc that would overflow ATAPI transfer length.
* Improve wdc probe code so that 'wdc' is probed in if present
  even if there are no drives attached, and so that it works
  properly even if the only device is an ATAPI slave.
* bus_space-ify.
* split the ISA attachment from the wdc driver, and remove
  ISA dependencies from non-ISA files.
* claim that wd and wdc are now machine-independent (probably not
  completely true, but mostly so; they at least work on arm32 and
  i386).
* Various other minor fixups and cleanups, some of which were pointed
  out by Kazuki Sakamoto.
1998-01-14 23:41:59 +00:00
cgd ad141a69a7 Shuffle wd/wdc driver files around (via repository copies). wdc
now lives in dev/ic, wd now lives in dev/ata.  there's now a 'ata'
interface attribute defined in conf/files, but wdc can't go there
yet because some ports still use private versions based on the old
ISA version.
1998-01-14 23:36:30 +00:00
thorpej 561056f2e2 Grab a fix from 4.4BSD-Lite2: open(2) with O_FSYNC and MNT_SYNCHRONOUS
had not effect.  Fix: check for either of these flags in vn_write(),
and pass IO_SYNC down if they're set.
1998-01-14 22:08:44 +00:00
thorpej de0a03db2e As pointed out by Chris Demetriou, I forgot to bump the NetBSD constant
when going to 1.3B.  Let's hope we don't go to 1.3C in Februrary...
1998-01-14 22:05:52 +00:00
gwr 4fea918e34 For completeness, fix the SunOS/sun3 sigtramp support too.
(I had to change tm-m68k.h which affects tm-sun3.h also.)
1998-01-14 18:51:06 +00:00
gwr 254db76f83 Define IN_SIGTRAMP() as nbsd_in_sigtramp(), which knows how to find
the address of the signal trampoline on all NetBSD/m68k machines.
(Fixes PR bin/3391)
1998-01-14 18:45:44 +00:00
gwr eba66671ed Define FRAME_SAVED_PC to use the common sigtramp_saved_pc() just like
the i386 does.  The previous definition was a SunOS-specific hack,
and if that is really still needed somwhere, it can still be used
by defining sigtramp_saved_pc as m68k_sigtramp_saved_pc in the
target-specific tm.h file.  The common sigtramp_saved_pc() fucntion
uses SIGCONTEXT_PC_OFFSET to find the return PC (the best way).
Do not define SIG_PC_FP_OFFSET here.  (very machine-specific!)
1998-01-14 18:42:05 +00:00
gwr 6cc4f2227c Add two new functions:
m68k_sigtramp_saved_pc() - like the comon sigtramp_saved_pc, but
  uses SIG_PC_FP_OFFSET to find the saved PC (used for SunOS).
nbsd_in_sigtramp() - determine whether a PC value is within the
  signal trampoline, but do so WITHOUT hard-coding the address
  of the end of the stack (uses "__ps_strings" at run time).
  This allows a common gdb to work on all m68k. (yea!)
1998-01-14 18:33:10 +00:00
drochner c2f99d2a8e update for changed uha1 ISA base address 1998-01-14 15:31:41 +00:00
drochner 09354842c5 from Dave Burgess per PR4620:
-base address 0x308 is supported by more Wangtek QIC tapes than 0x300
-Ultrastor ISA SCSI adapters can't be set to base address 0x334
  (changed to 0x340)
1998-01-14 15:27:43 +00:00
pk 866632416e Fix a border case when committing physical pages to the VM system;
rename some variables in the process for clarity.
1998-01-14 14:49:29 +00:00
drochner 6dbf9b31d3 "device" structure is not used in probe anymore 1998-01-14 12:17:14 +00:00
drochner 4429cca488 make it compile without BROKEN_INDIRECT_CONFIG 1998-01-14 12:14:41 +00:00
lukem bba0660678 * use setsockopt(IP_PORTRANGE_LOW) instead of looping through the
address range (from freebsd).
* enhance the man page to be a bit more useful.
1998-01-14 11:04:17 +00:00
lukem 910a3d4cc4 regenerate. PS: the rcsid gets nuked, but it's not necessary IMHO 1998-01-14 11:00:03 +00:00
scottr 8bc19b019b Update for mandated release structure. 1998-01-14 06:50:26 +00:00
scottr e6de4bea3e Update checksum file notes, and fix a use of the word 'comprise'. 1998-01-14 06:39:52 +00:00
enami 491b9bd801 Remove redundant assignment. 1998-01-14 01:15:24 +00:00
scottr 6da8e8dc16 Grammar police, plus a bit of general cleanup of the BUGS section. 1998-01-14 00:40:51 +00:00
cjs 61826c3946 Make INSTALL a fully-loaded kernel (for booting from network or CD), and
INSTALL-FLOPPY a stripped-down version to fit on a floppy.
1998-01-13 23:49:31 +00:00
pk 1842a317c3 Fix parenthesis inbalance. 1998-01-13 20:53:38 +00:00
pk 1195f3d8a9 Add fkbyte(), which is like fubyte() but for kernel addresses.
Only used at this moment to work around unexplained transient bus
errors when reading the VME interrupt vector in bus control space.
1998-01-13 20:51:01 +00:00
drochner 13463145fe make it compile without BROKEN_INDIRECT_CONFIG 1998-01-13 19:33:28 +00:00
scottr 4c69a8b2ea Update for bus.h changes. 1998-01-13 19:15:32 +00:00
scottr 5b4a54759d Conform to spec, and make bus_space_copy() handle overlapping copies.
From Jason Thorpe.
1998-01-13 18:32:15 +00:00
mrg 057795048f this is the i386 MD portion of the MACHINE_NEW_NONCONTIG code, as
written by chuck cranor.  thanks to mycroft for helping me find the
one little line of code i accidentally deleted while merging it.

this is not enabled by default.  `options MACHINE_NEW_NONCONTIG'
will use this code.  eventually, this should go into <machine/vmparam.h>
insteaed of MACHINE_NONCONTIG.
1998-01-13 12:52:16 +00:00
kleink 7d2c50b586 Add a FNM_NOSYS return code. This condition will never happen (since fnmatch()
is implemented), but this preprocessor symbol is required by XPG4.2.
1998-01-13 12:45:02 +00:00
tv 57e950df04 Add edlabel (checkflist finds it, perhaps this should be removed later ?) 1998-01-13 12:02:40 +00:00
thorpej ebb84c5792 Fix a typo in previous. 1998-01-13 06:13:29 +00:00
sakamoto 7b093957d3 interrupt name change "softtty" -> "softserial" 1998-01-13 03:52:49 +00:00
enami 99a9d7a632 Don't include <machine/pio.h>. Include <machine/bus.h> explicitly. 1998-01-13 03:34:32 +00:00
enami 4b62270f85 Don't include <machine/pio.h> and <dev/isa/isavar.h>. Instead,
include <machine/bus.h> directly.
1998-01-13 03:31:42 +00:00
thorpej df7ad322f2 Nuke spurious semicolon, from Konrad Schroder <perseant@hhhh.org>. 1998-01-13 03:30:39 +00:00