summaryrefslogtreecommitdiff
path: root/sys/dev/pci/pciide_svwsata_reg.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2006-02-10 21:45:42 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2006-02-10 21:45:42 +0000
commit09a2ff51b5828572f0e19cfdaa8b69cb6a6ff4c0 (patch)
treea775b627eedd69dcfd6da75044448513d7cf793c /sys/dev/pci/pciide_svwsata_reg.h
parentbd5c3bbd6c5540e95267d39fc4ec4baaed36b9c1 (diff)
Fix LBA48 access for ServerWorks SATA.
ok grange@
Diffstat (limited to 'sys/dev/pci/pciide_svwsata_reg.h')
-rw-r--r--sys/dev/pci/pciide_svwsata_reg.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/pciide_svwsata_reg.h b/sys/dev/pci/pciide_svwsata_reg.h
index dfa2f5d1f8c..86a7e24b2f8 100644
--- a/sys/dev/pci/pciide_svwsata_reg.h
+++ b/sys/dev/pci/pciide_svwsata_reg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pciide_svwsata_reg.h,v 1.3 2005/10/21 10:52:32 grange Exp $ */
+/* $OpenBSD: pciide_svwsata_reg.h,v 1.4 2006/02/10 21:45:41 kettenis Exp $ */
/*
* Copyright (c) 2005 Mark Kettenis
@@ -39,10 +39,12 @@ struct pciide_svwsata {
u_int8_t svwsata_read_reg(struct channel_softc *, enum wdc_regs);
void svwsata_write_reg(struct channel_softc *, enum wdc_regs, u_int8_t);
+void svwsata_lba48_write_reg(struct channel_softc *, enum wdc_regs, u_int16_t);
struct channel_softc_vtbl wdc_svwsata_vtbl = {
svwsata_read_reg,
svwsata_write_reg,
+ svwsata_lba48_write_reg,
wdc_default_read_raw_multi_2,
wdc_default_write_raw_multi_2,
wdc_default_read_raw_multi_4,