Commit Graph

90360 Commits

Author SHA1 Message Date
jdolecek b3adaffa36 make sure string_table is initialized to NULL in read_shstring_table(),
so that NULL is returned if .strtab is not found
2002-01-03 21:45:58 +00:00
mjacob d9a0044d29 Implement REDUCED INTERRUPT OPERATION usage for FC cards- this allows the
firmware to delay completion of commands so that it can attempt to batch
a bunch of completions at once- either returning 16 bit handles in mailbox
registers, or in a resposne queue entry that has a whole wad of 16 bit handles.

Distinguish between 2300 and 2312 chipsets- if only because the revisions
on the chips have different meanings.

Add more instrumentation plus ISP_GET_STATS and ISP_CLR_STATS ioctls.
Run up the maximum number of response queue entities we'll look at
per interrupt.

If we haven't set HBA role yet, always return success from isp_fc_runstate.
2002-01-03 21:45:06 +00:00
tv f5a9d4e145 Don't end up with a "rm -f" statement with no args. Fixes toolchain/15074. 2002-01-03 19:11:17 +00:00
augustss 7528be111a Xref ustir(4). 2002-01-03 19:02:54 +00:00
augustss 0b73fe424f Add ustir(4). 2002-01-03 19:01:19 +00:00
augustss f1ee77f0c3 Add USTIR_DEBUG. 2002-01-03 18:57:36 +00:00
augustss 51b2c397c3 Add ustir. 2002-01-03 18:56:40 +00:00
augustss eb62bf638c Add the ustir driver, for SigmaTel STIr4200 USB/IrDA Bridge.
Written by David Sainty <David.Sainty@dtsp.co.nz>.
2002-01-03 18:54:31 +00:00
tron a86fbba5c1 Add "case" statements for "NTSPEC" to fix "gcc" warnings. 2002-01-03 18:50:54 +00:00
augustss 1270a85dc7 Add ustir(4) man page. 2002-01-03 18:29:33 +00:00
augustss 337873b59a Make flag parsing work. Print more capabilities. 2002-01-03 18:23:09 +00:00
augustss d083e37f0b Add \n in attach messages. 2002-01-03 18:13:19 +00:00
wiz 0042317848 Fix a typo, and improve grammar. 2002-01-03 16:58:04 +00:00
tv fe9dd95fc6 Remove stray diagnostic "echo". 2002-01-03 16:47:08 +00:00
tv b6ed0d753c * Honor BUILD on "make install" (will do "make all" first).
* Make "make all" update the .build_done timestamp more intelligently;
  if no files changed in the build tree, don't touch the timestamp.
  (This allows UPDATE and BUILD to function correctly.)
2002-01-03 16:45:18 +00:00
tv ff6a46630e * Now that src/share/tmac no longer uses absolute paths, nuke the sed
transform.

* Use a .USE rule for the tmac installation (reduce redundancy).

