Commit Graph

93099 Commits

Author SHA1 Message Date
lukem 2d86ced5d9 " egrep ... | awk" can be replaced by a smarter bit of awk... 2002-02-27 10:42:55 +00:00
matt 9991b60633 Remove R_VAX_GOT32O and R_VAX_PLT32O relocs. VAX don't need 'em. 2002-02-27 07:43:34 +00:00
simonb 06b7c00543 s/DEL_ZERO/DEV_ZERO/ 2002-02-27 06:51:57 +00:00
jmc 71b05541b5 Initial layout for SBP2 routines. Mainly just the code yanked from fwnode.c
so it's not lost.
2002-02-27 05:12:11 +00:00
jmc 6cf5c78fa4 Basic prototype/beginning of firewire disk support using sbp2/scsi. Commiting
to have a baseline.
2002-02-27 05:11:27 +00:00
jmc 40cba409bb Change/pretty up some debugging info.
Also, add unit location fields to the ROM image. The p1212 spec requires
unit locations if you have 2 or more unit directories which is the case for
ipv4 and ipv6 compiled into a kernel.
2002-02-27 05:09:15 +00:00
jmc f04610f130 Move definition of if_fw fifo location to ieee1394reg.h as it's needed for
filling in unit location in the rom.

XXX: This all is really too welded together. The if_fw code should be
decoupled from this and simply be handed a method by which it can provide
the config rom back to the main code.
2002-02-27 05:07:25 +00:00
jmc d455d6316d Add 3 more macros for extracting info from bus info block 2002-02-27 05:05:39 +00:00
jmc ea96c58797 Change length values to u_int32_t 2002-02-27 05:04:28 +00:00
jmc cc7dba0633 Add definition for ieee1212/p1212 2002-02-27 05:03:24 +00:00
jmc ed05bf459e Rototill fwnode.c to rely on the p1212 routines to parse and validate the ROM 2002-02-27 05:02:25 +00:00
jmc 8140d3a6bb Note done sections related to fwnode/ieee1212 stuff 2002-02-27 05:00:55 +00:00
jmc 2d478bd8d8 Move over from std to here 2002-02-27 05:00:00 +00:00
jmc 524644efa7 SBP is a firewire/ieee1394 specific protocol, not a generic standard. Move this
to the ieee1394 directory
2002-02-27 04:59:29 +00:00
jmc b1eeba63dc Initial checkin.
A framework for parsing p1212 compliant ROM's and returning a tree that
describes it. Include routines for searching the tree, walking it to
apply functions against nodes and printing out the tree.

Also provide a utility routine to take all the unit dirs present in a ROM,
loop against them and present them to config_found to configure all possible
sub devices.
2002-02-27 04:58:50 +00:00
jmc 00ea0581b5 Add a few more extraction macros and begin the ALLOW list of flags for
overriding specific checks in p1212_parse
2002-02-27 04:55:58 +00:00
tv 8b54ad2d20 Fix bootstrap-libgcc (should be looking in build/, not .native/), and make
.native/.configure_done depend on the typical _GNU_CFGSRC stuff.
2002-02-27 04:43:22 +00:00
kleink 39a685458d Fix pastos & typoe. 2002-02-27 04:13:10 +00:00
lukem a3bab9b7d7 clarification of vflag 2002-02-27 03:55:14 +00:00
lukem 1119bfe6ea nfs_connect(): if NFSMNT_RESVPORT is set, set IP_PORTRANGE_LOW on the socket
rather than using home-grown code to find a free reserved socket.
this also results in nfs pcb's having the INP_ANONPORT and INP_LOWPORT flags
set, which is useful for netstat(1) to know.
2002-02-27 03:46:36 +00:00
matt 178af24f65 Add a comment to where we increment intr_depth to show that intstk+INTSTK
== intr_depth. (gag)
2002-02-27 03:27:14 +00:00
lukem e16c1d5cbc if not -n and the local socket doesn't have INP_ANONPORT set, always try
to determine the symbolic name of the foreign port.

