History log of /src/sys/arch/vax/mba/hp.c |
Revision | | Date | Author | Comments |
1.54 |
| 22-May-2017 |
ragge | Update copyright notice for Ludd (remove clause 3 & 4).
|
1.53 |
| 07-Jul-2016 |
msaitoh | KNF. Remove extra spaces. No functional change.
|
1.52 |
| 31-Dec-2014 |
christos | return error
|
1.51 |
| 31-Dec-2014 |
christos | make more drivers use disk_ioctl, and add a dev parameter to it so that we can merge the "easy" disklabel ioctls to it. Ultimately all this will go do dk_ioctl once all the drivers have been converted.
|
1.50 |
| 25-Jul-2014 |
dholland | branches: 1.50.4; Add d_discard to all struct cdevsw instances I could find.
All have been set to "nodiscard"; some should get a real implementation.
|
1.49 |
| 25-Jul-2014 |
dholland | Add d_discard to all struct bdevsw instances I could find.
I've set them all to nodiscard. Some of them (wd, dk, vnd, ld, raidframe, maybe cgd) should be implemented for real.
|
1.48 |
| 14-Dec-2010 |
matt | branches: 1.48.18; 1.48.32; Cleanup includes. Change <machine/XXX.h> to <sys/XXX.h> for bus, cpu, intr. Remove unneeded includes.
|
1.47 |
| 13-Jan-2009 |
yamt | branches: 1.47.6; g/c BUFQ_FOO() macros and use bufq_foo() directly.
|
1.46 |
| 11-Mar-2008 |
matt | branches: 1.46.4; 1.46.12; Rototill the vax code. Switch to devicet/PRIV_ALLOC. Cleanup vax autoconf code. Move to prototype definitions. staticfy, constify, avoid casting. Use device_* accessors.
|
1.45 |
| 17-Oct-2007 |
garbled | branches: 1.45.12; 1.45.16; Merge the ppcoea-renovation branch to HEAD.
This branch was a major cleanup and rototill of many of the various OEA cpu based PPC ports that focused on sharing as much code as possible between the various ports to eliminate near-identical copies of files in every tree. Additionally there is a new PIC system that unifies the interface to interrupt code for all different OEA ppc arches. The work for this branch was done by a variety of people, too long to list here.
TODO: bebox still needs work to complete the transition to -renovation. ofppc still needs a bunch of work, which I will be looking at. ev64260 still needs to be renovated amigappc was not attempted.
NOTES: pmppc was removed as an arch, and moved to a evbppc target.
|
1.44 |
| 08-Oct-2007 |
ad | Merge disk init changes from the vmlocking branch. These seperate init / destroy of 'struct disk' from attach / detach.
|
1.43 |
| 04-Mar-2007 |
christos | branches: 1.43.2; 1.43.10; 1.43.18; 1.43.20; 1.43.22; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.42 |
| 16-Apr-2006 |
he | branches: 1.42.14; Make this build again (replace indirection with field access).
|
1.41 |
| 14-Apr-2006 |
blymn | Make i/o statistics collection more generic, include tape drives and nfs mounts in the set of devices that statistics will be reported on.
|
1.40 |
| 28-Mar-2006 |
thorpej | Use device_unit().
|
1.39 |
| 11-Dec-2005 |
christos | branches: 1.39.4; 1.39.6; 1.39.8; 1.39.10; 1.39.12; merge ktrace-lwp.
|
1.38 |
| 15-Oct-2005 |
yamt | - change the way to specify a bufq strategy. (by string rather than by number) - rather than embedding bufq_state in driver softc, have a pointer to the former. - move bufq related functions from kern/subr_disk.c to kern/subr_bufq.c. - rename method to strategy for consistency. - move some definitions which don't need to be exposed to the rest of kernel from sys/bufq.h to sys/bufq_impl.h. (is it better to move it to kern/ or somewhere?) - fix some obvious breakage in dev/qbus/ts.c. (not tested)
|
1.37 |
| 28-Oct-2004 |
yamt | branches: 1.37.12; move buffer queue related stuffs from buf.h to their own header, bufq.h.
|
1.36 |
| 29-Dec-2003 |
pk | hpfinish: pass correct buffer to diskerr();
|
1.35 |
| 15-Jul-2003 |
lukem | __KERNEL_RCSID()
|
1.34 |
| 10-May-2003 |
thorpej | branches: 1.34.2; Change bounds_check_with_label() to take a pointer to the disk structure, rather than the label itself. This paves the way for some future changes.
|
1.33 |
| 02-May-2003 |
dsl | Change return type of readdisklabel() to const char * I hope I've found all the correct places!
|
1.32 |
| 16-Apr-2003 |
bouyer | Nake return values from bounds_check_with_label() conform to the man page: -1 for error, 0 for EOF, 1 otherwise. Inspired by an OpenBSD commit message, pointed out by Miod Vallat in private mail. vax/mba/hp.c: check return value <= 0, not < 0 to be concistent with how other places handle return values from bounds_check_with_label().
|
1.31 |
| 01-Nov-2002 |
mrg | implement separate read/write disk statistics: - disk_unbusy() gets a new parameter to tell the IO direction. - struct disk_sysctl gets 4 new members for read/write bytes/transfers. when processing hw.diskstats, add the read&write bytes/transfers for the old combined stats to attempt to keep backwards compatibility.
unfortunately, due to multiple bugs, this will cause new kernels and old vmstat/iostat/systat programs to fail. however, the next time this is change it will not fail again.
this is just the kernel portion.
|
1.30 |
| 23-Oct-2002 |
jdolecek | merge kqueue branch into -current
kqueue provides a stateful and efficient event notification framework currently supported events include socket, file, directory, fifo, pipe, tty and device changes, and monitoring of processes and signals
kqueue is supported by all writable filesystems in NetBSD tree (with exception of Coda) and all device drivers supporting poll(2)
based on work done by Jonathan Lemon for FreeBSD initial NetBSD port done by Luke Mewburn and Jason Thorpe
|
1.29 |
| 02-Oct-2002 |
thorpej | Add trailing ; to CFATTACH_DECL.
|
1.28 |
| 01-Oct-2002 |
thorpej | Use CFATTACH_DECL().
|
1.27 |
| 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
1.26 |
| 06-Sep-2002 |
gehenna | Merge the gehenna-devsw branch into the trunk.
This merge changes the device switch tables from static array to dynamically generated by config(8).
- All device switches is defined as a constant structure in device drivers.
- The new grammer ``device-major'' is introduced to ``files''.
device-major <prefix> char <num> [block <num>] [<rules>]
- All device major numbers must be listed up in port dependent majors.<arch> by using this grammer.
- Added the new naming convention. The name of the device switch must be <prefix>_[bc]devsw for auto-generation of device switch tables.
- The backward compatibility of loading block/character device switch by LKM framework is broken. This is necessary to convert from block/character device major to device name in runtime and vice versa.
- The restriction to assign device major by LKM is completely removed. We don't need to reserve LKM entries for dynamic loading of device switch.
- In compile time, device major numbers list is packed into the kernel and the LKM framework will refer it to assign device major number dynamically.
|
1.25 |
| 22-Jul-2002 |
hannken | Convert to new device buffer queue interface.
Approved by: Anders Magnusson <ragge@netbsd.org>
|
1.24 |
| 04-Jun-2000 |
ragge | branches: 1.24.4; 1.24.6; 1.24.10; 1.24.18; Remove home-grown interrupt vector handler. Bus_space'ify; needed to get RH11 working. Still much more to do, though.
|
1.23 |
| 23-May-2000 |
matt | branches: 1.23.2; boot detection moved autoconf.c; remove it from here.
|
1.22 |
| 12-Feb-2000 |
ragge | Nuke unused variable.
|
1.21 |
| 07-Feb-2000 |
thorpej | Fix a bug in disksort_*() which caused non-optimal ordering when multiple active partitions were on a single spindle. Add a b_rawblkno member to struct buf which contains the non-partition-relative block number to sort by.
|
1.20 |
| 21-Jan-2000 |
thorpej | Update for sys/buf.h/disksort_*() changes.
|
1.19 |
| 14-Aug-1999 |
ragge | branches: 1.19.2; 1.19.8; Erroneous checking of return value from bounds_check_with_label(). Massbus disks should work now.
|
1.18 |
| 24-Jan-1998 |
ragge | Remove __BROKEN_INDIRECT_CONFIG and change all drivers to use config_search instead.
|
1.17 |
| 12-Jan-1998 |
thorpej | Update for changes to config.
|
1.16 |
| 17-Jul-1997 |
jtk | use locator defines in "locators.h" to index cf_loc[]
|
1.15 |
| 24-Jun-1997 |
thorpej | foosize()'s return value is in DEV_BSIZE units; adjust the size obtained from the disklabel accordingly.
|
1.14 |
| 15-Mar-1997 |
ragge | Change the way boot device is figured out; now only using DEC numbers and done when the device get attached.
|
1.13 |
| 31-Jan-1997 |
thorpej | Pass a struct device ** down to the functions that find the boot device.
|
1.12 |
| 13-Oct-1996 |
christos | branches: 1.12.2; backout previous kprintf change
|
1.11 |
| 11-Oct-1996 |
christos | printf -> kprintf, sprintf -> ksprintf
|
1.10 |
| 11-Jul-1996 |
ragge | Automatic changing of root device after boot now works.
|
1.9 |
| 19-May-1996 |
ragge | Fixed all (proto)type errors. Fixes PR 2377.
|
1.8 |
| 08-Apr-1996 |
ragge | Added prototypes to everything. Made all files compile with -Wall.
|
1.7 |
| 17-Mar-1996 |
ragge | Convert all devices according to the changes to config.
|
1.6 |
| 24-Feb-1996 |
ragge | Add routine to convert phys device number to kernel unit number. Allow to set disklabel area writable.
|
1.5 |
| 23-Feb-1996 |
ragge | Allow rewriting of disk label after newfs.
|
1.4 |
| 11-Feb-1996 |
ragge | Device drivers for massbus adapters and massbus disks. Works with RP04/05/06/07 disks.
|
1.3 |
| 02-Feb-1996 |
mycroft | Fix #includes.
|
1.2 |
| 02-Feb-1996 |
mycroft | Fix #includes.
|
1.1 |
| 13-Feb-1995 |
ragge | Beginning ov Massbuss support.
|
1.12.2.1 |
| 14-Jan-1997 |
thorpej | Snapshot of work-in-progress, committed to private branch.
These changes implement machine-independent root device and file system selection. Notable features:
- All ports behave in a consistent manner regarding root device selection. - No more "options GENERIC"; all kernels have the ability to boot with RB_ASKNAME to select root device and file system type. - Root file system type can be wildcarded; a machine-independent function will try all possible file systems for the selected root device until one succeeds. - If the root file system fails to mount, the operator will be given the chance to select a new root device and file system type, rather than having the machine simply panic. - nfs_mountroot() no longer panics if any part of the NFS mount process fails; it now returns an error, giving the operator a chance to recover. - New, more consistent, config(8) grammar. The constructs:
config netbsd swap generic config netbsd root on nfs
have been replaced with:
config netbsd root on ? type ? config netbsd root on ? type nfs
Additionally, the operator may select or wildcard root file system type in the kernel configuration file:
config netbsd root on cd0a type cd9660
config(8) now requires that a "root" specification be made. "root" may be wired down or wildcarded. "swap" and "dump" specifications are optional, and follow previous semantics.
- config(8) has a new "file-system" keyword, used to configure file systems into the kernel. Eventually, this will be used to generate the default vfssw[].
- "options NFSCLIENT" is obsolete, and is replaced by "file-system NFS". "options NFSSERVER" still exists, since NFS server support is independent of the NFS file system client.
- sys/arch/<foo>/<foo>/swapgeneric.c is no longer used, and will be removed; all information is now generated by config(8).
As of this commit, all ports except arm32 have been updated to use the new setroot(). Only SPARC, i386, and Alpha ports have been tested at this time. Port masters should test these changes on their ports, and report any problems back to me.
More changes are on their way, including RB_ASKNAME support in nfs_mountroot() (to prompt for server address and path) and, potentially, the ability to select rarp/bootparam or bootp in nfs_mountroot().
|
1.19.8.1 |
| 21-Dec-1999 |
wrstuden | Initial commit of recent changes to make DEV_BSIZE go away.
Runs on i386, needs work on other arch's. Main kernel routines should be fine, but a number of the stand programs need help.
cd, fd, ccd, wd, and sd have been updated. sd has been tested with non-512 byte block devices. vnd, raidframe, and lfs need work.
Non 2**n block support is automatic for LKM's and conditional for kernels on "options NON_PO2_BLOCKS".
|
1.19.2.1 |
| 20-Nov-2000 |
bouyer | Update thorpej_scsipi to -current as of a month ago A i386 GENERIC kernel compiles without the siop, ahc and bha drivers (will be updated later). i386 IDE/ATAPI and ncr work, as well as sparc/esp_sbus. alpha should work as well (untested yet). siop, ahc and bha will be updated once I've updated the branch to current -current, as well as machine-dependant code.
|
1.23.2.1 |
| 22-Jun-2000 |
minoura | Sync w/ netbsd-1-5-base.
|
1.24.18.2 |
| 31-Aug-2002 |
gehenna | catch up with -current.
|
1.24.18.1 |
| 17-May-2002 |
gehenna | Add device switch.
|
1.24.10.4 |
| 11-Nov-2002 |
nathanw | Catch up to -current
|
1.24.10.3 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.24.10.2 |
| 17-Sep-2002 |
nathanw | Catch up to -current.
|
1.24.10.1 |
| 01-Aug-2002 |
nathanw | Catch up to -current.
|
1.24.6.2 |
| 10-Oct-2002 |
jdolecek | sync kqueue with -current; this includes merge of gehenna-devsw branch, merge of i386 MP branch, and part of autoconf rototil work
|
1.24.6.1 |
| 06-Sep-2002 |
jdolecek | sync kqueue branch with HEAD
|
1.24.4.1 |
| 10-Oct-2001 |
fvdl | Convert all remaining devices.
|
1.34.2.6 |
| 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
1.34.2.5 |
| 02-Nov-2004 |
skrll | Sync with HEAD.
|
1.34.2.4 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.34.2.3 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.34.2.2 |
| 12-Aug-2004 |
skrll | Adapt to new world order.
Vax GENERIC compiles.
|
1.34.2.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.37.12.4 |
| 17-Mar-2008 |
yamt | sync with head.
|
1.37.12.3 |
| 27-Oct-2007 |
yamt | sync with head.
|
1.37.12.2 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.37.12.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.39.12.2 |
| 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
1.39.12.1 |
| 31-Mar-2006 |
tron | Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
|
1.39.10.1 |
| 19-Apr-2006 |
elad | sync with head - hopefully this will work
|
1.39.8.2 |
| 24-May-2006 |
yamt | sync with head.
|
1.39.8.1 |
| 01-Apr-2006 |
yamt | sync with head.
|
1.39.6.1 |
| 22-Apr-2006 |
simonb | Sync with head.
|
1.39.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.42.14.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.43.22.1 |
| 14-Oct-2007 |
yamt | sync with head.
|
1.43.20.2 |
| 23-Mar-2008 |
matt | sync with HEAD
|
1.43.20.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.43.18.1 |
| 26-Oct-2007 |
joerg | Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup code to restore CR4 before jumping back into kernel space as the large page option might cover that.
|
1.43.10.1 |
| 16-Oct-2007 |
garbled | Sync with HEAD
|
1.43.2.1 |
| 20-Aug-2007 |
ad | - Alter disk attach/detach to fix a panic when closing a vnd device. - Sync with HEAD.
|
1.45.16.2 |
| 17-Jan-2009 |
mjf | Sync with HEAD.
|
1.45.16.1 |
| 03-Apr-2008 |
mjf | Sync with HEAD.
|
1.45.12.1 |
| 24-Mar-2008 |
keiichi | sync with head.
|
1.46.12.1 |
| 19-Jan-2009 |
skrll | Sync with HEAD.
|
1.46.4.1 |
| 04-May-2009 |
yamt | sync with head.
|
1.47.6.1 |
| 05-Mar-2011 |
rmind | sync with head
|
1.48.32.1 |
| 10-Aug-2014 |
tls | Rebase.
|
1.48.18.3 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.48.18.2 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.48.18.1 |
| 02-Dec-2012 |
tls | Don't pass NULL struct dkdriver to disk_init. That's seriously bogus.
|
1.50.4.3 |
| 28-Aug-2017 |
skrll | Sync with HEAD
|
1.50.4.2 |
| 09-Jul-2016 |
skrll | Sync with HEAD
|
1.50.4.1 |
| 06-Apr-2015 |
skrll | Sync with HEAD
|