Commit Graph

56116 Commits

Author SHA1 Message Date
thorpej
0bd09380a2 Oops, Macronix MX98713A doesn't have GPIO direction bits in the SROM
because it doesn't have a GPIO port (CSR12 is the `10baseT status'
register on this chip revision).
1999-09-28 21:56:45 +00:00
ad
a14ea316bd Typos. 1999-09-28 18:36:33 +00:00
thorpej
c98787207b Add Megahertz Ethernet/Modem combo card goo. 1999-09-28 18:07:29 +00:00
thorpej
b5a2d37e04 Add a driver for the Megahertz Ethernet/Modem combo cards, e.g. XJEM3336.
This supplies an attachment of the `sm' and `com' drivers.

Thanks to Chuck Cranor for sifting through the Linux smc91c92_cs.c driver
to find the magic sequence that brings the Ethernet portion of the card
on-line!
1999-09-28 17:58:55 +00:00
thorpej
9103e43937 Don't handle the Megaherz XJEM3336 here. 1999-09-28 17:57:03 +00:00
thorpej
cca601b9b2 Make sure the Revision register contains the correct magic number.
From Chuck Cranor.
1999-09-28 17:55:33 +00:00
enami
ee587c6c18 s/#define /#define<TAB>/. 1999-09-28 15:10:20 +00:00
bouyer
3e19888633 Note that proc.<pid>.corename susctl node is read-only at securelevel >= 2. 1999-09-28 14:56:04 +00:00
bouyer
d406538de6 xref sysctl(8) (for proc.<pid>.rlimits) 1999-09-28 14:54:41 +00:00
bouyer
eac2fbdb83 Add support for $defcorename 1999-09-28 14:53:17 +00:00
bouyer
510907ed01 Document CTL_PROC, the core filename format it core(5), and xref sysctl(8),
sysctl(3), core(5) in various place.
Document 'options DEFCORENAME' inj options(4) and $defcorename in rc.conf(5).
1999-09-28 14:52:32 +00:00
bouyer
1679d2b98e Add handling of the proc hierarchy. Document it, as well as kern.defcorename. 1999-09-28 14:48:48 +00:00
bouyer
52497e180a Remplace kern.shortcorename sysctl with a more flexible sheme,
core filename format, which allow to change the name of the core dump,
and to relocate it in a directory. Credits to Bill Sommerfeld for giving me
the idea :)
The default core filename format can be changed by options DEFCORENAME and/or
kern.defcorename
Create a new sysctl tree, proc, which holds per-process values (for now
the corename format, and resources limits). Process is designed by its pid
at the second level name. These values are inherited on fork, and the corename
fomat is reset to defcorename on suid/sgid exec.
Create a p_sugid() function, to take appropriate actions on suid/sgid
exec (for now set the P_SUGID flag and reset the per-proc corename).
Adjust dosetrlimit() to allow changing limits of one proc by another, with
credential controls.
1999-09-28 14:47:00 +00:00
kleink
bb54953b63 Since the Audio 1 DMA controller implements the 24 low address bits only,
add the gross hack originally implemented by Charles Hannum in the SonicVibes
driver to force allocation of DMA memory for that channel through the Scatter-
Gather Map to get an address range that fits in.