previously the foreign port would be displayed numerically in this case if
the local & foreign ports were different.  this particular behaviour was
added in rev 1.28 when I added INP_ANONPORT support from FreeBSD, and for
the life of me I can't fathom the rationale for it ;-|
2002-02-27 02:33:51 +00:00
itojun 67e18b650c break long line 2002-02-27 02:21:36 +00:00
kleink ebb0f83c31 Sort. 2002-02-27 02:21:22 +00:00
itojun 1127b80dd3 regress test for sys/crypto assembly code 2002-02-27 02:21:08 +00:00
rafal 929d489997 In _bus_dmamap_sync, only invalidate as much data as there is in the current
segment rather than invalidating the total map length for each segment.
2002-02-27 01:51:48 +00:00
itojun 0f7736565f sync regress test w/ sys/crypto/blowfish change 2002-02-27 01:41:54 +00:00
itojun 2ff9b43758 sync blowfish function prototype between i386 assembly and C.
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
2002-02-27 01:32:17 +00:00
augustss 0357a44190 Avoid a race condition spotted by UCHIYAMA Yasushi <uch@vnop.net>. 2002-02-27 01:30:50 +00:00
christos e8116a8f5b - Use DEV_ constants, instead of documenting the numbers!
- Delete cdev_decl(mm); where appropriate, and other hand-crufting [hi powerpc!]
2002-02-27 01:20:51 +00:00
christos 6b030ee036 - define other DEV_ constants that the local port uses.
- delete cdev_decl(mm) since <sys/conf.h> does it.
2002-02-27 01:19:03 +00:00
christos a5890d9fa8 - add constants for DEV_{MEM,KMEM,NULL,ZERO} only arm is the oddball one using
3 for DEV_ZERO and should be fixed.
- cdev_decl(mm) since all the ports do the same.
- change _mm_ initialization to include ioctl entry point.
2002-02-27 01:17:58 +00:00
christos 61924161d3 Add mm.c 2002-02-27 01:16:30 +00:00
christos 5d823a2299 Start of mi /dev/{mem,kmem,zero,null} driver. We add an ioctl entry, because
we don't want to throw an error when FIONBIO is requested. We also allow
FIOASYNC clear.
2002-02-27 01:16:14 +00:00
jmcneill f876e538ae Add options (commented out) for disabling power hooks on the pms and pmsi
PS/2 mouse drivers.
2002-02-27 00:31:12 +00:00
jmcneill cc72a54933 Add constraints to allow for disabling PS/2 mouse powerhooks. As requested
by Chuck Cranor.

To disable powerhooks with the pms and pmsi drivers, respectively:
  options PMS_DISABLE_POWERHOOK
  options PMSI_DISABLE_POWERHOOK
2002-02-27 00:30:07 +00:00
kleink 5424a781c8 Upon reflection, use hexadecimal values for previous, which make the
segment/block/battable relationship far more obvious.
2002-02-26 23:56:52 +00:00
kleink 4218adb6c2 Move battable entries for I/O to their correct pseudo-segment offsets;
while BAT spills currently don't happen, it should be possible for the
handlers to find them at the expected address anyway.

XXX Why the PCI I/O and Memory spaces are being installed in the iBAT
XXX registers is beyond me.
2002-02-26 23:45:54 +00:00
lukem 9918e3a90e use CLEANFILES as appropriate 2002-02-26 22:54:05 +00:00
lukem 0242a73525 cosmetic cleanup 2002-02-26 22:52:52 +00:00
lukem e1ab92e728 minor whitespace cleanup 2002-02-26 22:52:10 +00:00
eeh 1eb3484425 Fix PR# port-sparc64/13811: PCITAG_SETNODE() is defined using `x' insted of `t'.
from URA Hiroshi
2002-02-26 22:39:14 +00:00
tv 88a892b978 Superseded by src/tools/toolchain/mknative. 2002-02-26 22:32:21 +00:00
tv 980f1f32fc Complete the mknative method of creating the toolchain metainformation
files.  This version is capable of generating these files Properly from
a cross host (subject to having tools and target libs/includes available
ahead of time; to be documented).
2002-02-26 22:31:59 +00:00
tv 3cf9139573 When configured via mknative, G_HOST_* filenames are prefixed with "l-".
Strip the prefix.
2002-02-26 22:30:46 +00:00
tv 259a2ab95f Add some more bits of host compatibility. 2002-02-26 22:29:38 +00:00
tv a616862da1 Remove the "-j1" hack. This needs to be fixed better. For now, -j is
disabled at the top level anyway, making this extra hack unnecessary.
2002-02-26 22:27:11 +00:00
tv b2ec8a78fc NEW_PIPE is no longer a configurable option (there's only PIPE_SOCKETPAIR,
inverted logic).
2002-02-26 21:44:29 +00:00
kleink 80f8e27ae5 Bring pseudo terminal devices' major numbers in sync with reality again. 2002-02-26 21:13:32 +00:00
tv 66c4fd196e Make hconfig.h common as simply a redirect to config.h; these are
identical on a native build.  (Simplifies mknative for generating the
arch-dependent bits.)
2002-02-26 20:56:29 +00:00