History log of /openbsd/sys/dev/pci/ahd_pci.c (Results 1 – 25 of 30)
Revision Date Author Comments
# 54fbbda3 01-Sep-2024 jsg <jsg@openbsd.org>

spelling; checked by jmc@, ok miod@ mglocker@ krw@


# 7cde551c 21-Oct-2022 kn <kn@openbsd.org>

constify global identity tables

ah{c,d}_find_pci_device() already return their members as const.

OK krw


# 8d2c75e4 11-Mar-2022 mpi <mpi@openbsd.org>

Constify struct cfattach.


# 4b1a56af 09-Jan-2022 jsg <jsg@openbsd.org>

spelling
feedback and ok tb@ jmc@ ok ratchov@


# 500422e9 24-Jul-2020 krw <krw@openbsd.org>

Turning on various scsi drivers' *DEBUG options reveals that this has
rarely (if ever) been done.

Fix many printf format errors to calm clang and gcc on amd64, i386,
hppa. Missing #include, complain

Turning on various scsi drivers' *DEBUG options reveals that this has
rarely (if ever) been done.

Fix many printf format errors to calm clang and gcc on amd64, i386,
hppa. Missing #include, complaints if 'option <blah>DEBUG' is used in
config files, etc. All in debug code.

show more ...


# f7863625 31-Jan-2019 millert <millert@openbsd.org>

Fix compilation of amd64 kernel when optimization is disabled.
C99 inline semantics resulted in undefined symbols.
OK deraadt@ mpi@ dlg@


# df2ac69f 12-Jul-2014 tedu <tedu@openbsd.org>

add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.


# 321017d9 18-Nov-2013 guenther <guenther@openbsd.org>

Factor out of {split,pci}_status_strings[] the printf formattings bits,
putting them in the actual printf() calls. Shuts up gcc -Wformat=2 and
reduces the space spent on string constants.

ok deraad

Factor out of {split,pci}_status_strings[] the printf formattings bits,
putting them in the actual printf() calls. Shuts up gcc -Wformat=2 and
reduces the space spent on string constants.

ok deraadt@

show more ...


# c06fda6d 30-May-2013 deraadt <deraadt@openbsd.org>

Enforce ca_activate tree-walks over the entire heirarchy for all events,
cleaning up some shutdown-hook related code on the way.
(A few drivers related to sparc are still skipped at kettenis' request

Enforce ca_activate tree-walks over the entire heirarchy for all events,
cleaning up some shutdown-hook related code on the way.
(A few drivers related to sparc are still skipped at kettenis' request)
ok kettenis mlarkin, tested by many others too

show more ...


# 4a39ccd0 05-Dec-2012 deraadt <deraadt@openbsd.org>

Remove excessive sys/cdefs.h inclusion
ok guenther millert kettenis


# f997b5bc 30-Sep-2012 brad <brad@openbsd.org>

Correct the addition of the 39320LPE controller. The actual product name
is 29320LPE since it is a single channel adapter. No functional change
other than priting the correct chipset in the dmesg.

P

Correct the addition of the 39320LPE controller. The actual product name
is 29320LPE since it is a single channel adapter. No functional change
other than priting the correct chipset in the dmesg.

Pointed out by henning petersen.

show more ...


# e570935b 28-Sep-2012 brad <brad@openbsd.org>

Add support for the Adaptec 39320LPE controller.

From FreeBSD

ok kettenis@


# 6985cdfa 31-May-2009 deraadt <deraadt@openbsd.org>

indent


# 2840759b 22-Oct-2007 fgsch <fgsch@openbsd.org>

Use pci_set_powerstate(), shrinking the code and unifying the different
versions. ok by many.


# 63b1d17d 20-Oct-2007 fgsch <fgsch@openbsd.org>

Remove unneeded scope declarations that shadows existing ones. krw@ ok


# e959411a 19-Oct-2006 tom <tom@openbsd.org>

s/Mhz/MHz/ in comments and printf() strings

ok jsg@


# 00c97723 11-Jul-2006 kettenis <kettenis@openbsd.org>

Do not fiddle with the io/mem space enable bits in the PCI command/status
register. This avoids accidentally resetting bits set by mapping BARs.

ok krw@


# 0cfecd71 18-May-2006 miod <miod@openbsd.org>

paramter -> parameter


# 798bf0b9 09-Aug-2005 mickey <mickey@openbsd.org>

do not set PCI_COMMAND_MASTER_ENABLE explicitly as it's already set in pcisubmatch(); kettenis@ testing; brad@ ok


# 4cc04bf0 19-Dec-2004 krw <krw@openbsd.org>

Reduce delta to FreeBSD by adding and using ahd_alloc() rather than
manually reproducing bits in ahd_pci.c.

Just as in ahc, avoid allocating and freeing zero length bits of
memory for platform data.

Reduce delta to FreeBSD by adding and using ahd_alloc() rather than
manually reproducing bits in ahd_pci.c.

Just as in ahc, avoid allocating and freeing zero length bits of
memory for platform data.

Don't try to free all or part of ahd_softc, but correctly free
allocated memory for seep_config if necessary.

Add a final few fields to ahd_softc and scb in preparation for
updating/fixing timeout handling.

No functional changes.

show more ...


# 9c1c1544 10-Dec-2004 krw <krw@openbsd.org>

Turn on the BUSFREEREV bug for the Rev. B controller. This is required
to close the 'busfree during non-packetized phase' hole.

From FreeBSD aic79xx_pci.c r1.20.


# f53131e3 18-Nov-2004 krw <krw@openbsd.org>

More NetBSD cruft removal/FreeBSD delta reduction. Whitespace, function and variable shuffle. No functional change.


# a4b17fcc 14-Nov-2004 krw <krw@openbsd.org>

KNF large chunks of tab-free code discovered while working on previous
commit. Whitespace, line break and declaration shuffling changes only.


# 5137e462 14-Nov-2004 krw <krw@openbsd.org>

More NetBSD cruft removal, starting with 'struct ahd_pci_busdata' and
the fallout from that. Ensure pcireg_t variables are being used with
pci_conf_read/write functions - found one uint16_t variable

More NetBSD cruft removal, starting with 'struct ahd_pci_busdata' and
the fallout from that. Ensure pcireg_t variables are being used with
pci_conf_read/write functions - found one uint16_t variable
(pcix_status) being used to store and restore (32 bit) pcireg_t
values.

Some KNF.

No functional changes.

show more ...


# 94934196 23-Aug-2004 marco <marco@openbsd.org>

Fix license. ok krw@, deraadt@ tedu@ & Milos Urbanek <urbanek at zoom-int.cz>


12