History log of /src/sys/arch/macppc/dev/nvram.c |
Revision | | Date | Author | Comments |
1.20 |
| 25-Jul-2014 |
dholland | Add d_discard to all struct cdevsw instances I could find.
All have been set to "nodiscard"; some should get a real implementation.
|
1.19 |
| 16-Mar-2014 |
dholland | branches: 1.19.2; Change (mostly mechanically) every cdevsw/bdevsw I can find to use designated initializers.
I have not built every extant kernel so I have probably broken at least one build; however I've also found and fixed some wrong cdevsw/bdevsw entries so even if so I think we come out ahead.
|
1.18 |
| 27-Oct-2012 |
chs | branches: 1.18.2; split device_t/softc for all remaining drivers. replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
|
1.17 |
| 30-Jun-2011 |
matt | branches: 1.17.2; 1.17.12; Modify mapiodev to take a third argument indicating whether the space should be prefetchable (true) or not (false).
|
1.16 |
| 18-Jun-2011 |
matt | struct device * -> device_t struct cfdata * -> cfdata_t use device accessors, use device_private. some softc/device_t splits (macppc needs a bunch more) aprint*_dev used considerably more
|
1.15 |
| 14-Mar-2009 |
dsl | branches: 1.15.10; ANSIfy another 1261 function definitions. The only ones left in sys are beyond by sed script! (or in sys/dist or sys/external) Mostly they have function pointer parameters.
|
1.14 |
| 14-Mar-2009 |
dsl | Change about 4500 of the K&R function definitions to ANSI ones. There are still about 1600 left, but they have ',' or /* ... */ in the actual variable definitions - which my awk script doesn't handle. There are also many that need () -> (void). (The script does handle misordered arguments.)
|
1.13 |
| 14-Mar-2009 |
dsl | Remove all the __P() from sys (excluding sys/dist) Diff checked with grep and MK1 eyeball. i386 and amd64 GENERIC and sys still build.
|
1.12 |
| 13-Jun-2008 |
cegger | branches: 1.12.4; 1.12.10; use device_lookup_private to get softc
|
1.11 |
| 24-Jan-2007 |
hubertf | branches: 1.11.44; 1.11.46; 1.11.48; 1.11.50; 1.11.52; Remove duplicate #includes, patch contributed in private mail by Slava Semushin <slava.semushin@gmail.com>.
To verify that no nasty side effects of duplicate includes (or their removal) have an effect here, I've compiled an i386/ALL kernel with and without the patch, and the only difference in the resulting .o files was in shifted line numbers in some assert() calls. The comparison of the .o files was based on the output of "objdump -D".
Thanks to martin@ for the input on testing.
|
1.10 |
| 11-Dec-2005 |
christos | branches: 1.10.20; merge ktrace-lwp.
|
1.9 |
| 15-Jul-2003 |
lukem | branches: 1.9.16; __KERNEL_RCSID()
|
1.8 |
| 23-Oct-2002 |
jdolecek | branches: 1.8.6; 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.7 |
| 02-Oct-2002 |
thorpej | Use CFATTACH_DECL().
|
1.6 |
| 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
1.5 |
| 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.4 |
| 08-Jun-2001 |
matt | branches: 1.4.2; 1.4.4; 1.4.8; 1.4.16; Make macppc compile by default with -Wall -Wmissing-prototype in addition to its currently enabled warnings. For the lack of a better place, most global function prototype wound up in <machine/autoconf.h> unless there was a better place for them. ofb_* structs renamed to offb_* to avoid conflict with ofb_softc in <dev/ofw/openfirm.h>
|
1.3 |
| 26-Jun-2000 |
simonb | branches: 1.3.2; Change the kernel mmap interface so that the offset to map is an "off_t" and the return value is a "paddr_t" to allow mappings at offsets past 2^31 bytes. Somewhat inspired by FreeBSD, which only changed the offset to a "vm_offset_t".
Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
|
1.2 |
| 19-Nov-1998 |
mrg | branches: 1.2.10; 1.2.20; fix problems in many d_mmap routines: - returned EOPNOTSUPP rather than -1. - no check for negative offset. many of these fix potential security problems in these drivers.
XXX XXX XXX the d_mmap cdev routine should be changed to have a prototype like: paddr_t (*d_mmap) __P((dev_t, off_t, int));
by someone!
|
1.1 |
| 03-Jul-1998 |
tsubai | Add nvram device support.
|
1.2.20.1 |
| 30-Jun-2000 |
simonb | Pull up mmap paddr_t/off_t changes from trunk.
|
1.2.10.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.3.2.1 |
| 21-Jun-2001 |
nathanw | Catch up to -current.
|
1.4.16.1 |
| 17-May-2002 |
gehenna | Add device switch.
|
1.4.8.4 |
| 11-Nov-2002 |
nathanw | Catch up to -current
|
1.4.8.3 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.4.8.2 |
| 17-Sep-2002 |
nathanw | Catch up to -current.
|
1.4.8.1 |
| 08-Jun-2001 |
nathanw | file nvram.c was added on branch nathanw_sa on 2002-09-17 21:15:37 +0000
|
1.4.4.1 |
| 10-Oct-2001 |
fvdl | Convert all remaining devices.
|
1.4.2.1 |
| 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.8.6.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.8.6.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.8.6.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.9.16.1 |
| 26-Feb-2007 |
yamt | sync with head.
|
1.10.20.1 |
| 01-Feb-2007 |
ad | Sync with head.
|
1.11.52.1 |
| 18-Jun-2008 |
simonb | Sync with head.
|
1.11.50.1 |
| 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
1.11.48.1 |
| 04-May-2009 |
yamt | sync with head.
|
1.11.46.1 |
| 17-Jun-2008 |
yamt | sync with head.
|
1.11.44.1 |
| 29-Jun-2008 |
mjf | Sync with HEAD.
|
1.12.10.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.12.4.1 |
| 28-Apr-2009 |
skrll | Sync with HEAD.
|
1.15.10.1 |
| 23-Jun-2011 |
cherry | Catchup with rmind-uvmplock merge.
|
1.17.12.2 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.17.12.1 |
| 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
1.17.2.2 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.17.2.1 |
| 30-Oct-2012 |
yamt | sync with head
|
1.18.2.1 |
| 18-May-2014 |
rmind | sync with head
|
1.19.2.1 |
| 10-Aug-2014 |
tls | Rebase.
|