| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
|
| |
around && within ||' type warnings. I'm pretty sure I have not masked
any problems here, I've committed real problem fixes seperately.
Notes:
svn path=/head/; revision=46571
|
| |
|
|
|
|
|
| |
(Edited automatically)
Notes:
svn path=/head/; revision=46153
|
| |
|
|
|
|
|
|
|
|
| |
device drivers, not in ioconf.c. Use a different hack in isa_device.h
so that a new config(8) is not required yet.
pc98 parts approved by: kato
Notes:
svn path=/head/; revision=40565
|
| |
|
|
| |
Notes:
svn path=/head/; revision=37618
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There is only cdevsw (which should be renamed in a later edit to deventry
or something). cdevsw contains the union of what were in both bdevsw an
cdevsw entries. The bdevsw[] table stiff exists and is a second pointer
to the cdevsw entry of the device. it's major is in d_bmaj rather than
d_maj. some cleanup still to happen (e.g. dsopen now gets two pointers
to the same cdevsw struct instead of one to a bdevsw and one to a cdevsw).
rawread()/rawwrite() went away as part of this though it's not strictly
the same patch, just that it involves all the same lines in the drivers.
cdroms no longer have write() entries (they did have rawwrite (?)).
tapes no longer have support for bdev operations.
Reviewed by: Eivind Eklund and Mike Smith
Changes suggested by eivind.
Notes:
svn path=/head/; revision=37389
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
FreeBSD/alpha. The most significant item is to change the command
argument to ioctl functions from int to u_long. This change brings us
inline with various other BSD versions. Driver writers may like to
use (__FreeBSD_version == 300003) to detect this change.
The prototype FreeBSD/alpha machdep will follow in a couple of days
time.
Notes:
svn path=/head/; revision=36735
|
| |
|
|
|
|
|
|
|
|
|
| |
This introduce an xxxFS_BOOT for each of the rootable filesystems.
(Presently not required, but encouraged to allow a smooth move of option *FS
to opt_dontuse.h later.)
LFS is temporarily disabled, and will be re-enabled tomorrow.
Notes:
svn path=/head/; revision=32726
|
| |
|
|
| |
Notes:
svn path=/head/; revision=31493
|
| |
|
|
|
|
|
| |
Found by: -Wunused
Notes:
svn path=/head/; revision=31016
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
if_ie.c if_wl.c if_zp.c isa.c isa_device.h
labpc.c mcd.c ncr5380.c scd.c seagate.c si.c
sio.c tw.c ultra14f.c wcd.c wd.c:
Update for changes in the callout interface.
apic_vector.s icu_vector.s ipl.s ipl_funcs.c:
Add CAM software/hardware interrupt support.
Notes:
svn path=/head/; revision=29677
|
| |
|
|
| |
Notes:
svn path=/head/; revision=27555
|
| |
|
|
| |
Notes:
svn path=/head/; revision=26348
|
| |
|
|
| |
Notes:
svn path=/head/; revision=26346
|
| |
|
|
| |
Notes:
svn path=/head/; revision=25657
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
. It makes cd9660 root f/s working again.
. It makes CD9660 a new-style option.
. It adds support to mount an ISO9660 multi-session CD-ROM as the root
filesystem (the last session actually, but that's what is expected
behaviour).
Sigh. The CDIOREADTOCENTRYS did a copyout() of its own, and thus has
been unusable for me for this work. Too bad it didn't simply stuff
the max 100 entries into the struct ioc_read_toc_entry, but relied on
a user supplied data buffer instead. :-( I now had to reinvent the
wheel, and created a CDIOREADTOCENTRY ioctl command that can be used
in a kernel context.
While doing this, i noticed the following bogosities in existing CD-ROM
drivers:
wcd: This driver is likely to be totally bogus when someone tries
two succeeding CDIOREADTOCENTRYS (or now CDIOREADTOCENTRY)
commands with requesting MSF format, since it apparently
operates on an internal table.
scd: This driver apparently returns just a single TOC entry only for
the CDIOREADTOCENTRYS command.
I have only been able to test the CDIOREADTOCENTRY command with the
cd(4) driver. I hereby request the respective maintainers of the
other CD-ROM drivers to verify my code for their driver. When it
comes to merging this CD-ROM multisession stuff into RELENG_2_2 i will
only consider drivers where i've got a confirmation that it actually
works.
Notes:
svn path=/head/; revision=25460
|
| |
|
|
|
|
|
|
|
|
|
|
| |
type mismatches. mcd and scd were/are particularly bogus. They
used a general purpose function taking 2 args for the timeout
function and fudged varargs stuff to supply the second arg for the
timeout case. This broke `cc -mrtd'. Bounce through a timeout
function instead. The timeout arg still gets bogusly cast from
int to `void *' and back.
Notes:
svn path=/head/; revision=25056
|
| |
|
|
|
|
|
|
| |
it when it is not used. In most cases, the reasons for including it
went away when the special ioctl headers became self-sufficient.
Notes:
svn path=/head/; revision=24203
|
| |
|
|
|
|
|
|
| |
Fixed everything that depended on getting fcntl.h stuff from the wrong
place. Most things don't depend on file.h stuff at all.
Notes:
svn path=/head/; revision=24131
|
| |
|
|
|
|
|
| |
ready for it yet.
Notes:
svn path=/head/; revision=22975
|
| |
|
|
|
|
|
|
|
|
|
| |
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
Notes:
svn path=/head/; revision=21673
|
| |
|
|
| |
Notes:
svn path=/head/; revision=18084
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Saves about 280 butes of source per driver, 56 bytes in object size
and another 56 bytes moves from data to bss.
No functional change intended nor expected.
GENERIC should be about one k smaller now :-)
Notes:
svn path=/head/; revision=17264
|
| |
|
|
|
|
|
|
|
|
| |
is only used by the icu support modules and by a few drivers that know
too much about the icu (most only use it to convert `n' to `IRQn'). isa.h
is only used by ioconf.c and by a few drivers that know too much about
isa addresses (a few have to, because config is deficient).
Notes:
svn path=/head/; revision=16471
|
| |
|
|
|
|
|
| |
Reviewed by: bde
Notes:
svn path=/head/; revision=16322
|
| |
|
|
|
|
|
| |
permissions 0640 was 0600).
Notes:
svn path=/head/; revision=16210
|
| |
|
|
| |
Notes:
svn path=/head/; revision=15577
|
| |
|
|
| |
Notes:
svn path=/head/; revision=15574
|
| |
|
|
|
|
|
| |
being declared in the wrong place.
Notes:
svn path=/head/; revision=15116
|
| |
|
|
|
|
|
| |
Reviewed by: julian@freebsd.org
Notes:
svn path=/head/; revision=14873
|
| |
|
|
| |
Notes:
svn path=/head/; revision=14654
|
| |
|
|
|
|
|
| |
Remove unused part of close code
Notes:
svn path=/head/; revision=14286
|
| |
|
|
|
|
|
|
| |
even not CD sensed. Open of this device without CD sensed allowed too.
Other ioctls re-sense CD for this device.
Notes:
svn path=/head/; revision=14285
|
| |
|
|
| |
Notes:
svn path=/head/; revision=14074
|
| |
|
|
|
|
|
| |
Obtained from: NetBSD
Notes:
svn path=/head/; revision=13886
|
| |
|
|
|
|
|
| |
Use more accurate TOC size calculation
Notes:
svn path=/head/; revision=13874
|
| |
|
|
| |
Notes:
svn path=/head/; revision=13866
|
| |
|
|
| |
Notes:
svn path=/head/; revision=13864
|
| |
|
|
|
|
|
| |
Exchange control<->addr_type fields
Notes:
svn path=/head/; revision=13862
|
| |
|
|
|
|
|
| |
Obtained from: NetBSD (partially)
Notes:
svn path=/head/; revision=13833
|
| |
|
|
|
|
|
| |
Obtained from: NetBSD
Notes:
svn path=/head/; revision=13824
|
| |
|
|
| |
Notes:
svn path=/head/; revision=13822
|
| |
|
|
|
|
|
| |
Convert LBA to network order now
Notes:
svn path=/head/; revision=13770
|
| |
|
|
|
|
|
| |
stored in CD's TOC
Notes:
svn path=/head/; revision=13743
|
| |
|
|
|
|
|
| |
reduces automatically to reasonable value in the code below
Notes:
svn path=/head/; revision=13738
|
| |
|
|
|
|
|
| |
and my own ideas
Notes:
svn path=/head/; revision=13732
|
| |
|
|
| |
Notes:
svn path=/head/; revision=13598
|
| |
|
|
|
|
|
| |
implementations all over the place.
Notes:
svn path=/head/; revision=13438
|
| |
|
|
| |
Notes:
svn path=/head/; revision=12966
|
| |
|
|
| |
Notes:
svn path=/head/; revision=12960
|
| |
|
|
|
|
|
|
|
| |
device must be configured, so ENXIO is a bogus errno).
Replaced zerosize by nopsize. zerosize was a temporary alias.
Notes:
svn path=/head/; revision=12736
|