The eso driver now works on Alphas except for DWLPX-based systems, whose owners
are not likely to desire audio or likely can afford slightly less cheap audio
hardware.  :-)
1999-09-28 13:57:45 +00:00
enami
2230805f45 Add missing backslash. 1999-09-28 09:57:35 +00:00
ad
2bfc794dfa Manpage for 'dpt' driver. 1999-09-28 09:24:05 +00:00
ad
21a6ff6082 - Wait up to 2 seconds for HBA ready before executing CP_PIO_GETCFG
- Remove some unneeded memset() calls and assignments
- Fix comment on dpt_done_ccb()
1999-09-28 09:18:00 +00:00
lukem
6c997b7af6 revert snprintf() -> sprintf(). the original idea was that sprintf() would be
more portable, except that certain systems have char *sprintf() instead of
int sprintf(). (we'll provide snprintf() on those)
1999-09-28 09:12:06 +00:00
kleink
30ae96c534 Oops, missed these in the mcount -> __mcount renaming. 1999-09-28 08:27:08 +00:00
nisimura
de20527da0 Forgot to commit an important change for bus_space/bus_dma. 1999-09-28 08:05:42 +00:00
lukem
f3f34df069 don't fudge out the stalltime when calculating the ETA. this means that the
ETA might be over and will appear to drop rapidly, rather than being under
and appear not to change. the original code makes sense when you're testing
by suspending & resuming the client. however, the unfudged number is probably
better in reality, especially for slow spurty networks.

requested by ITOH Yasufumi <itohy@netbsd.org> in [bin/7977]
1999-09-28 07:54:01 +00:00
lukem
8c29ac4ade remove debugging cruft 1999-09-28 07:51:05 +00:00
lukem
256fc138f1 * add new commands:
lpage	page local files
	pdir	as dir, but through your $PAGER
	pls	as ls, but through your $PAGER
* implement docase() (a la dotrans() et al) and use appropriately, rototilling
  some duplicated code
* globulize(): modify to return a pointer to the strdup()ed result in all cases,
  and hack the code that calls it to take this into account
* replace strcpy() and strncpy() with strlcpy()
* put(), getit(): use some aptly named local vars instead of argv[...]
* delint
1999-09-28 06:47:38 +00:00
jdolecek
3ff26c418a ntfs_ntvattrget(): move duplicated code to separate function
ntfs_findvattr(), AALPCMP --> NTFS_AALPCMP, avoid excessive
	intendation, fix debug printf when the attribute is not found
	to print only first namelen characters of name
some minor KNF and const poisoning
ntfs_ntlookupattr(): make it static, collapse duplicated code
ntfs_ntlookupfile(): avoid memory leak, explicitly set error to 0 when
	returning success
kill some bogus comments
1999-09-28 06:10:31 +00:00
jdolecek
3b49d9759d actually call ntfs_toupper_init() from ntfs_init() 1999-09-28 05:44:21 +00:00
simonb
60f2775a8e Fix incorrect comment. 1999-09-28 02:26:35 +00:00
lukem
d7eb991a65 xref strlcpy & strlcat 1999-09-28 02:15:07 +00:00
ad
c62af9270a Note DPT controllers as needed. If it looks like a stripped down GENERIC,
it gets it.
1999-09-27 23:59:50 +00:00
ad
1f8abac40a scsibus* at dpt? 1999-09-27 23:49:07 +00:00
ad
f653cce944 Regen. 1999-09-27 23:46:56 +00:00
ad
94367db635 s@SmartCache/Raid@SmartCache/SmartRAID@ 1999-09-27 23:45:57 +00:00
ad
a289fc5023 Add glue for 'dpt' driver. 1999-09-27 23:44:27 +00:00
ad
48a0b6237a A driver for DPT EATA SCSI adapters. dpt.c contains a brief TODO list. 1999-09-27 23:41:47 +00:00
lukem
002c3f9216 * idle(): rename to idlecmd(). certain linux distributions have an incompatible
prototype for idle() in <unistd.h> (which i thought was against namespace
  and sensibility guidelines, but...)
* consistently use xsignal() instead of signal(). we get known behaviour
  in all cases (SA_RESTART), which is good for some borken foreign systems.
* remove signal.h from most files; it's unnecessary now
* fetch_url(): use `long chunksize' instead of ssize_t; it's more portable, and
  we're setting chunksize with strtol() anyway
* xsignal(): only use SA_RESTART if it exists. SunOS 4.x doesn't have it
  but has the inverse (SA_INTERRUPT). the original function i was inspired
  from had this support (lib/signal.c, W. Richard Stevens' `UNP 2nd ed Vol 1').
* remove <termios.h> from util.c; it should be unnecessary now
1999-09-27 23:32:31 +00:00
enami
bb03434a5f Support Planex Communications Inc, FNW-3600-T. 1999-09-27 23:19:12 +00:00
lukem
70c01ac44a * idle(): rename to idlecmd(). certain linux distributions have an incompatible
prototype for idle() in <unistd.h> (which i thought was against namespace
  and sensibility guidelines, but...)
* consistently use xsignal() instead of signal(). we get known behaviour
  in all cases (SA_RESTART), which is good for some borken foreign systems.
* remove signal.h from most files; it's unnecessary now
* fetch_url(): use `long chunksize' instead of ssize_t; it's more portable, and
  we're setting chunksize with strtol() anyway
* xsignal(): only use SA_RESTART if it exists. SunOS 4.x doesn't have it
  but has the inverse (SA_INTERRUPT). the original function i was inspired
  from had this support (lib/signal.c, W. Richard Stevens' `UNP 2nd ed Vol 1').
* remove <termios.h> from util.c; it should be unnecessary now
1999-09-27 23:09:42 +00:00
enami
488eb98613 Regen. (btw, this typo was pointed out by kawamoto@es.osaka-u.ac.jp). 1999-09-27 22:58:56 +00:00
enami
f419b27fb3 Oops, s/FMW/FNW/g. 1999-09-27 22:57:26 +00:00
mjl
d6634fdb48 Mention "-" is the same as "-l". Closes PR/8499 by Matthew Aldous. 1999-09-27 19:41:33 +00:00
mjl
4c5c12b3f0 Mention -c option to sh(1), noticed by Matthew Aldous in PR/8499. 1999-09-27 19:34:25 +00:00
thorpej
a5649fe4d5 Initial support for 21140[A] GPR media. 1999-09-27 19:14:01 +00:00
thorpej
848d8b7080 Add a media name pointer to the tulip_2114x_media structure, and define
a table for converting SROM media block type codes to ifmedia subtypes.
1999-09-27 19:03:59 +00:00
thorpej
1f0fa59202 - Define more "selected connection type" bits for the ISV SROM.
- Define ISV SROM bits for 21140[A] GPR media.
- Define a bitmask which includes media-related bits in the OPMODE
  register.
1999-09-27 19:02:50 +00:00
jdolecek
945fe691ae Move symlink.7 to share/man/man7/, where it belongs 1999-09-27 17:44:49 +00:00
wrstuden
25faa820de Add support for reading MacOS-partitioned disks. Stolen from the mac68k
port, but modified in that macppc searches for netbsd-partitioned disks
before MacOS partitioned disks, since installboot generates a fake MacOS
partition table which isn't the one we want to use.
1999-09-27 17:02:43 +00:00
kleink
4b8ee1f7d2 Move {XOPEN_SHM} from Commands & Utilities to System Interfaces. 1999-09-27 16:27:12 +00:00
kleink
c13a492388 1003.1c: add {LOGIN_NAME_MAX}. 1999-09-27 16:24:39 +00:00
leo
c9448b002c Specify the major number of the md-device. Otherwise config(1) won't emit
a dev_name2blk enrty for the RAM-disk. This made the installation procedure
unusable.
1999-09-27 14:32:17 +00:00
kleink
0b9965d236 For ELF, rename the profiling entry from mcount to __mcount to avoid clashing
with the user's namespace, also within file scope; for binary compatibility,
define a weak alias for the previous name to cover our tracks.
1999-09-27 09:47:44 +00:00
tsubai
a4c71cd136 Include machine/cpu.h. 1999-09-27 08:47:56 +00:00