Commit Graph

129951 Commits

Author SHA1 Message Date
thorpej 8eaae3f96b Eliminate some gratuitous spl frobbing in atabus_thread(). 2004-08-21 00:48:32 +00:00
jdolecek 3f3fa2cf55 apparently boot-ps2 overflowed, so refer to boot-ps2-1.fs and boot-ps2-2.fs here 2004-08-21 00:36:29 +00:00
thorpej 335b799580 atastart() (called only at splbio(), and from interrupts) can change
drive_flags, to make sure all drive_flags manipulations are done at
splbio().
2004-08-21 00:28:34 +00:00
hubertf b0d8762c07 * Mention language selection
* Remove mentions of old releases
 * More details how to drop into ddb
 * Try to mention booting from CD instead of floppies on i386
 * Mention mbrlabel(8) to get existing MBR partitions into a disklabel
 * Default disklabel name doesn't seem to be "mydisk" any longer
   (judging by this week's installation of 2.0_BETA/i386)
 * Mention that DHCP will be offered

Todo:
 * Enter size of extracted sets w/o X and of X sets (done for 2.0/i386)
   (Portmasters?)
2004-08-21 00:20:07 +00:00
thorpej 2aaf643e25 - atabus_detach(): Manipulate ch_flags at splbio().
- ata_reset_channel(): Assert that we're at splbio() when called.
- Sprinkle some comments about functions that must be called at splbio().
2004-08-20 23:50:13 +00:00
thorpej 4af8216045 WDC_DIAGNOSTIC -> ATA_DEBUG 2004-08-20 23:36:52 +00:00
thorpej e975b9caee - Add an (*ata_reset_channel)() member to ata_bustype.
- Add an ata_reset_channel() function that performs the common parts
  of resetting an ATA channel, which uses the (*ata_reset_channel)()
  callback to do the heavy lifting.  Adjust callers to use ata_reset_channel()
  instead of wdc_reset_channel().

This removes the last wdc-specific code from ata.c!
2004-08-20 23:26:53 +00:00
hubertf e09640d6eb * Some wording fixes, move some text where it belongs
* document what netbsd-GENERIC_DIAGNOSTIC is
 * i386: the X-server most likely wanted is XFree86
 * sparc* ship Xvfb in the xserver set, not Xprt
 * no split sets, not even on i386. For now(?)

Todo:
 * Where is the 2.0 amd64 snapshot on releng.netbsd.org ?!?
 * Portmasters, update your kernels and other MD stuff in here!
 * Set sizes need updating (automation?!? or remove them?)
2004-08-20 22:26:38 +00:00
thorpej bd165f8e47 Use ANSI function decls for atabus open/close/ioctl. 2004-08-20 22:26:23 +00:00
thorpej c5adb42199 wdcreg.h is not needed here any more. 2004-08-20 22:19:00 +00:00
thorpej 56e2a255b5 Move common parts of attaching an ata_channel to a new ata_channel_attach()
function.
2004-08-20 22:17:06 +00:00
thorpej 3234a02f48 Move atabusconfig() to ata.c. 2004-08-20 22:02:40 +00:00
nathanw 8b1b7c1c67 Check DDB before KGDB; if both are enabled, it's more useful to go to
DDB, because you can get to KGDB from there, but not the other way
around.
2004-08-20 21:38:35 +00:00
nathanw 584b896885 Nothing's wrong with having DDB and KGDB in the same kernel. 2004-08-20 21:33:57 +00:00
hubertf ce610d90f3 CD-ROM -> CD-ROM / DVD
While there, capitalize list of install media (nfs->NFS, ...).
Tested on 2.0.
2004-08-20 21:23:08 +00:00
thorpej 51c34ebedf In ata_get_params(), use the (*ata_exec_command)() available from the
ata_bustype rather than using wdc_exec_command() directly.
2004-08-20 20:53:20 +00:00
hubertf c83a5702e4 Remove documentation for updating - there's an own section for this (!?!) 2004-08-20 20:52:36 +00:00
thorpej 2606542c7b - Add an atac_bustype_ata member to atac_softc to hold a pointer to
the ata_bustype for the controller.  Fill it in and use it instead
  of referencing wdc_ata_bustype directly.
- Add an atac_atapibus_attach member to atac_softc to hold a pointer
  to the function that attaches the ATAPI bus for the controller.  Fill
  it in and use it instead of referencing wdc_atapibus_attach directly.
2004-08-20 20:52:31 +00:00
hubertf 8bff586af3 Update for 2.0:
* Fix a few paths and grammar
 * VAX can install from CD-ROM (mmm, simh-vax :)
 * Add note to unzip inst.fs.gz file before using, on x68k
   (XXX someone please check!)
 * properly .if the region about floppy being allowed to be write-protected
   (seems not applicable to x68k by the comments)
 * Add a few likely places where the distribution is on CD-ROMs
 * Mention that DHCP is an alternative to remembering IP-numbers
 * Update list of available IDE drives to four (wd[0-3]) and
   five SCSI disks (sd[0-4]).
   XXX please review for hp300, pmax, sgimips, sparc, sparc64 and
       maybe remove the ".if!" above that paragraph
 * Mention etcupdate for a way to update the etc set

Todo: XXX
 * Provide split sets - it's documented and supported by sysinst
   (or say how to create them?)
 * Fix mentions of "set_name.xx" for the AmigaDOS installation
 * x68k: fix to tell where to get "netbsd" from (how to run gzip.x on
   netbsd-INSTALL.gz on the x86k's native OS?)
 * Someone please either re-summon PS/2 "boot-ps2.fs" or remove the note on it
 * Tape install:
	.Dl # Ic "cd \*M/binary"
	.Dl # Ic "tar -cf" Ar tape_device Ic "misc etc kern"
   That doesn't work with today's set format (binary/sets/misc.tgz ...)
2004-08-20 20:35:22 +00:00
thorpej ce56a7e194 Also set the AT_XFDONE bit as appropriate. 2004-08-20 17:37:16 +00:00
thorpej 709a2d87fc Rename the ata_bustype "ata_reset_channel" member to "ata_reset_drive"
to reflect the new reality after Manuel added the bus reset ioctls.
2004-08-20 17:19:44 +00:00
yamt a92a80cf63 for offloc, use MII_OFFSET_ANY rather than abusing MII_PHY_ANY. 2004-08-20 15:21:24 +00:00
thorpej 26dfa7dd35 Comment out atabus; no ATA controllers or devices are configured in this
kernel.
2004-08-20 15:15:26 +00:00
kent 2edd85fb18 Check power states after codec reset. This change fixes a
resume problem on some boards.
Patch provided by Joachim Thiemann in PR kern/26457
2004-08-20 14:36:13 +00:00
wennmach 1b35cf3d9a o Split copyright into mycroft and UCB parts
o remove advertising clause from UCB part
2004-08-20 14:12:52 +00:00
christos 848a98512e PR/26725: Sergey S. Kostyliov: Typo in libedit, possible buffer overflow in src/lib/libedit/history.c:history_save() 2004-08-20 12:54:05 +00:00
mjl d2da97557b Fix typo 2004-08-20 11:23:47 +00:00
tron 06838f8d94 Complete removal of "liboverride" to fix build problems. 2004-08-20 11:01:03 +00:00
tron 139c8b8dfc Pass correct "mbuf" pointer to BPF framework. 2004-08-20 07:46:21 +00:00
thorpej 9cc521a148 Move most of wdc_softc into a new atac_softc structure that contains
info common to all types of ATA controllers.
2004-08-20 06:39:37 +00:00
simonb 2fe6a47d97 Add dependancies on assym.h for some assembly files so that
"make -j <bignum>" works without having to do a "make depend" first.
2004-08-20 05:34:47 +00:00
dogcow 96178d4078 insert a missing quotation mark. 2004-08-20 04:44:11 +00:00
enami 9e4955fd5e Fix compilation error introduced by prevoius commit. 2004-08-20 00:37:07 +00:00
thorpej 2926431abf Use ANSI function decls and "static". 2004-08-19 23:30:09 +00:00
thorpej 1600c8b8cd - Add and use a CHAN_TO_WDC() macro to get the wdc_softc from an
ata_channel.
- Add and use a CHAN_TO_WDC_REGS() macro to get the wdc_regs from an
  ata_channel.
- Add and use a CHAN_TO_PCIIDE() macro to get the pciide_softc from an
  ata_channel.
- Add and use a CHAN_TO_PCHAN() macro to get the pciide_channel from an
  ata_channel.  (This one just hides a cast, and is really just for
  consistency with the others.)
2004-08-19 23:25:35 +00:00
christos 5c08ec31c6 Remove special handling for rcmd.o; not needed. 2004-08-19 23:12:15 +00:00
christos 458810afd4 Typo... 2004-08-19 23:10:40 +00:00
christos 44a8d4af42 Rescue for _PATH_STDPATH 2004-08-19 23:07:01 +00:00
christos b635c5b04a Handle RESCUEDIR 2004-08-19 23:05:00 +00:00
christos 4ee0bfb762 Remove special case for RESCUEDIR 2004-08-19 23:02:51 +00:00
christos c7e7e2b5bf Remove special case 2004-08-19 23:02:27 +00:00
christos 79455d444d Handle RESCUEDIR 2004-08-19 23:00:22 +00:00
christos 287d684b47 Deal with RESCUE 2004-08-19 22:31:38 +00:00
christos ea369b9669 Deal with RESCUEDIR 2004-08-19 22:25:49 +00:00
christos 5eb3a1ebce Add -v VARSPEC, so that we can pass variable assignments to make(1) 2004-08-19 22:24:04 +00:00
christos 684fe4faed Remove RESCUEDIR hack; it will be done centrally. 2004-08-19 22:21:51 +00:00
christos 0f7d471853 Factor out the hand-crafting of mbufs from the interface files. Reviewed by
gimpy. XXX: I could have used bpf_mtap2 on some of the new functions, but I
chose not to, because I just wanted to do what amounts to a code move.
2004-08-19 20:58:23 +00:00
christos 396c380971 - ansify
- remove unnecessary casts
- change caddr_t to void *
- no functional change.
2004-08-19 18:33:24 +00:00
thorpej 65193a3b71 Protect against multiple inclusion. 2004-08-19 17:56:57 +00:00
chs 80c0e76172 implement pmap_pvo_reclaim(), which steals an existing non-wired pvo entry
for reuse, and use this in pmap_pvo_enter() when we can't allocate a new one.
2004-08-19 15:31:57 +00:00