Commit Graph

62034 Commits

Author SHA1 Message Date
cjs 3ec9dae179 1800k is not big enough, so make it 1920k. (Though I'm not sure that making
this larger is the solution we're looking for.) And make it actually work
with a larger size, rather not using the extra space we've allocated due
to not changing the geometry we disklabel it with. Do we even need to give
this a disk-like geometry, especially if it's a `floppy' with more tracks
than a real floppy has?
2000-03-08 06:08:37 +00:00
cjs cb61b13f55 When you type `make obj', make obj dirs in distrib whether or not you
have MKOBJDIRS variable set.
2000-03-08 00:50:05 +00:00
mjl 323d451587 Added details about origin of code (BSD/OS) in history section.
Closes PR/9410 by Peter Seebach.
2000-03-08 00:02:54 +00:00
mhitch 0641e677c4 Using interrupt bits in a switch statement doesn't work very well if more
than one interrupt bit is set (unless you do some fancy case values).
Check each interrupt bit individually and process the interrupt if set.
5000/200 doesn't hang shortly after booting now.
2000-03-07 23:41:35 +00:00
jdolecek ee46e8d74a make the #ifdef __LIBC12_SOURCE__ consistent with usage in <signal.h>
and <sys/stat.h>
Fixes misc/6520.
2000-03-07 21:12:37 +00:00
agc 56d283540f When adding a group, check that it doesn't already exist.
Also fix a problem with reading entries when modifying a group.

Both problems found and analysed by Thomas Klausner.
2000-03-07 20:56:45 +00:00
veego 70b32a2849 Remove unused libahdi.
It will be replaced in the future with a more generic libdisklabel.
2000-03-07 20:54:57 +00:00
jdolecek a519c15410 Ignore SIGPIPE, otherwise we might be stuck when run within a pipe.
Fix from bin/5359 by Nathan J Williams.
2000-03-07 20:02:59 +00:00
kleink 4c3c49ae8b Make lint happy about long long integers. (C99 mode for lint, anyone?) 2000-03-07 20:02:00 +00:00
kleink 1e9ca23a0d Typo. 2000-03-07 19:40:54 +00:00
kleink ad7dbd825c Define ISO C99 (unsigned) long long (min, max) symbols. 2000-03-07 19:33:00 +00:00
kleink 0c7df56c40 Define ISO C99 (unsigned) long long (min, max) symbols.
VS: ----------------------------------------------------------------------
2000-03-07 19:31:50 +00:00
kleink a9ebf7bb8c Define ISO C99 (unsigned) long long (min, max) symbols. 2000-03-07 19:31:49 +00:00
jdolecek 5aa5c9fa83 Add a note about what and where is printed for 'scan' command.
Addresses bin/9227 by <johnr@spimageworks.com>
2000-03-07 19:27:11 +00:00
groo af00b7b880 split probe into generic and bus specific 2000-03-07 18:39:14 +00:00
tsubai dfa4c86f40 Correct cd* minor number. 2000-03-07 18:24:16 +00:00
groo 327c7e4af9 add lm0 to 'all' target 2000-03-07 17:55:06 +00:00
tsutsui 56423f59aa Use b_cylinder as defined in sys/buf.h. 2000-03-07 15:59:24 +00:00
tsutsui d16c6f3272 Use DISKPART/DISKMINOR/DISKUNIT instead of dkpart/dkminor/dkunit. 2000-03-07 15:55:14 +00:00
tsutsui d9d840d522 - Remove unnecessary prototype declaration of readdisklabel().
- Use DISKPART/DISKMINOR/DISKUNIT instead of dkpart/dkminor/dkunit.
2000-03-07 15:35:42 +00:00
jdolecek 020a8ac5b2 make clearing of /tmp after reboot configurable (default on), as per recent
discussion on current-users
2000-03-07 14:33:13 +00:00
jun d26f8fbcde Warner Losh reports to port-hpcmips,port-hpcmips-ja@jp.netbsd.org
Everex A-10
	    main memory 4M  too tight for living
	    main memory20M  live in peace
2000-03-07 14:24:59 +00:00
enami 1d82270b8c - For root, if ignorenologin is set in login.conf, don't call
checknologin (previously, checknologin is called if ignorenologin is set).
- For non-root user, make ignorenologin take effect.
2000-03-07 14:11:22 +00:00
enami 6dccad067d Cosmetic changes. 2000-03-07 13:59:19 +00:00
haya 4398e0bd07 Fix CardBus device number. Though CardBus device number should be 0,
the value of bridge's function number was assigned to the device
number.
2000-03-07 09:36:52 +00:00
pk 20bea9cdbc Bump image size by 1MB. 2000-03-07 08:41:35 +00:00
scottr 6755970bcf Low-level drivers, like the Power Manager driver, can get us into a major
funk when they misbehave and give us unexpected results.  Specifically:

 - Don't assume that the first free slot is at the top of the table if
   we can't find one.
 - Don't increment ADBNumDevices when backfilling "holes" left by devices
   that didn't respond to a TALK R3 during the initial device scan.
 - Don't assume that an address reassignment worked; make sure something
   responds on the new address before plowing forward.
 - If after device reassignment there are no free slots, make sure to
   indicate this fact.
 - Failing all else, handle the situation where we run out of slots in
   the device table -- which now should "never" happen -- gracefully.

While the Power Manager driver still sometimes misbehaves, it shouldn't
cause the system to crash/hang due to us walking off the end of the
device table.
2000-03-07 06:35:22 +00:00
thorpej d315d42657 Back out part of 1.104 which isn't actually needed. 2000-03-07 05:39:57 +00:00
mycroft 5a212f7999 Fix a splx() botch or two. 2000-03-07 04:58:35 +00:00
shin 5913106c36 add '%INCLUDES'. 2000-03-07 04:17:27 +00:00
enami c1b54794fc Add missing `cnt++'. 2000-03-07 03:37:39 +00:00
enami 7ce8a9f46b Also, fix indentation in previous commit. 2000-03-07 03:34:52 +00:00
oster 7c57ac56d7 Cleanup a couple of function declarations. No functional changes. 2000-03-07 03:09:47 +00:00
imp 64d1b1dbe8 Add Everex Freestyle A-10 to the supported list. Mine now boots. 2000-03-07 03:03:29 +00:00
oster 51ffb0924c Create a new rf_close_component() to handle vnode operations for closing
components.  Teach rf_UnconfigureVnodes() how to use it, and tell
the copyback and reconstruction code about it too.
2000-03-07 02:59:50 +00:00
oster ddebc1cad0 Move rf_UnconfigureVnodes to rf_netbsdkintf.c where it will be more at home.
Add prototype to rf_kintf.h, and nuke old prototypes from rf_disks.c and
rf_driver.c .
2000-03-07 02:28:05 +00:00
oster 33a55d022b rf_ protect the component label print routine, and make it more easily
available to the rest of RAIDframe.
2000-03-07 02:12:13 +00:00
oster dbf5d1f7a6 Nuke unused code. 2000-03-07 01:54:29 +00:00
soren dfaacf6eab Fix bug in previous. 2000-03-07 01:08:55 +00:00
thorpej 8f8714687b Reenable the code that clears SLEEP and SNOOZE from the CFDA register. 2000-03-07 01:08:47 +00:00
soren 6cc1408bca Only print SROM size if TLP_DEBUG. 2000-03-07 01:06:12 +00:00
soren 2f1aff2da3 Garbage collect MIPS_SR_INT_ENAB/MIPS_SR_INT_ENA_CUR definitions. 2000-03-07 01:05:48 +00:00
mycroft 4887635a10 A few things:
* Take advantage of the tulip_read_srom() changes.
* Don't frob the so-called `CFDA' register.  We're really looking for the
  PMCSR, which is in a different location anyway.
* Don't panic if we detach an interface for which we never called tlp_attach().
2000-03-07 00:43:36 +00:00
mycroft 5eee9ca94c Determine the size of the SROM by probing the chip using the standard Microwire
protocol.  Eliminates the need for srom_quirks and some other trash.
2000-03-07 00:39:17 +00:00
mycroft 064b1bd2e9 Fix obvious typo. 2000-03-07 00:33:13 +00:00
mycroft 8b13d21260 Do a CARDBUS_BM_ENABLE to be sure. 2000-03-07 00:32:52 +00:00
mycroft de8398315a Fix an obvious bug that caused I/O space to never be freed.
Also, don't use rbus_space_free() directly.
2000-03-07 00:31:46 +00:00
mycroft bcdcb370e5 Called the power function even for 5V cards. This at least gives the power
a chance to stabilize before we frob the card.
2000-03-07 00:30:57 +00:00
matt ebbd936b2c Chnage chip freq to 25MHZ. panic if dmaaddr is not in the kernel's
address space.  fix some printfs.  (reads now work!)
2000-03-07 00:08:42 +00:00
matt 10f359a6b5 clear the sgmap that was allocated 2000-03-07 00:07:16 +00:00