* Suppress spurious messages from "cmp".
2002-01-03 16:38:50 +00:00
tv e53be948f7 Use groff's ".mso" to find tmac files in /usr/share/tmac, rather than
hardcoding a path.  (This allows these files to be relocated easily.)
2002-01-03 16:30:16 +00:00
tron d3de7d0eb7 Reference variable "ap" in lint dummy code to avoid warning about
unnecessary assignment.
2002-01-03 16:13:11 +00:00
mrg 9191aacdb4 regen 2002-01-03 15:30:08 +00:00
mrg 5d231c5624 ooops, socket() and socketpair() need args now. 2002-01-03 15:28:43 +00:00
mrg fa38881ffa fix error in previous; pointed out by andrew brown. 2002-01-03 15:28:13 +00:00
shin a3df8955eb remove redundant option 2002-01-03 11:28:12 +00:00
shin 2eb7728600 ignore romboot and romboot.bin 2002-01-03 11:27:48 +00:00
shin d270437597 change max kernel size from 3MB to 6MB. 2002-01-03 11:23:29 +00:00
shin 238556cca6 fix typo. 2002-01-03 11:22:17 +00:00
martin 6db2d4b116 Back out previous change - turns out to be a sparc64 toolchain problem
(surprise!)
2002-01-03 11:22:07 +00:00
pk 6e7a0c937f Fix symlink example in netboot section (PR#14809). 2002-01-03 07:56:42 +00:00
mrg 3f49c27162 clean up 2002-01-03 06:43:23 +00:00
cgd 6d4088dbde Convert this code to use read/write rather than mmap followed by read
into the mmap'd region.  (reviewed by thorpej.)

This is done to facilitate use as a host tool on not-necessarily-NetBSD
host systems.  Specifically, it works around problems discovered on
linux (mostly tested on 2.4.2-smp / RH 7.1, but also seen on other
variants) in which mmap(...MAP_SHARED...) on NFS files doesn't work
properly:

74 [hardy] RAMDISK.EB % uname -a
Linux hardy 2.4.2-2smp #1 SMP Sun Apr 8 20:21:34 EDT 2001 i686 unknown
75 [hardy] RAMDISK.EB % cat /etc/issue

Red Hat Linux release 7.1 (Seawolf)
Kernel 2.4.2-2smp on a 2-processor i686

76 [hardy] RAMDISK.EB % df .
Filesystem           1k-blocks      Used Available Use% Mounted on
fs:/home/cgd
                     104857600  98764968   6092632  95% /home/cgd
77 [hardy] RAMDISK.EB % date ; md5sum netbsd
Thu Dec 27 17:31:41 PST 2001
a1f35f085f130983892933df92d23be4  netbsd
78 [hardy] RAMDISK.EB % nbmdsetimage netbsd ~/proj-local/rd
79 [hardy] RAMDISK.EB % date ; md5sum netbsd
Thu Dec 27 17:31:49 PST 2001
740cbfb0a8432b7d3a6bf3421655e270  netbsd
80 [hardy] RAMDISK.EB % date ; md5sum netbsd
Thu Dec 27 17:31:51 PST 2001
a8c60aae879ead6893f074e83c23d70a  netbsd
81 [hardy] RAMDISK.EB % date ; md5sum netbsd
Thu Dec 27 17:31:54 PST 2001
a8c60aae879ead6893f074e83c23d70a  netbsd
82 [hardy] RAMDISK.EB % date ; md5sum netbsd
Thu Dec 27 17:31:55 PST 2001
a1f35f085f130983892933df92d23be4  netbsd
83 [hardy] RAMDISK.EB % date ; md5sum netbsd
Thu Dec 27 17:31:57 PST 2001
a1f35f085f130983892933df92d23be4  netbsd
84 [hardy] RAMDISK.EB %

("isn't that cool?")
2002-01-03 06:21:47 +00:00
thorpej c5e919f6c9 Make sure the tspec_t enum starts at 0, and declare NTSPEC in
the enum proper.
2002-01-03 05:37:39 +00:00
thorpej 43b6b4ca49 Need ibm561.c for TGA. 2002-01-03 05:35:31 +00:00
rafal e444b1434a Regen (added Rainbow Technologies & Rainbow's CryptoSwift 200). 2002-01-03 05:27:39 +00:00
thorpej c73e79666d Simplify test for integer types in the BITFIELDTYPE handling path. 2002-01-03 05:26:53 +00:00
rafal cee4ea6496 Add Rainbow Technologies vendor ID & Rainbow CryptoSwift 200 PKI accelerator
(CS200/PCI).
2002-01-03 05:25:48 +00:00
briggs 6b6638f488 Due to a typo, the kernel and user counters were getting swapped. Make
sure that they are not, so kernel events are reported as kernel events,
and user events are reported as user events.
2002-01-03 05:04:52 +00:00
mbw a506aacc6d tv@netbsd says that the desired behavior for macppc is for de to be default
for DEC-based chips, and to have tlp available for tulip clones.  The change
in GENERIC is such that TLP_MATCH options are commented out (allowing de to
attach to DEC-based chips), and change in is INSTALL such that de is present
and TLP_MATCH options are commented out.

The addition of de in INSTALL increases its compressed size by about 17 KB.

Primarily the goal is to have INSTALL and GENERIC use the same device.
This will fix PR port-macppc/10779.

It has been tested with the 1.5.3_ALPHA GENERIC and INSTALL kernels on my
PowerMacintosh 7300 with a 21140A (now de, previously tlp) and a
Lite-On 82C115 (tlp).

de0 at pci0 dev 15 function 0
de0: interrupting at irq 25
de0: Asante 21140A [10-100Mb/s] pass 2.2
de0: address 00:00:94:a4:03:35
de0: enabling 10baseT port

tlp0 at pci0 dev 14 function 0: Lite-On 82C115 Ethernet, pass 2.5
tlp0: interrupting at irq 24
tlp0: Ethernet address 00:00:94:b6:16:ef
tlp0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX
2002-01-03 04:34:21 +00:00
thorpej ac0867dd40 Add BITFIELDTYPE lint comments where we need to use u_int64_t bitfields. 2002-01-03 04:28:31 +00:00
thorpej 9971ed0315 * Add header files (ilp32.h and lp64.h) that describe the two
models of type sizes that we currently support, and include
  the appropriate one in each arch's targparam.h.
* Use the type size constants provided by targparam.h in the
  type table, rather than using "sizeof(type) * CHAR_BIT" (which
  would get the host's type size, not the target's).  XXX Not
  yet done for floating point types.
* Add a new BITFIELDTYPE lint comment that suppresses illegal
  bitfield type errors if the type is an integer type (e.g.
  long, long long), and also suppresses non-portable bitfield
  type warnings.
2002-01-03 04:25:14 +00:00
mbw 3e4181fb80 Medium-scale overhaul.
macppc/hardware
Forgot to put PowerComputing PowerCenter in list of models that can't use
 on-board video

macppc/prep
Reword four-key-combo c-o-O-F to imply you need to hold all four down
 until the 0 > prompt appears, also a better description of the keys
shuffle System Disk instructions around a little to make more sense
Fix BootVars instruction to "uncheck auto-boot?"
Change '.Dl 0 \*> Ic "..."' to '.No 0 \*> Ic "..."' surrounded by .(disp
Link to new FAQ entries (such as how to use the Open Firmware environment
 and instruction for people unfamiliar with MacOS)
Describe how to prepare an MS-DOS filesystem for booting
Be more consistent about "ISO9660"
The NetBSD/macppc boot CD-R image has "partition zero" bootloader and
 XCOFF bootloader to work on all models -- this is described better now
Better info on how to netboot OF 1.0.5 systems
Mention that UFS is not currently supported by NetBSD and MacOS < 10
Detab the dhcpd.conf example
Add .To 2 tags for preparation of bootable media subsections

macppc/install
Change '.Dl 0 \*> Ic "..."' to '.No 0 \*> Ic "..."' surrounded by .(disp
Added new and very very useful "Open Firmware boot syntax" section
 describing how to determine the OF boot-device and boot-file
Clean up examples of boot commands
Update descriptions of booting problems (some were incorrect)
Add .To 2 tags for OF boot command subsections and common problems
2002-01-03 03:52:14 +00:00
mbw 8c02b254fc common/main
tweaks to the "Quick install for the impatient", particularly changing the
 recommendation to MS-DOS floppy with bootloader and kernel instead of
 boot floppy image

common/sysinst
add .To 2 tags for macppc-specific sections

common/postinstall
change tlp0 to de0 in description of typical ethernet interface
2002-01-03 03:32:10 +00:00
mrg 5d06ed3c94 move sparc specific ioctl handling (fb & openprom) into arch/sparc64. 2002-01-03 02:29:39 +00:00
thorpej 4eef3278dc Add casts to the __lint__ version of va_arg() to avoid dereferencing
non-pointer arguments in cases like: foo = *va_arg(ap, int *);
2002-01-03 02:05:42 +00:00
thorpej bd95f88c7d Define __BIT_TYPES_DEFINED__. 2002-01-03 01:58:58 +00:00
thorpej 8873902707 Make gcc 3.1's preprocessor happy with the __lint__ va_end(). 2002-01-03 01:56:52 +00:00
thorpej 9e65d921df Don't assign semun if __lint__. 2002-01-03 01:55:49 +00:00
thorpej 7efc72e894 Only use __builtin_va_list if __GNUC__. 2002-01-03 01:37:20 +00:00
mrg d6328a8778 fix previous: actually remove the COMPAT_SUNOS code, not just #if 0 it. 2002-01-03 01:16:02 +00:00
aymeric 6b2ea61c0c When we jump to the absolute address of the next instruction, we have to
export the label we use for that purpose, otherwise, that smart gas will
change it to a relative jump, which does basically nothing.

I can finally boot NetBSD/amiga ELF. (Yippee!)

While there, test if we are a 68851 before we invalidate the TLB,
instead of doing it between the TLB flush and the data cache flush.
2002-01-03 01:13:35 +00:00
mrg af640de164 move the COMPAT_SUNOS SO_BROADCAST hack out of uipc_socket.c into the
compat/sunos code.  besides being cleaner this allows the sunos LKM
to properly work without any special kernel hacks.
2002-01-03 00:59:00 +00:00
thorpej 3797a3f56f Remove x86-64 "nolint" hack. 2002-01-02 23:58:18 +00:00